You are not logged in.
Hi. Ever since switching to Arch, I've been having this problem where USB mice and sometimes other USB hardware does not work the first time they are plugged in. It was negligible at first, but now having to plug things in three to seven times is getting to be a severe nuisance. It occurs both in X server 1.5 and 1.6, regardless of whether I'm using hal-based input or xorg.conf-based input. It's not a problem with one specific mouse, as I've tried two of them; they both do the same thing. I did not have this problem when I was using Ubuntu 8.10.
This appears in my dmesg. This time I had to plug it in about five times.
usb 2-1: new low speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: USB disconnect, address 2
usb 2-1: new low speed USB device using ohci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: USB disconnect, address 3
usb 2-1: new low speed USB device using ohci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: USB disconnect, address 4
usb 2-1: new low speed USB device using ohci_hcd and address 5
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: USB disconnect, address 5
usb 2-1: new low speed USB device using ohci_hcd and address 6
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: Microsoft Microsoft Wireless Optical Mouse 1.0A as /devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input10
generic-usb 0003:045E:008C.0001: input,hidraw0: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Mouse 1.0A] on usb-0000:00:13.0-1/input0
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
If any other logs are required, I'll put them up. Any and all help in fixing this problem is greatly appreciated. Thanks in advance.
Last edited by TiZ (2009-04-28 23:40:29)
Offline
Was that you plugging in the same mouse over and over, and finally on the 6th try it recognized it as a mouse?
Offline
Yeah, plugging in the same mouse over and over.
Offline
Well you know its detecting it i don't see much of a reason why it wouldn't work.
Offline
what i would try:
0. switch ohchi-hcd with uchci-hcd or ehci-hcd. you will have to disable it trough MODULES line in rc.conf !ohci-hcb !ehci-hcb for example. or you could just rmmod xhci-hcb and then modprobe xhci-hcb and try to plugin your usb mouse, i'm not sure this will work though. ymmv.
1. bad usb socket, try plugging it in another usb socket.
2. upgrade your kernel and use the standard arch kernel.
3. the standard arch kernel happens to be a bit patched (1.2 mb in patches some dude on the forum said although i'm not confirming that) so cd into the kernels abs folder and remove the patches that seems suspicious to you.
Last edited by test1000 (2009-04-23 16:39:30)
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
I seem to have fixed the issue by adding usbcore, usbhid, ehci_hcd, and ohci_hcd to my MODULES array in rc.conf.
I'll come back if it starts to fail again.
Thanks for the help.
Offline
I was still having this problem, with USB storage devices. iPod with Rockbox's disk mode and Apple's disk mode, a SanDisk Sansa e200, and a friend's flash drive (I felt _so good_ about my OS when she was trying to use my lappy for her work and it failed to mount...). I was getting stuff in dmesg similar to what I posted above. I tried several other fixes first, but adding usb-storage to my MODULES array seems to have fixed it.
This worries me.
usbhid and usb-storage covers most of the devices that will ever be plugged into USB. But what about other devices? If I had to guess what was going on, I'd guess that the needed modules for these devices aren't being loaded when they need to be. And then the system randomly decided to load them for some reason after the umpteenth time plugging it in.
I'd like to fix _that_ issue. What would you recommend trying? Would any of test1000's suggestions be relevant to this?
Last edited by TiZ (2009-05-02 22:17:53)
Offline
I'm not sure i understand what you say. However, do you have MOD_AUTOLOAD="yes" in rc.conf?
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
Yes, I do.
Offline
Then i think you should post a bugreport if i understand you correctly and kernel modules doesn't get loaded automatically when you input a device. The only other possibility that i can think of is that HAL isn't loaded.
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline