[Disclaimer: I am new to the list so I don't know if this has been
addressed before or not, but I couldn't find the problem listed in the
archives.]

I have a MS Natural KB Pro and a MS Intellimouse Explorer (the one with
the red light underneath).  Periodically (usually every 2 days,
sometimes more/less), my keyboard and mouse both simultaneously stop
working.  The red light goes out on the mouse, and Caps Lock doesn't
toggle the light on the keyboard.  The keyboard and mouse are both
plugged into their own separate USB sockets in my machine.

I am running RH7.3 with kernel 2.4.18 on an Asus A7M-266 / Athlon 1.4GHz
system.  I experienced the same problem with RH7.2 on the same machine,
so it is not just the kernel version I am using.  I have tried using
other USB sockets, without effect.

Here is some output from /var/log/messages from when the problem
occurred:

----------
Jun 22 14:09:23 lukeh kernel: usb.c: USB disconnect on device 2
Jun 22 14:09:23 lukeh kernel: hub.c: USB new device connect on bus2/1,
  assigned device number 5
Jun 22 14:09:27 lukeh kernel: usb_control/bulk_msg: timeout
Jun 22 14:09:27 lukeh kernel: usb.c: USB device not accepting new
  address=5 (error=-110)
Jun 22 14:09:28 lukeh kernel: hub.c: USB new device connect on bus2/1,
  assigned device number 6
Jun 22 14:09:32 lukeh kernel: usb_control/bulk_msg: timeout
Jun 22 14:09:32 lukeh kernel: usb.c: USB device not accepting new
  address=6 (error=-110)
----------

The way to fix the problem is to simply log in remotely and do:

  rmmod usb-uhci && insmod usb-uhci

which gives the following:

----------
Jun 21 20:04:25 lukeh kernel: usb-uhci.c: $Revision: 1.275 $ time
  15:54:37 Jun 10 2002
Jun 21 20:04:25 lukeh kernel: usb-uhci.c: High bandwidth mode enabled
Jun 21 20:04:25 lukeh kernel: PCI: Found IRQ 5 for device 00:04.2
Jun 21 20:04:25 lukeh kernel: PCI: Sharing IRQ 5 with 00:04.3
Jun 21 20:04:25 lukeh kernel: PCI: Sharing IRQ 5 with 00:09.0
Jun 21 20:04:25 lukeh kernel: usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5
Jun 21 20:04:25 lukeh kernel: usb-uhci.c: Detected 2 ports
Jun 21 20:04:25 lukeh kernel: usb.c: new USB bus registered, assigned
  bus number 1
Jun 21 20:04:25 lukeh kernel: hub.c: USB hub found
Jun 21 20:04:25 lukeh kernel: hub.c: 2 ports detected
Jun 21 20:04:25 lukeh kernel: PCI: Found IRQ 5 for device 00:04.3
Jun 21 20:04:25 lukeh kernel: PCI: Sharing IRQ 5 with 00:04.2
Jun 21 20:04:25 lukeh kernel: PCI: Sharing IRQ 5 with 00:09.0
Jun 21 20:04:25 lukeh kernel: usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 5
Jun 21 20:04:25 lukeh kernel: usb-uhci.c: Detected 2 ports
Jun 21 20:04:25 lukeh kernel: usb.c: new USB bus registered, assigned
  bus number 2
Jun 21 20:04:25 lukeh kernel: hub.c: USB hub found
Jun 21 20:04:25 lukeh kernel: hub.c: 2 ports detected
Jun 21 20:04:25 lukeh kernel: usb-uhci.c: v1.275:USB Universal Host
  Controller Interface driver
Jun 21 20:04:26 lukeh kernel: hub.c: USB new device connect on bus1/1,
  assigned device number 2
Jun 21 20:04:26 lukeh kernel: printer.c: Disabling reads from problem
  bidirectional printer on usblp0
Jun 21 20:04:26 lukeh kernel: printer.c: usblp0: USB Unidirectional
  printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0604
Jun 21 20:04:26 lukeh kernel: hub.c: USB new device connect on bus2/1,
  assigned device number 2
----------

It tends to occur more frequently during or after periods of heavy
processor/HDD activity.  The problem has been happening for a long time,
and is very frustrating.  The problem happens very quickly if I plug the
mouse into the USB hub on the keyboard, but then again, I have had many,
many problems running devices out of those MS Nat KB Pro hubs, in both
Windows and Linux, so I think that the MS hub hardware/firmware is very
flaky.

The only reference to the problem having been experienced by anyone else
that I can find using Google is on the following page:

  http://www.linuxgazette.com/issue76/tag/4.html

(I can understand it having been experienced by other people who have
just thought they had an X/kernel crash, since unless something is
happening on your screen, everything seems to indicate a hard lockup;
however the remote rmmod/insmod trick fixes the problem every time.)

What other diagnostics can I run to find the source of the problem?  I
am tempted to buy a USB->PS/2 adapter for both the mouse and the
keyboard, but I would like to get this fixed so that other people don't
have the same problem.

Thanks,
Luke Hutchison.

P.S. A separate question: What would be causing the message "Disabling
reads from problem bidirectional printer on usblp0" in the second of the
two log sections above?  I have an HPDJ-842C.  Is it likely to be a
related USB problem, or is it a problem with the printer's USB support,
or is it an indication that bidirectional USB printer support in Linux
is not fully implemented?  I can print fine -- what do I lose by not
getting bidi support when communicating with my printer?  I'm not aware
of any way in which the Linux printing system uses the feedback from the
printer the way that Windows does.




-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to