Click to See Complete Forum and Search --> : usb mouse in xfree 4
boy_wonder
10-25-2000, 06:30 AM
I finally got my usb mouse working in linux.
I installed X 4.01 yesterday following the steps in the NHF. I had a 2.4.0-test7 kernel compiled with all the relevant mousey stuff. Followed the instructions in the kernel docs.
cd /dev
mkdir input
mknod input/mice c 13 63
and changed the line in my XF86Config file from
Option "device" "/dev/mouse"
to
Option "device" "/dev/mouse"
restarted X and was done.
BTW it wasn't really this simple. It took me a few hours of reading to work out, but I think that if people read this it shouldn't take that long to set up.
And who said linux was difficult to use.
silent j
10-27-2000, 02:18 PM
i'm confused on what you changed in your XF86Config? The 2 lines look the same to me?
I just got my X windows 4.0 up, running Mandrake 7.1. My USB Mouse was detected, but responded very erratically. was this the same problem you were having?
boy_wonder
10-28-2000, 12:51 AM
oops, the second line should read
Option "device" /dev/input/mice
Sorry about that.
My USB mouse was not working at all, because I only got USB working in the kernel the same day.
boy_wonder
10-28-2000, 01:31 AM
I also added the following line to /etc/fstab
none /proc/bus/usb usbdevfs defaults 0 0
Sterling
10-28-2000, 11:27 AM
Yeah, the /proc/bus/usb filesystem is great for diagnosing obscure or wierd problems with USB devices. Something I've found that works sometimes when a device that previously responded just fine no longer does: jiggle the connectors. I kid you not. From the messages that get printed when I do this, it seems to break the contact just enough to make the USB BUS disconnect and reconnect the device. Wierd, but it works.
------------------
-Sterling
-This post made with the Lizard! (http://www.mozilla.org)
boy_wonder
10-28-2000, 12:22 PM
I worked out that my mouse was working properly, just not in X, originally by doing a "cat /proc/bus/usb/001/001" and looking at alll the junk come up on the screen when I moved my mouse.
Sterling
10-29-2000, 06:28 PM
Boy_wonder - Much easier to look at /proc/bus/usb/devices. If its not listed in there, you know for sure there's a problem. Only if it is and you still have troubles do you have to go the other root and start seeing what it sends.
------------------
-Sterling
-This post made with the Lizard! (http://www.mozilla.org)
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.