2003-05-12 20:41:00

by Bryan O'Sullivan

[permalink] [raw]
Subject: USB mouse freezes under X, 2.5.69-mm3

I occasionally see my USB mouse freeze up under X11 on a Red Hat 9
system running 2.5.69-mm3. It completely stops responding to events
until I either switch virtual terminals or restart X, then magically
comes back to life.

There are no entries in /var/log/messages to indicate what might be
going on, so I'm quite mystified.

This is on a system with USB compiled in modular form, though I notice
that, weirdly enough, the refcounts on everything USB-related except
usbcore are zero (i.e. hid, uhci_hcd, ehci_hcd), even though I'm using
the USB mouse right now.

<b


2003-05-12 20:48:23

by Greg KH

[permalink] [raw]
Subject: Re: USB mouse freezes under X, 2.5.69-mm3

On Mon, May 12, 2003 at 01:53:39PM -0700, Bryan O'Sullivan wrote:
> I occasionally see my USB mouse freeze up under X11 on a Red Hat 9
> system running 2.5.69-mm3. It completely stops responding to events
> until I either switch virtual terminals or restart X, then magically
> comes back to life.

Does this also happem on a non-mm kernel?

> There are no entries in /var/log/messages to indicate what might be
> going on, so I'm quite mystified.
>
> This is on a system with USB compiled in modular form, though I notice
> that, weirdly enough, the refcounts on everything USB-related except
> usbcore are zero (i.e. hid, uhci_hcd, ehci_hcd), even though I'm using
> the USB mouse right now.

The hid driver never increments its user count, even when being used.
Same goes for the USB host controller drivers, so this is not a problem.

thanks,

greg k-h

2003-05-12 20:55:58

by Bryan O'Sullivan

[permalink] [raw]
Subject: Re: USB mouse freezes under X, 2.5.69-mm3

On Mon, 2003-05-12 at 14:02, Greg KH wrote:

> Does this also happem on a non-mm kernel?

I'll see. It's not easy to reproduce, though it has happened to me
twice today.

> The hid driver never increments its user count, even when being used.
> Same goes for the USB host controller drivers, so this is not a problem.

OK, thanks.

<b