LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   USB Mouse and Touchpad Solution (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/usb-mouse-and-touchpad-solution-92826/)

megaspaz 09-14-2003 08:00 PM

USB Mouse and Touchpad Solution
 
Got my usb mouse and synaptics touchpad working at the same time. unfortunately it's only in X and not console, but since i'm mainly in X windows all the time, I don't care. It's actually really easy. basically first off, get the synaptics driver here:

http://tuxmobil.org/touchpad_driver.html

i did the binary install which is copy the "synaptics_drv.o" file from the tarball and paste it into /usr/X11R6/lib/modules/input/

then add this section into your XF86Config-4 file (this is the example found in the Install text file):

Code:

Section "InputDevice"
  Driver          "synaptics"
  Identifier          "Mouse[1]"
  Option        "Device"          "/dev/psaux"
  Option        "Edges"                "1900 5400 1800 3900"
  Option        "Finger"        "25 30"
  Option        "MaxTapTime" "20"
  Option        "MaxTapMove" "220"
  Option        "VertScrollDelta" "100"
  Option        "MinSpeed"        "0.02"
  Option        "MaxSpeed"        "0.18"
  Option        "AccelFactor" "0.0010"
#  Option        "Repeater"        "/dev/ps2mouse"
#  Option        "SHMConfig"        "on"
EndSection

then add this device in the server layout section:
Code:

Section "ServerLayout"
        Identifier    "Anaconda Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "SendCoreEvents"
        InputDevice    "Mouse[1]" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

that section is an exact copy of my server layout section. the usb mouse is input device "Mouse0" and "Mouse[1]" is the touchpad. Your original config file will have the usb mouse with the option, "CorePointer". change that to "SendCoreEvents".
if you boot into runlevel 5, then you'll need to reboot. if you boot into runlevel 3 or some other text mode level, just restart X. hope this helps you folks.

edit: this is rockin'! it seems to have every functions that's in the synaptics driver in windows. scrolling with the touchpad works, tapping.... :cool:


All times are GMT -5. The time now is 02:19 AM.