Flex Studwell
03-23-2003, 11:21 PM
how can i know what device file points to my mouse? i need to find out so i can configure my X server properly. thanks.
|
Click to See Complete Forum and Search --> : finding mouse device file Flex Studwell 03-23-2003, 11:21 PM how can i know what device file points to my mouse? i need to find out so i can configure my X server properly. thanks. bwkaz 03-24-2003, 12:00 AM What interface does the mouse use? Serial? PS/2? USB? Flex Studwell 03-24-2003, 06:12 PM i have a ps/2 mouse, but i would really like to get my cordless logitech usb trackman working. so it interfaces via usb. i don't suppose there's some sort of a script that can just find it for me, is there? bwkaz 03-24-2003, 06:46 PM Not really... PS/2 mice are usually on /dev/psaux (or /dev/misc/psaux if it's there). USB mice are on /dev/input/mice, assuming you have the right modules loaded (or compiled into the kernel). You need hid, usb-uhci (or usb-ohci, depending on your USB controller), usbcore, input, and mousedev all loaded or compiled in. trn 03-24-2003, 07:52 PM it really depends on what distro your using make sure you have your kernel compiled to suport usb then you can browse around and the devicde will probably be /dev/input/mice or /dev/input/mouse0 or somthing like that you can 'cat /dev/input/mice' and if it prints out a bunch of garbage when you move the mouse then thats the device. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |