Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-06-2004, 04:01 PM   #1
LQ Newbie
Registered: Apr 2004
Distribution: Debian (woody)
Posts: 12

Rep: Reputation: 0
Question USB mouse on a new 2.6.5 kernel

I just installed a 2.6.5 kernel on my fresh Debian (woody) system and I can't get gpm to see my usb mouse.

I don't use X and have yet to see if X does it. I suspect not, because:

cat /dev/input/m* (mice, mouseX) yields "No Such Device"
cat /dev/usb/mouse* (mouseX) yields "No Such Device"

I did load all the usb modules (with the new module-init-tools), and tried various combinations. They all seem to work just fine.

I did not, however, set CONFIG_USB_MOUSE to Y because the help text (I use make menuconfig) seemed to very strongly recommend against it. Apparently it is used for special (eg, non-desktop systems).

Is this true? Do I need this module? What else could be the trouble?

Also: /dev/bus/usb does not exist. Is this deprecated?

update: If you're running a 2.6 kernel with a USB mouse, can you please post an 'lsmod' for me to see?


Last edited by dulles; 04-06-2004 at 04:35 PM.
Old 04-06-2004, 05:09 PM   #2
Registered: Jan 2004
Location: London
Distribution: Debian
Posts: 33

Rep: Reputation: 15
My system has evdev and hid (human interface devices in the config) kernel modules compiled and loaded, and then the mouse events are on /dev/event something or other, as well as /dev/input/mouse1 (and /dev/input/mice )
Old 04-06-2004, 10:23 PM   #3
Senior Member
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
evdev 9504 0
tsdev 7168 0
usbmouse 5216 0
hid 53312 0
uhci-hcd 29104 0
usbcore 99132 5 usbmouse,hid,uhci-hcd

That's what's loaded on my box with 2.6.3-7mdk. Not sure what tsdev is (seems to have to do with x,y-resolution - perhaps to do with the mouse)
Old 04-07-2004, 02:46 AM   #4
Registered: Jan 2004
Location: London
Distribution: Debian
Posts: 33

Rep: Reputation: 15
tsdev will be touch screen device - remove this to be on the safe side. Maybe your usb mouse is incorrectly detected? does 'dmesg' give any information. I get a lot of loggin output for USB devices , even without the extra debugging info option in the kernel configuration.

If you know how, you can recompile your kernel with extra debugging info. In the meantime, try this:

cat /dev/input/mouse0

then wiggle your mouse
try this for each of the possible devices, and dev/eventxxx , and /dev/psaux as it could be mirrored here from the real source. Personally, I've never used gpm and don't see the point.
Old 04-07-2004, 07:23 AM   #5
LQ Newbie
Registered: Apr 2004
Distribution: Debian (woody)
Posts: 12

Original Poster
Rep: Reputation: 0
Ah.... I see you didn't read my post:

cat /dev/input/mice (and all the variants thereof, such as mouseX)
gave "No such device". /dev/input/mouseX as well.

Anyway, I seem to have gotten it working. I tried evdev with usbmouse and it kicked in instantaneously. Now it works withouh evdev too! Some weirdness is going on, I tell you: it didn't used to work with just ohci_hcd, usbcore, and usbmouse, but now it does. Oh the finicky ways of the kernel.

So thanks everyone for ya'll's help!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PS/2 and USB mouse with Kernel 2.6 kushalkoolwal Debian 18 09-06-2005 05:56 PM
USB Mouse on a 2.6.5 Kernel atheist Linux - Software 1 06-11-2004 06:30 PM
kernel 2.6.5 and my USB mouse ababkin Linux - Newbie 4 04-04-2004 02:27 PM
ms usb mouse with 2.6 kernel mindcry Linux - Hardware 1 01-06-2004 04:55 AM
usb mouse and kernel N_A_J_M Linux - Software 2 11-05-2002 08:34 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration