From: gary ng <garyng2000@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: USB mouse driver depends on module loading sequence to function properly ?
Date: Thu, 13 Nov 2003 18:14:30 -0800 (PST) [thread overview]
Message-ID: <20031114021430.12641.qmail@web11503.mail.yahoo.com> (raw)
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
reply other threads:[~2003-11-14 2:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031114021430.12641.qmail@web11503.mail.yahoo.com \
--to=garyng2000@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®