linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB mouse driver depends on module loading sequence to function properly ?
@ 2003-11-14  2:14 gary ng
  0 siblings, 0 replies; only message in thread
From: gary ng @ 2003-11-14  2:14 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have a small USB to PS/2 converting device which has
one USB male to plug to the computer and the other end
has two PS/2 connector, one for keyboard, one for
mouse.

While it is recognized correctly by linux and all the
proper drivers loaded, the mouse just doesn't work but
the keyboard function normally(both plug to this
device). I use hotplug package to manage to
loading/unloading stuff.

After some digging, I found that in order for the
mouse to be properly initiated(and it would work), I
have to do the module loading in the following
sequence :

modprobe usbcore
modprobe hid
modprobe usb-uhci

but by default, I do it as(well, hotplug does) :

modprobe usbcore
modprobe usb-uhci

What is even stranger is that if I just plug an USB
mouse in the system, the later sequence works.

So it seems that for this particular device(which has
two USB HID devices on the same bus), the loading
sequence of hid(must be before everything else) is
important in order for the mouse port to work but for
simple USB mouse, it doesn't matter.

I am not sure if this should be classified as a bug
and if it should be reported here. My current work
around is to just load hid right after usbcore.

I am using 2.4.21 vanilla kernel. Please let me know
if there is other information needed or if I should
report to a different devloper group(say hotplug).

regards,

gary

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-14  2:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-14  2:14 USB mouse driver depends on module loading sequence to function properly ? gary ng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).