Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-04-2006, 12:28 AM
|
#1
|
LQ Newbie
Registered: Mar 2006
Posts: 16
Rep:
|
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:
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0160
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at ff80 [size=32]
00: 86 80 c2 24 05 00 80 02 01 00 03 0c 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 ff 00 00 00 00 00 00 00 00 00 00 28 10 60 01
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0160
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at ff60 [size=32]
00: 86 80 c4 24 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 61 ff 00 00 00 00 00 00 00 00 00 00 28 10 60 01
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 02 00 00
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0160
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at ff40 [size=32]
00: 86 80 c7 24 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 41 ff 00 00 00 00 00 00 00 00 00 00 28 10 60 01
30: 00 00 00 00 00 00 00 00 00 00 00 00 09 03 00 00
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: Dell: Unknown device 0160
Flags: bus master, medium devsel, latency 0, IRQ 5
Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] #0a [2080]
00: 86 80 cd 24 06 01 90 02 01 20 03 0c 00 00 00 00
10: 00 08 a8 ff 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 60 01
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 04 00 00
I'm not understanding this - any comments as to why the mouse isn't working?
|
|
|
04-04-2006, 12:56 AM
|
#2
|
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 250
Rep:
|
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.
|
|
|
04-04-2006, 02:32 AM
|
#3
|
Member
Registered: Mar 2006
Distribution: Slackware
Posts: 63
Rep:
|
Quote:
Originally Posted by mr.anderson
However, the mouse, which is connected into one of the spare usb ports on the keyboard does not function.
|
Temporary workaround: get a PS/2-to-USB connector
|
|
|
04-06-2006, 09:57 PM
|
#4
|
LQ Newbie
Registered: Mar 2006
Posts: 16
Original Poster
Rep:
|
Thanks for the replies.
I'm using kernel 2.4.31 and slackware 10.2
Could try the ps/2 to usb but that circumvents using the KVM switch. A ps/2 mouse works; tried that already.
I know I'm close - the above printouts note that my mouse is detected.
And the keyboard works just fine, so detection is ok through the KVM (at least for the keybard).
Any more comments??
|
|
|
04-07-2006, 12:36 PM
|
#5
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
Quote:
Originally Posted by mr.anderson
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...
|
|
|
04-11-2006, 12:14 AM
|
#6
|
LQ Newbie
Registered: Mar 2006
Posts: 16
Original Poster
Rep:
|
Graz,
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
5. xorg.conf below:
ection "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
Every other reference to "mouse" is commented out.
Still can't get it to work. I would think it is common to plug your usb mouse into your usb keyboard.
Any more ideas??
thanks.
|
|
|
04-11-2006, 10:25 AM
|
#7
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Rep:
|
Have a look in /etc/rc.modules.conf and uncomment /sbin/modprobe hid
Reboot and see if that helps.
Actually just modprobe hid as root from the console might help.
|
|
|
04-11-2006, 10:34 PM
|
#8
|
LQ Newbie
Registered: Mar 2006
Posts: 16
Original Poster
Rep:
|
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.
Dell keyboard model# SK-8135.
|
|
|
04-12-2006, 02:52 AM
|
#9
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Does mouse work when you stick it in separate usb port?
|
|
|
04-17-2006, 12:46 AM
|
#10
|
LQ Newbie
Registered: Mar 2006
Posts: 16
Original Poster
Rep:
|
AH,
Thanks for your input.
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??
Starting gpm: /usr/sbin/gpm -m /dev/mouse -t ps2
|
|
|
04-18-2006, 04:47 AM
|
#11
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
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.
|
|
|
04-18-2006, 05:03 AM
|
#12
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
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
Last edited by -=Graz=-; 04-18-2006 at 05:11 AM.
|
|
|
04-18-2006, 05:09 AM
|
#13
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Rep:
|
I think it ought ot be
Starting gpm: /usr/sbin/gpm -m /dev/mouse -t imps2
Another idea to try testing if you are getting any input. You might need to do this as root.
cd /dev/input
xxd event0
Wiggle the mouse about to see if you get numbers scrolling across the screen. If you do Ctrl-C to exit
If not try
xxd event1
and
xxd event2
|
|
|
04-18-2006, 07:25 AM
|
#14
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
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.
|
|
|
04-19-2006, 03:58 AM
|
#15
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
Quote:
Originally Posted by Alien_Hominid
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.
|
|
|
All times are GMT -5. The time now is 11:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|