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.
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.
I am just switch my serial mouse to USB mouse. But just can get the mouse works..below is my dmesg.
Code:
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.259 $ time 15:45:26 Jun 23 2001
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 10
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
usb-uhci.c: v1.251 Georg Acher, Deti Fliegl, Thomas Sailer, Roman Weissgaerber
usb-uhci.c: USB Universal Host Controller Interface driver
usb.c: registered new driver usb_mouse
usbmouse.c: v1.6 Vojtech Pavlik <vojtech@suse.cz>
usbmouse.c: USB HID Boot Protocol mouse driver
PCI: Found IRQ 12 for device 00:0c.0
PCI: The same IRQ used for device 00:0a.0
hub.c: USB new device connect on bus1/2, assigned device number 2
input0: A4Tech USB Optical Mouse on usb1:2.0
I do trillion of times mouseconfig and select 'USB connected mouse' but just won't works.
By the way,
Quote:
bash# ls -al /dev/mouse
lrwxrwxrwx 1 root root 12 Nov 3 13:43 /dev/mouse -> input/mouse0
Quote:
bash# ls -al /dev/usb/mouse*
crw-rw---- 1 root root 180, 16 Mar 26 2001 /dev/usb/mouse0
crw-rw---- 1 root root 180, 17 Mar 26 2001 /dev/usb/mouse1
crw-rw---- 1 root root 180, 26 Mar 26 2001 /dev/usb/mouse10
crw-rw---- 1 root root 180, 27 Mar 26 2001 /dev/usb/mouse11
crw-rw---- 1 root root 180, 28 Mar 26 2001 /dev/usb/mouse12
crw-rw---- 1 root root 180, 29 Mar 26 2001 /dev/usb/mouse13
crw-rw---- 1 root root 180, 30 Mar 26 2001 /dev/usb/mouse14
crw-rw---- 1 root root 180, 31 Mar 26 2001 /dev/usb/mouse15
crw-rw---- 1 root root 180, 18 Mar 26 2001 /dev/usb/mouse2
crw-rw---- 1 root root 180, 19 Mar 26 2001 /dev/usb/mouse3
crw-rw---- 1 root root 180, 20 Mar 26 2001 /dev/usb/mouse4
crw-rw---- 1 root root 180, 21 Mar 26 2001 /dev/usb/mouse5
crw-rw---- 1 root root 180, 22 Mar 26 2001 /dev/usb/mouse6
crw-rw---- 1 root root 180, 23 Mar 26 2001 /dev/usb/mouse7
crw-rw---- 1 root root 180, 24 Mar 26 2001 /dev/usb/mouse8
crw-rw---- 1 root root 180, 25 Mar 26 2001 /dev/usb/mouse9
And my gpm is running at boot..with the following script.
Quote:
bash# cat /etc/rc.d/rc.gpm
#!/bin/sh
# Running gpm
echo "Running gpm..."
gpm -m /dev/mouse -t imps2
# There is another way to run GPM, where it acts as a repeater outputting a
# virtual MouseSystems mouse on /dev/gpmdata. This is useful for feeding
# gpm's data to X, especially if you've got a busmouse (in that situation X
# and gpm may not coexist without using a repeater). To try running a GPM
# repeater for X, change the gpm command line to look like this:
# gpm -R msc -m /dev/mouse -t imps2
# Then, make sure that the mouse configuration in your XF86Config file refers
# to the repeater device (/dev/gpmdata) and a MouseSystems mouse type. If you
# edit the file directly, you'll want the lines to look like this (minus the
# comment marks '#' shown here, of course):
#Section "Pointer"
# Protocol "MouseSystems"
# Device "/dev/gpmdata"
My USB mouse device shows a symbolic link pointing to input/mice (/dev/mouse --> input/mice). Change your symlink and see if that will work.
Also, check your X config file. Most USB optical mice will only work if Option "Protocol" is changed to "IMPS/2" and if you have a scroll wheel, add Option "ZAxisMapping" "4 5" below it and it should work just fine.
After get back to the serial mouse a while for some works, I went back to the USB mouse again..for the above solutions, I tried, I changed the mouse dev to /dev/input/mice, but no luck..also I followed links and still the same ..
I am suspect the problem might be caused by the USB hub hardware that I used, it is Insulation Displacement Cable/Connector (IDC) hence it is not built-in to the motherboard..
I've added the 'Option "ZAxisMapping" "4 5" ' line to my config. file, but the scroll wheel still doesn't work.
It's a simple enough 2-button PS2 mouse - any idea why it hasn't worked?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.