LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB running but still NO mouse / keyboard response (http://www.linuxquestions.org/questions/linux-hardware-18/usb-running-but-still-no-mouse-keyboard-response-102149/)

bennyt321 10-09-2003 01:24 PM

USB running but still NO mouse / keyboard response
 
Hi,
Please put me out of my misery and tell me this is something obvious.

I've installed Slackware 9 on two different systems (twin P3 and Athlon) and inspite of apparently having all the USB modules loaded AND having reports in /var/log/messages of when I plug and unplug devices, no mouse or keyboard will respond at all - under gpm or X.

I have a Micro$oft USB intellimouse, a Logitech Mouseman wireless USB and a CoolerMaster (Aluminium - v. cool) USB keyboard.

/dev/mouse is pointing to input/mice, rc.hotplug reports usb is functioning and lists buses, devices and drivers loaded. lsmod reports usbcore, usb-uhci, hid, input, mousedev and keybdev.

I have tried two different kernels, one is the bog standard distro and one is one I have compiled. Have also tried changing the BIOS settings for the keyboard to no avail.

The only commonality is that motherboards are both Abit (KG 7 and VP 6) with VIA chipsets.

Be happy to supply more information if necessary. All help appreciated!

bennyt321 10-10-2003 07:29 AM

More info...

Specifitically, the MS USB intellimouse. This is under Slackware 9, 2.4.20 kernel which I compiled myself and am fairly certain includes all necessary settings. Platform is Dual P3 on a Abit VP6 with AMD chipset.

Here is a listing from kernel messages.
------
Oct 10 12:31:50 tokyo kernel: usb.c: registered new driver usbdevfs
Oct 10 12:31:50 tokyo kernel: usb.c: registered new driver hub
Oct 10 12:31:50 tokyo kernel: usb-uhci.c: $Revision: 1.275 $ time 00:09:27 Oct 9 2003
Oct 10 12:31:50 tokyo kernel: usb-uhci.c: High bandwidth mode enabled
Oct 10 12:31:50 tokyo kernel: usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 7
Oct 10 12:31:50 tokyo kernel: usb.c: new USB bus registered, assigned bus number 1
Oct 10 12:31:50 tokyo kernel: hub.c: USB hub found
Oct 10 12:31:50 tokyo kernel: hub.c: 2 ports detected
Oct 10 12:31:50 tokyo kernel: usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 7
Oct 10 12:31:50 tokyo kernel: usb.c: new USB bus registered, assigned bus number 2
Oct 10 12:31:50 tokyo kernel: hub.c: USB hub found
Oct 10 12:31:50 tokyo kernel: hub.c: 2 ports detected
Oct 10 12:31:50 tokyo kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Oct 10 12:31:52 tokyo /etc/hotplug/usb.agent: Setup usbcore for USB product 0/0/0
Oct 10 12:31:52 tokyo last message repeated 3 times
Oct 10 12:49:49 tokyo kernel: hub.c: new USB device 00:07.3-2, assigned address 2
Oct 10 12:49:52 tokyo /etc/hotplug/usb.agent: Setup hid for USB product 45e/9/105
Oct 10 12:49:52 tokyo kernel: usb.c: registered new driver hid
Oct 10 12:49:53 tokyo kernel: : USB HID v1.00 Mouse [045e:0009] on usb2:2.0
Oct 10 12:49:53 tokyo kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
Oct 10 12:49:53 tokyo kernel: hid-core.c: USB HID support drivers
Oct 10 12:49:53 tokyo kernel: mice: PS/2 mouse device common for all mice
Oct 10 12:49:53 tokyo /etc/hotplug/usb.agent: Setup mousedev for USB product 45e/9/105
--------

Device 45e/9/105 being my mouse (presumably).
And here is a listing from lsusb,
-------
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Bus 002 Device 002: ID 045e:0009 Microsoft Corp. IntelliMouse
Bus 001 Device 001: ID 0000:0000 Virtual Hub
------

And here is an output from lsmod,
------
Module Size Used by Not tainted
mousedev 4472 0
input 3712 0 [mousedev]
hid 10012 0 (unused)
usb-uhci 24428 0 (unused)
usbcore 65920 1 [hid usb-uhci]
es1371 32232 0 (unused)
ac97_codec 11176 0 [es1371]
e100 59636 1
------
I then issue, mknod /dev/input/mice c 13 63
then, cat /dev/input/mice yields nothing.

Using mouseconfig to configure a USB mouse also does nothing. GPM shows a cursor which I can't move.

I am at a loss.

kasperhans 10-10-2003 10:26 AM

did you edit your XF86Config and XF86Config-fbdev ? it should be located in /etc/X11
there add the following:
change to Option "Protocol" "IMPS/2"
add for scrolling Option "ZAxisMapping" "4 5"

bennyt321 10-11-2003 06:02 PM

My gpm and X configs are definitely OK, thanks.

I have finally had some success. I have got both mice working after some config changes and a kernel recompile. The problem appears to reside with my keyboard. As soon as hotplug picks it up my mouse/mice freeze and in syslog I get;

USB HID v1.10 Keyboard [CHESEN USB Keyboard] on usb2:3.0
USB HID v1.10 Pointer [CHESEN USB Keyboard] on usb2:3.1
/etc/hotplug/usb.agent: ... no modules for USB product a81/101/110

The keyboard (CoolerMaster EAK-US1) is suppopsedly HID compliant. Is this a common ploblem? I can't find much info about it on the web.

Has anyone else ever solved a problem like this? Why do my mice fail when the keyboard is plugged in?? Arrghhhh!

Also, when getting my mice running hotplug loads the kernel module, usbmouse.o - the one that it explicitly states not to use in the guide on usb-linux.org, and in the kernel documentation. wtf???

Have to say I am very disappointed with linux USB so far....
All suggestions welcome :confused: and appreciated :)


All times are GMT -5. The time now is 12:06 PM.