You are not logged in.

#1 2009-04-19 23:15:13

TiZ
Member
Registered: 2009-02-27
Posts: 58

USB device failure (was: USB mouse failure)

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. smile

Last edited by TiZ (2009-04-28 23:40:29)

Offline

#2 2009-04-19 23:59:40

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: USB device failure (was: USB mouse failure)

Was that you plugging in the same mouse over and over, and finally on the 6th try it recognized it as a mouse?

Offline

#3 2009-04-20 20:07:42

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: USB device failure (was: USB mouse failure)

Yeah, plugging in the same mouse over and over.

Offline

#4 2009-04-22 15:45:00

JK3mp
Member
Registered: 2009-03-25
Posts: 105

Re: USB device failure (was: USB mouse failure)

Well you know its detecting it i don't see much of a reason why it wouldn't work.

Offline

#5 2009-04-23 16:38:45

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: USB device failure (was: USB mouse failure)

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

#6 2009-04-25 21:19:37

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: USB device failure (was: USB mouse failure)

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. smile

Offline

#7 2009-05-02 22:16:45

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: USB device failure (was: USB mouse failure)

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

#8 2009-05-03 21:27:36

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: USB device failure (was: USB mouse failure)

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

#9 2009-05-03 21:35:26

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: USB device failure (was: USB mouse failure)

Yes, I do.

Offline

#10 2009-05-04 13:53:06

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: USB device failure (was: USB mouse failure)

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

Board footer

Powered by FluxBB