LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   usb mouse not working (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/usb-mouse-not-working-466159/)

punit_arya 07-21-2006 03:35 AM

usb mouse not working
 
hi
i've compaq presario m2013 notebook running slackware 10.1 & xfce desktop environment. the problem is that i want to use my usb optical mouse instead of the touchpad). how is it done ?
thanks for any help

Indkoeti 07-21-2006 04:10 AM

Ad first you have to check if the /device-drivers/usb/hdi-support in your kernel is activated, put I suppose it is if you'r using the standard kernel. Then you have to edit the /etc/X11/xorg.conf (for xorg, xfree has another name). There has to be something like
Section "Input Device"
Identifier "mouse"
Driver "mouse"
Option "Protcol" "auto"
Option "Device" "/dev/..."
Option "ZAxisMapping" "4 5"
Endsection

Normally if you set Device to /dev/input/mice tochpad and usb mouse should work. If they do not, you have to take a look at the /dev/input devices with
[HTML]ls /dev/input[/HTML]
There should be several devices
try [HTML]cat /dev/input/mice0 (and so on)[/HTML]
now move your mouse, you should see many strange symols, wenn you have found the right device, then abort with contrl+c and enter this device in your xorg.conf.
P.S. the last option enables the scroll-wheel

prozac 07-21-2006 04:11 AM

plug the usb mouse in and you are a go. now if it doesn't work come back here. ;-)


All times are GMT -5. The time now is 09:49 AM.