usb mouse NOT detected, but usb keyboard IS detected
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
usb mouse NOT detected, but usb keyboard IS detected
I am using a 2port USB KVM switch, to which a DELL usb keyboard w/ 2 extra usb ports is attached.
I can use the keyboard and monitor fine, so the KV part is ok. However, the mouse, which is connected into one of the spare usb ports on the keyboard does not function.
Here is output from lsusb:
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 014: ID 413c:1003: Dell Computer Corp.
Bus 002 Device 014: ID 413c:2010: Dell Computer Corp.
Bus 002 Device 014: ID 046d:c016: Logitech, Inc. Optical Mouse
Bus 001 Device 001: ID 0000:0000
OK - it recognizes my mouse.
Below is the output for the USB controller portion of lspci -vxx:
Hmm what kernel do you use? I remember having had an issue withsome 2.6.x kernel (if I remember correctly up to 2.6.11) with kvm switches and mice connected to it.
I am using a 2port USB KVM switch, to which a DELL usb keyboard w/ 2 extra usb ports is attached.
I can use the keyboard and monitor fine, so the KV part is ok. However, the mouse, which is connected into one of the spare usb ports on the keyboard does not function.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 014: ID 413c:1003: Dell Computer Corp.
Bus 002 Device 014: ID 413c:2010: Dell Computer Corp.
Bus 002 Device 014: ID 046d:c016: Logitech, Inc. Optical Mouse
I think the problem is that the mouse is plugged in through the keyboard.. Are you able to try connect it direct to pc?
see both devices are sharing the same Device ID. that can't be good surely. Are the keyboard and mouse both USB1.1 or 2
So the mouse is not working in XWindows? Which option have you selected in /etc/X11/Xorg.conf in the mouse section.
try set to 'auto' rather than 'usb' or whatever it is now.
also, try unplug the mouse and then plug it back in again.
then #tail /var/log/messages
maybe this will show up what the problem is...
Thanks for the input. Yes, mouse is plugged into one of the two usb ports on my keyboard. Here are answers to your questions:
1. Can't connect directly to PC either.
2. key/mouse are usb1.1 (I assume)
3. Mouse not working under XWin or terminal mode
4. tail -f /var/log/messages is below after unplugging/replugging into another keyboard usb port:
pr 10 19:51:26 mr kernel: usb.c: USB disconnect on device 00:1d.1-1.2 address 4
Apr 10 19:51:34 mr kernel: hub.c: new USB device 00:1d.1-1.3, assigned address 5
Apr 10 19:51:34 mr kernel: input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb3:5.0
here is output after unplugging from keybard and then plugging into PC usb port:
Apr 10 20:01:58 mr kernel: usb.c: USB disconnect on device 00:1d.1-2 address 7
Apr 10 20:02:32 mr kernel: hub.c: new USB device 00:1d.1-1, assigned address 8
Apr 10 20:02:32 mr kernel: hub.c: USB hub found
Apr 10 20:02:32 mr kernel: hub.c: 3 ports detected
Apr 10 20:02:32 mr kernel: hub.c: new USB device 00:1d.1-1.1, assigned address 9
Apr 10 20:02:32 mr kernel: input0: Dell Dell USB Keyboard Hub on usb3:9.0
Apr 10 20:02:32 mr kernel: input: USB HID v1.10 Device [Dell Dell USB Keyboard Hub] on usb3:9.1
Apr 10 20:02:33 mr kernel: hub.c: new USB device 00:1d.1-1.2, assigned address 10
Apr 10 20:02:33 mr kernel: input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb3:10.0
Thanks arubin - didn't help. Uncommented, saved, then exited and rebooted. Still no mouse.
The ps/2 mouse is the one that works.
Can't see how my situation is so difficult, and why I can't figure it out. I have successfuly mounted a usb thumbdrive into the second usb port of my PC. But if I stick my mouse directly into the same port, it isn't recognized.
No, mouse does not work when plugged into a spare usb port. I know the spare port works because I can mount a usb thumbdrive into it and yank files to/from the drive.
Also, I tried plugging the thumbdrive into one of the keyboard usb ports - can't get it to work either.
One question: The following statement executes during boot from rc.d/rc.gpm - maybe it's causing confusion??
Chmod -x /etc/rc.d/rc.gpm and check if anything changes. Strange that mouse doesn't work on a separate usb port. I recommend firstly to get mouse working on a separate usb port because then you will know that this is not mouse problem. Then you could plug it into the keyboard and explore the problem there.
okay - i have read a bunch saying that the GPM would stop the mouse working in XWindows..
It should however still work off the console if this is loaded.. so you have tried on a plain USB port with no change. Lets see plug direct into USB port again, what happens in /var/log/messages ? I think the USB hub in kboard might confuse it.
Then, run #mouseconfig again and choose PS/2 as the device type.
You can chooose to disable GPM at ths point and delete the line from /etc/rc.d/rc.gpm
log/messages on my machine:
Apr 19 04:43:59 Slack700m kernel: usb 4-1: USB disconnect, address 2
Apr 19 04:44:01 Slack700m kernel: usb 4-1: new low speed USB device using uhci_hcd and address 3
Apr 19 04:44:02 Slack700m kernel: input: Logitech USB RECEIVER as /class/input/input3
Apr 19 04:44:02 Slack700m kernel: input: USB HID v1.11 Mouse [Logitech USB RECEIVER] on usb-0000:00:1d.2-1 Apr 19 04:44:02 Slack700m udev[5209]: creating device node '/dev/usbdev4.3'
Apr 19 04:44:07 Slack700m udev[5208]: creating device node '/dev/input3'
Apr 19 04:44:07 Slack700m udev[5245]: configured rule in '/etc/udev/rules.d/udev.rules' at line 55 applied, 'mouse1' becomes 'input/%k'
Apr 19 04:44:07 Slack700m udev[5245]: creating device node '/dev/input/mouse1'
Probably worth noting that udev does not stick its nose in and do its work in your output .... Its looks pretty busy on my machine
Also, i am sure i needed to have UHCI support enabled before mine would work. check #lsmod and ensure everything required is loaded - here is my related output
ohci_hcd 16196 0
usbmouse 4032 0 <-- funnily enough this seems new to me...
usbhid 31968 0
uhci_hcd 26768 0
ehci_hcd 24520 0
usbcore 100676 6 ohci_hcd,usbmouse,usbhid,uhci_hcd,ehci_hcd
Also, re: the qestion about the idea of plugging the mouse into the keyboard... I am almost certain that there would have to be latency issues when configuring this way... i know that in windows XP i plugged my DELL mouse into a dell keyboard at the office and it was fairly much useless... it worked but not in the way it should.. it was almost like using remote assistance
As I know, gpm is only used for mouse support in console and sometimes it conflicts with X server mouse support. Please correct, if I am wrong. Thanks.
As I know, gpm is only used for mouse support in console and sometimes it conflicts with X server mouse support. Please correct, if I am wrong. Thanks.
Yep - that is my understanding of it as well.. gpm works fine for me on console and x server however.. no probs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.