Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB mouse randomly dies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
redgsturbo
Apprentice
Apprentice


Joined: 24 Jun 2005
Posts: 283

PostPosted: Thu Feb 12, 2009 10:53 pm    Post subject: USB mouse randomly dies Reply with quote

Strangely, to fix it I simply
Code:
modprobe -r uhci_hcd && modprobe uhci_hcd


The odd thing is I see the same behaviour in windows which makes me think hardware, but the simple module reload makes me second guess that. Any thoughts?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Feb 12, 2009 11:28 pm    Post subject: Reply with quote

not enough energy?
USB2 controllers can provide upto 200mA energy to device
but controllers run multi-usb ports that will share these 200mA.

So if you plug a mouse that eat 200mA in an usb port and anything that need energy on the other port of that controller, then one of the device will not have enought energy and will not work.

After that you can guess, simply plug in that mouse will draw the power for itself and after sometimes if "by magic" the other device need to wakeup, the mouse "still by magic" will get off because some power just gone to the other device leaving the mouse bellow its 200mA...

But that's theory, you must have a mouse that eat 200mA, witch seems impossible.
Who the fuck could eat 200mA just to make a mouse work ?

Oh wait, what the :(

Code:
Bus 005 Device 001: ID 1d6b:0001 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b
  idProduct          0x0001
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.27-gentoo-r3 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.0
  bNumConfigurations      1
  Configuration Descriptor:

Bus 005 Device 006: ID 1532:0009 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x1532
  idProduct          0x0009
  bcdDevice           21.00
  iManufacturer           1 Tempest
  iProduct                2 Habu Mouse
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              200mA


must be the light blue color that need all that power, or perhaps just a crappy mouse, that could also explain why it's my 3rd mouse in 6 months (my vendor start hate me) :(

That might not be your case, so might not help you, but at least, i feel better complaining at it...
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Feb 13, 2009 6:44 am    Post subject: Reply with quote

So, if you compile your USB support into the kernel instead of as a module, does the mouse act up?

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum