Synaptics / Alps Touch Pad driver (UPDATED again!)

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

Synaptics / Alps Touch Pad driver (UPDATED again!)

#1 Post by kirk »

If you have a Synaptics Touch Pad for a mouse on your laptop you're probably well aware of how annoying the "tap to click" function can be. Sometimes when you touch the pad to move the mouse it will click the left mouse button :evil: . This seems to be worse in Puppy2.

Here's a dotpup that will install a Synaptics driver I compiled in Puppy2 and modify xorg.conf to set it up. It will make a backup of xorg.conf in case things go south, but you might want to boot ram only to test it. I've disabled "tap to click", but if you want it enabled open up xorg.conf and change MaxTapTime to about 130. You can also adjust the mouse speed and side scrolling in xorg.conf.

This is only for puppy 2 with Xorg.

EDIT: See my 12/13/06 post below for and updated dotpup for Puppy 212 and Alps touch pads too!
Attachments
synaptics.pup
(22.88 KiB) Downloaded 1043 times
Last edited by kirk on Tue 02 Jan 2007, 01:10, edited 2 times in total.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

That's great :D

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

Thanks Kirk

#3 Post by Ted Dog »

I thought my fingers are getting worse, thanks for the dot.pup & a bit more peace-of-mind.

User avatar
M.Gregg
Posts: 125
Joined: Sun 01 Jan 2006, 14:54
Location: UK

Puppy 2 mouse

#4 Post by M.Gregg »

Hi,

I have loaded the driver but Xorg.conf does not show the mouse?
#Special base config file used in Puppy Linux.

# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "type1"
Load "freetype"

# This loads the GLX module
Load "glx"

# This loads xtrap extension, used by xrandr
Load "xtrap"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.

# Option "DontVTSwitch"

# Enables mode switching with xrandr

Option "RandR" "on"

EndSection

#everything past here is auto-generated by Puppy's XorgWizard...


Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "gb" #xkeymap0
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto" #mouse0protocol
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
#Option "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5-48.5
VertRefresh 56-72
#UseModes "Modes0" #monitor0usemodes
EndSection

Section "Modes"
Identifier "Modes0"
#modes0modeline0
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
Identifier "Card0"
Driver "vesa" #card0driver
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768"
EndSubsection
EndSection



Regards
Michael

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#5 Post by kirk »

I guess your using Puppy 2.02. The dotpup worked for me with 2.02. The dotpup first makes a back-up of your xorg.conf file and calls it xorg.conf-synaptic. So you should have 3 xorg files in /etc/X11 :

xorg.conf ---- This is the current config file used by Xorg.

xorg.conf-synaptic ---- This is the backup made by the dotpup.

xorg.conf0 ---- This is the base file xorgwizard uses to make xorg.conf.

The dotpup should have modified the xorg.conf file. Here's my xorg.conf:

#Special base config file used in Puppy Linux.

# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
Load "synaptics"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "type1"
Load "freetype"

# This loads the GLX module
Load "glx"

# This loads xtrap extension, used by xrandr
Load "xtrap"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.

# Option "DontVTSwitch"

# Enables mode switching with xrandr

Option "RandR" "on"

EndSection

#everything past here is auto-generated by Puppy's XorgWizard...


Section "ServerLayout"
InputDevice "Synaptics Mouse" "AlwaysCore"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto" #mouse0protocol
Option "Device" "/dev/mouse"
#Option "Emulate3Buttons"
#Option "Emulate3Timeout" "50"
Option "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "0"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.10"
Option "MaxSpeed" "0.30"
Option "AccelFactor" "0.0030"
Option "SHMConfig" "on"
#Option "Repeater" "/dev/ps2mouse"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5-48.5
VertRefresh 40-70
#UseModes "Modes0" #monitor0usemodes
EndSection

Section "Modes"
Identifier "Modes0"
#modes0modeline0
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "PanelOff" # [<bool>]
#Option "DDCMode" # [<bool>]
#Option "MonitorLayout" # [<str>]
#Option "IgnoreEDID" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
#Option "MergedFB" # [<bool>]
#Option "CRT2HSync" # [<str>]
#Option "CRT2VRefresh" # [<str>]
#Option "CRT2Position" # [<str>]
#Option "MetaModes" # [<str>]
#Option "MergedDPI" # [<str>]
#Option "NoMergedXinerama" # [<bool>]
#Option "MergedXineramaCRT2IsScreen0" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
Identifier "Card0"
Driver "ati" #card0driver
VendorName "ATI Technologies Inc"
BoardName "Radeon Mobility M7 LW [Radeon Mobility 7500]"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768"
EndSubsection
EndSection

User avatar
M.Gregg
Posts: 125
Joined: Sun 01 Jan 2006, 14:54
Location: UK

#6 Post by M.Gregg »

Hi,

I now have the synaptics touch pad working with the driver Brilliant.

I just set the tap time to 200 and i now have ALL the functions that i get with windows. This was the only thing stopping me upgrading to a puppy 2 hard drive install and moving away from my trusty 1.09CE desk top with KDE.

I am using the Seamonkey 2.01 distro.

Dot pup is here for any one having the same problem:

http://www.murga.org/~puppy/viewtopic.p ... =synaptics

Barry can this be put in the DOTPUP download please If this is O.K. with Kirk.


Thanks
Michael

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#7 Post by kirk »

This dotpup still works with puppy 2.12 beta.

theinfamousj
Posts: 88
Joined: Sun 03 Sep 2006, 12:54

#8 Post by theinfamousj »

Did I miss something? I can't find the DotPUP and this sounds like the perfect fix to a problem that is plaging me. Please let me know where I can find the DotPUP. I've looked on Google and the Package manager as well as done a forum search.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#9 Post by GuestToo »

no, the permissions on the (newly upgraded) forum are not quite right, so you can't see the attachment ... the owner of the attachment probably can

User avatar
debernardis
Posts: 180
Joined: Sat 12 Nov 2005, 08:01
Contact:

#10 Post by debernardis »

If you cannot get kirk's synaptic dotpup from the forums, go get my repacked version from http:/www.debernardis.it/dotpups where I archived my modified dotpups for rudypuppy.
The only difference in my repacked version is that it defaults to tap_and_drag.

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#11 Post by kirk »

I'm out of town right now, I,ll check it out when I get back.

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#12 Post by kirk »

Just tried downloading it. It's working now.

User avatar
lickthefrog2
Posts: 57
Joined: Wed 22 Nov 2006, 18:30

Alps Touchpad

#13 Post by lickthefrog2 »

I am using Muppy006 based on Puppy 2.12 on a Toshiba Satellite R15 laptop.

My touchpad is a Synaptic Alps.

The dotpup is great, but for Alps touchpad, the settings need to be configured manually. After installing the synaptic.pup, I found the file etc/X11/xorg.conf and change the values according to the file: README.alps:

I only had to change the number values and not all of the options listed below are present in my xorg.conf. I set MaxTapTime to zero to disable double-clicking.
Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.3"
Option "MaxSpeed" "0.75"
Option "AccelFactor" "0.015"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
EndSection
I tried to write that for people like me, who don't know squat or is it squash about Linux. Not having a touchpad scroll would mean me never using Linux. Thanks to Puppy Linux contributors, I can now run Linux as my main OS.

lickthefrog2

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#14 Post by kirk »

Today I got a dell d610 to replace my dell d640. The 640 had a Synaptics touch pad and the 610 has an Alps touch pad. :cry:

So I re-made the synaptics.pup. The install script will check if you have an Alps touch pad and make the appropriate changes to xorg.conf. If not, it makes changes to xorg.conf for the regular Synaptics touch pad. As before tap to click is disabled by default and a backup of xorg.conf is made in case you want to un-do it.

Thanks to lickthefrog2 for posting the alps stuff. Kept me from going crazy while downloading the latest driver!

I left the original post, didn't know how well this one would work with older Puppies.
Attachments
synaptics-alps.pup
(6.42 KiB) Downloaded 541 times
Last edited by kirk on Mon 01 Jan 2007, 22:37, edited 2 times in total.

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#15 Post by kirk »

I noticed that puppy with xorg 7.0 has the synaptics module included. So I repackaged the last dotpup with out it. I updated the file on the previous post.

The Mouse/Keyboard wizard could use an update with synaptics/alps included as an option. To get a Synaptics or Alps touchpad working all we need to do is modprobe evdev (required by the driver) and make the entries in xorg.conf. The scripting in the wizard is over my head, anybody want to give it a shot?

User avatar
Bill_Gates
Posts: 162
Joined: Wed 31 Jan 2007, 22:31
Location: Medina, Washington

#16 Post by Bill_Gates »

Thank you So MUCH! I installed the synaptics driver for my D600 and it works great! That "Tap" thing was driving me nuts! :x
Unfortunately now my mouse is now tediously slow. Which settings in the xorg.conf do I need change? :?

Section "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "0"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.10"
Option "MaxSpeed" "0.30"
Option "AccelFactor" "0.0030"
Option "SHMConfig" "on"
#Option "Repeater" "/dev/ps2mouse"
EndSection

-Bill

"Who needs Vista? Puppy Rules!" :P

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#17 Post by kirk »


Post Reply