Bugzilla – Bug 105998
after usb mouse/keybouard disconnect cannot use them
Last modified: 2006-01-11 10:47:39 UTC
I use usb mouse and keyboard, which worked in suse 9.3, but now after their disconnect, I cannot use them again. The system doesn't see them (in lsusb). /etc/sysconfig/hotplug is the same as in 9.3 In /var/log/message: Aug 20 12:25:25 zeratul kernel: uhci_hcd 0000:00:1d.1: remove, state 1 Aug 20 12:25:25 zeratul kernel: usb usb2: USB disconnect, address 1 Aug 20 12:25:25 zeratul kernel: uhci_hcd 0000:00:1d.1: USB bus 2 deregistered Aug 20 12:25:25 zeratul kernel: ACPI: PCI interrupt for device 0000:00:1d.1 disabled Aug 20 12:25:25 zeratul kernel: uhci_hcd 0000:00:1d.0: remove, state 1 Aug 20 12:25:25 zeratul kernel: usb usb1: USB disconnect, address 1 Aug 20 12:25:25 zeratul kernel: uhci_hcd 0000:00:1d.0: USB bus 1 deregistered Aug 20 12:25:25 zeratul kernel: ACPI: PCI interrupt for device 0000:00:1d.0 disabled Aug 20 12:25:25 zeratul kernel: input.c: calling hotplug without a hotplug agent defined output of lspci | grep USB 0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) 0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) 0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) 0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
Vojtech, any clue?
It seems like the connect events are not being detected, which is surprising. Are there any messages in the kernel log when the devices are plugged in?
dmesg output: usb 1-1: USB disconnect, address 2 input.c: calling hotplug without a hotplug agent defined (no more messages after plugging in) After a suspend to disk /resume it works, but on the running system it doesn't.
The messages above show that not just the USB devices were removed, but also USB modules for the host controller were removed from the kernel. Can you verify that is what happens? In that case some hotplug script is the culprit - if an USB host controller module isn't present, it can't detect a new USB device being plugged in, obviously. To check if USB HCD modules are loaded, use lsmod | grep hcd
~ # lsmod | grep hcd uhci_hcd 32016 0 usbcore 112640 4 uhci_hcd,usbserial,usbhid The same before and after unplugging my mouse. But when the mouse is not plugged in, I still can use my usb keyboard. Other: Now both of them is unplugged, lsusb has a problem ~ # lsusb Duplicate product spec at line 2453 product 0846:4240 WG111 WiFi Bus 003 Device 001: ID 0000:0000 part of /var/share/usb.ids with that line (the last but one): 0846 NetGear, Inc. 1001 EA101 Ethernet [klsi] 4110 MA111 WiFi (v1) 4200 WG121 WiFi (v1) 4210 WG121 WiFi (v2) 4220 WG111 WiFi (v1) 4240 WG111 WiFi (v2) 4230 MA111 WiFi 4240 WG111 WiFi 6a00 WG111 WiFi (v2)
Yes, I know about the usb.ids bug. It's not relevant to your problem. You can just remove the offending line(s) in the usb.ids file.
Do I understand you correctly that the issue doesn't manifest itself until you remove both the keyboard and mouse, or is unplugging & re-plugging the mouse while keeping the keyboard plugged enough to make the mouse stop working?
If either mouse or keyboard is unplugged, I cannot use them again. It doesn't depend on the state of the other device. It can be plugged or unplugged, the issue is the same.
In beta3 it works.
I'm using 10.0 GM and I can boot with my mouse plugged in, but once removed it no longer works. Dmesg gives this output: hub 2-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? This is repeated over and over until the device is removed. Like I stated though, the mouse works perfectly if entered at boot-time.
Ok, if it works in beta3, I think we can close this. Christopher, your problem seems different, please open a new bug for this if needed.