Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467 - USB mouse doesn't work
Summary: USB mouse doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Highest blocker (vote)
Assignee: Michael Cohen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-31 17:07 UTC by Per Wigren
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Wigren 2002-01-31 17:07:00 UTC
I get this very strange error using the latest 2.4.17-r3 kernel...I can only move the mousepointer up and down. When I click a button it moves slightly to the left. This happens both with XFree86 and GPM so it has to be a kernelbug.. I use "modprobe usbmouse" and /dev/input/mouse0 as device.. The same thing happens if I use mousedev and /dev/input/mice instead... I have a Logitech Cordless Mouseman Optical USB-mouse. I have a dual Athlon/Tiger MP system and a up-to-the-minute fresh install of Gentoo Linux 1.0rc6 r14.
Comment 1 Yannick Koehler (RETIRED) gentoo-dev 2002-02-01 13:43:18 UTC
Can you dump me the .config.  My USB Mouse doesn't even work at all.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-02-09 22:19:15 UTC
Um, does a stock 2.4.17 kernel work in this regard?
Comment 3 Per Wigren 2002-02-09 23:56:12 UTC
I don't know, but a Mandrake-2.4.15-kernel works anyway...
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-02-13 02:23:27 UTC
If you could test a stock 2.4.17 kernel, that would be helpful.
Comment 5 Daniel Robbins (RETIRED) gentoo-dev 2002-02-13 22:50:07 UTC
Be on the lookout for linux-sources-2.4.17-r4.  This kernel no longer has the
irqrate which was causing a problem with floppy reads.  It could have been
causing this problem as well.  -r4 will be on CVS within the hour.
Comment 6 Daniel Robbins (RETIRED) gentoo-dev 2002-02-15 16:05:46 UTC
2.4.17-r5 has now been released; if you haven't tested already, try it.
Comment 7 Daniel Robbins (RETIRED) gentoo-dev 2002-03-06 13:05:03 UTC
2.4.17-r5 or the 2.4.18 kernel *should* work.  I'm guessing that this is related
to irqrate.  Assigning to mjc as a reminder that usb needs to be looked at with
irqrate.
Comment 8 Preston A. Elder 2002-03-27 10:53:54 UTC
Actually this is an order of operation problem.

3 modules need to be loaded to use a USB mouse:

hid, usbmouse and mousedev.  Once they're installed, /dev/input/mouse0 will
appear.  Then you're free to ln -s /dev/input/mouse0 /dev/usbmouse (or put it in
your devfsd.conf).  Note, that ALL modules MUST be installed BEFORE you attempt
to use the usb mouse.  Also note, that if you unload any of the modules, or
suspend your system (I believe, even if you just unplug and re-plug in the
mouse), it will stop working.

This is a problem in the USB code in the kernel, it doesnt handle suspending all
that well, or even any substantial change in state.  I emailed the developer
developing support for this about it, and he said that his environment is such
that he cant test it, but he knows about it and plans to fix it, so eventually
it should 'just work' when its fixed.

However, to get your USB mouse working, as long as you dont unplug it after boot
or touch the modules, etc -- just ensure those 3 modules are loaded, foe
example, in your modules.autoload.
Comment 9 Christian - Manny Calavera - Neumair 2002-07-21 11:31:27 UTC
It works.
Why don't we close this bug?

see you,
- Manny -
Comment 10 SpanKY gentoo-dev 2002-09-04 09:03:19 UTC
reporter found the source of the problem, closing bug