LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   USB mouse under Debian (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/usb-mouse-under-debian-270947/)

microsoft/linux 12-27-2004 06:35 PM

USB mouse under Debian
 
I recently bought a Targus USB mouse, the kind that the cord wraps up. It's meant for laptop use. I can't get it to work under Debian Sarge(testing). Any ideas?

leonscape 12-27-2004 09:18 PM

Whats your /etc/X11/XF86Config-4 file mouse section look like?

Heres mine to give you an idea:
Code:

Section "InputDevice"
 Identifier "TheMouse"
 Driver  "mouse"
 Option  "CorePointer"
 Option  "Device"  "/dev/input/mice"
 Option  "Protocol"  "ExplorerPS/2"
 Option  "Buttons"  "7"
 Option  "ZAxisMapping"  "6 7"
EndSection


microsoft/linux 12-28-2004 08:41 PM

I'll have to get that for you. I can only connect to the internet with Windows, (at least at home) so you'll have to wait

microsoft/linux 01-02-2005 07:57 PM

mine says
Quote:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "GlidePointPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Protocol" "auto"
EndSection

leonscape 01-02-2005 08:49 PM

You have two mice in the configuration as well as the touchpad. If you have a glidepoint then the first one might actaully be the touchpad ( I'm guessing that it isn't, and that you have set this last item yourself, If not you may have to replace the touchpad with the first mouse in your setup. )

I'd recommend removing the first one, and setting the second one as the corepointer.

So I would try...
Code:

Section "InputDevice"
    Identifier "Targa Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "AlwaysCore"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/input/mice"
    Option "Buttons" "5"
    Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier "touchpad"
    Driver "synaptics"
    Option "SendCoreEvents" "true"
    Option "Emulate3Buttons" "true"
    Option "ZAxisMapping" "4 5"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto"
EndSection

Don't forget to make sure the input devices are added to the server layout...

Code:

Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Keyboard"
    InputDevice "Targa Mouse"
    InputDevice "touchpad"
 EndSection



All times are GMT -5. The time now is 10:28 AM.