LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-18-2004, 02:03 PM   #1
liquigel
Newbie
 
Registered: Feb 2004
Location: CT, USA
Distribution: Debian stable
Posts: 29

Rep: Reputation: 15
help getting usb mouse working


I can't get my usb mouse to work on my x86 box. I've read the other recent relevant threads
on the subject:
http://www.linuxquestions.org/questi...hreadid=129513
http://www.linuxquestions.org/questi...hreadid=118534
http://www.linuxquestions.org/questi...hreadid=141329

I had a related question, that drifted into this one
http://www.linuxquestions.org/questi...hreadid=147461
but thought that it deserved its own thread -- so I started this one right here.

Recently installed Woody 3.0 with the bf24 kernel.

When I try to start icewm, it comes up, but the mouse (usb) and the keyboard (programmable
ps/2 style) are frozen. The relevant portion of my XF86Config-4 is:
Code:
Section  "InputDevice"
  Identifier  "Configured Mouse"
  Driver  "mouse"
  Option  "CorePointer"
  Option  "Device"  "/dev/psaux"
  Option  "Protocol"  "ImPS/2"
  Option  "ZAxisMapping"  "4 5"
EndSection

Section  "InputDevice"
  Identifier  "Generic Mouse"
  Driver  "mouse"
  Option  "SendCoreEvents"  "true"
  Option  "Device"  "/dev/input/mice"
  Option  "Protocol"  "ImPS/2"
  Option  "ZAxisMapping"  "4 5"
EndSection
and my /var/log/XFree86.0.log says:
Code:
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "ImPS/2"
(**) Configured Mouse: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(==) Configured Mouse: Buttons: 3
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
        No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
lsmod tells me (non-usb material snipped):
Code:
hid       0 (unused)
usbmouse  0 (unused)
input     0 [hid usbmouse keybdev usbkbd]
usb-uhci  0 (unused)
usbcore   0 [hid usbmouse usb-storage usbkbd usb-uhci]
and dmesg tells me the following about usb:
Code:
usb.c: registering new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 10:29:43 Apr 14 2002
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 12 for device 00:07.2
PCI: Sharing IRQ 12 with 00:07.3
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 12
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 12 for device 00:07.3
PCI: Sharing IRQ 12 with 00:07.2
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 12
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver keyboard
usbkbd.c: :USB HID Boot Protocol keyboard driver
spurious 8259A interrupt: IRQ7
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x46d/0xc001) is not claimed by any active driver.

...

usb.c: registered new driver usb_mouse
input0: Logitech USB Mouse on usb1:2.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver

...

usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers

...

usb.c: USB disconnect on device 2
hub.c: USB nev device connect on bus1/1, assigned device number 3
input0: Logitech USB Mouse on usb1:3.0
At the console, when I unplug the mouse, I get:

usb.c: USB disconnect on device 2

And when I reconnect the mouse, I get:

hub.c: USB new device connect on bus1/1, assigned device number 3
input0: Logitech USB Mouse on usb1:3.0

'cat /dev/input/mice' yields "No such device".
'cat /dev/psaux' just sits there doing nothing (even while I'm moving and clicking the mouse)
until I ctrl-c out of it.

Also, lspci yields:

00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16)

Last edited by liquigel; 02-18-2004 at 02:15 PM.
 
Old 02-18-2004, 02:45 PM   #2
liquigel
Newbie
 
Registered: Feb 2004
Location: CT, USA
Distribution: Debian stable
Posts: 29

Original Poster
Rep: Reputation: 15
Got it. :)

In modconf, under kernel/drivers/input, "mousedev" had not been selected. I installed that module,
and now all seems well on the western front.

Now, in my dmesg output, near the end, there's a line that says:
Code:
mice: PS/2 mouse device common for all mice
Also, lsmod now lists "mousedev" along with "[usbkbd hid usbmouse keybdev]"
after the "input" module.

Sweet!
 
  


Reply


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
USB mouse not working Vertex78 Slackware 5 09-26-2004 08:13 PM
USB mouse not working Googly Linux - Hardware 2 04-26-2004 11:09 PM
ps/2-mouse via usb-adaptor not working - usb error=-110 mule Fedora 0 01-30-2004 07:23 AM
slackware 9.1 USB mouse and other usb devices not working jimMC Linux - Hardware 11 01-24-2004 11:58 AM
usb mouse not working eduardo_ha Linux - Hardware 14 01-22-2003 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:55 PM.

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