Tiny Core Linux

General TC => General TC Talk => Topic started by: enoch on October 27, 2009, 05:07:38 PM

Title: turn off tapping
Post by: enoch on October 27, 2009, 05:07:38 PM
Loaded Xorg tried one synaptics driver after uncompressing the tarball could not make or install
Title: Re: turn off tapping
Post by: Juanito on October 27, 2009, 11:30:01 PM
Loaded Xorg tried one synaptics driver after uncompressing the tarball could not make or install

What error messages did you get?
Title: Re: turn off tapping
Post by: Juanito on October 28, 2009, 03:47:31 AM
synaptics driver extension posted if you'd like to test it  :)
Title: Re: turn off tapping
Post by: enoch on October 28, 2009, 06:55:10 AM
installed the synaptics extension entered synclient -l result was Can't access shared memory area. SHMConfig disabled? My goal is to turn off tapping making an entry in xorg.conf like MaxTapTime=0, would that do it?
Thanks,
Dave
Title: Re: turn off tapping
Post by: Juanito on October 28, 2009, 07:24:51 AM
..sorry, I posted the wrong version of synaptics.tcz by mistake.

I've posted the correct one now
Title: Re: turn off tapping
Post by: enoch on October 28, 2009, 12:50:54 PM
Thanks will try it tonight am I right about the MaxTapTime=0 in xorg.conf
Title: Re: turn off tapping
Post by: Juanito on October 28, 2009, 01:49:17 PM
That could work, but there's another setting with a value of 0, 1 or 2 which will turn off tapping when set to 2 - I can't think of the setting name right now, but it should be obvious from "synclient -l"
Title: Re: turn off tapping
Post by: Juanito on October 29, 2009, 06:07:37 AM
Go it:
Code: [Select]
TouchpadOff = 0,1,2

0 Touchpad is enabled
1 Touchpad is switched off
2 Only tapping and scrolling is switched off

GuestMouseOff = 0,1

0 enabled
1 off

..and now for the first time in xorg I can have either only the touchpad enabled or only the pointing stick enabled or both  :)
Title: Re: turn off tapping
Post by: enoch on October 29, 2009, 06:41:39 AM
uninstalled and reinstalled the synaptics extension synclient -l still results with Can't access shared memory area. SHMConfig disabled?
Title: Re: turn off tapping
Post by: Juanito on October 29, 2009, 06:46:43 AM
..just to be sure, did you create a suitable entry in xorg.conf loading the synaptics driver?
Title: Re: turn off tapping
Post by: enoch on October 29, 2009, 12:22:27 PM
 I installed the extension rebooted and then tried synclient -l are you saying xorg.conf needs to be created after the download?
Title: Re: turn off tapping
Post by: enoch on October 29, 2009, 12:25:37 PM
what would the entry be in xorg.conf to load the driver?
Title: Re: turn off tapping
Post by: Juanito on October 29, 2009, 12:51:19 PM
see the second post here:

http://forum.tinycorelinux.net/index.php?topic=3615.0 (http://forum.tinycorelinux.net/index.php?topic=3615.0)
Title: Re: turn off tapping
Post by: enoch on October 29, 2009, 01:55:26 PM
sorry I don't know what to do with that posting, what entry is needed in xorg.conf to setup the driver so synclient -l will yield info?
Title: Re: turn off tapping
Post by: Juanito on October 29, 2009, 02:15:27 PM
You need to have this section in its entirety:
Code: [Select]
Section "InputDevice"
Identifier "Alps Touchpad"
Driver  "synaptics"
Option "Device"  "/dev/psaux"
Option "Protocol" "auto-dev"
Option "SHMConfig" "true"
EndSection

..although only this line enables synclient:
Code: [Select]
Option "SHMConfig" "true"
..and the "ServerLayout" section needs this line:
Code: [Select]
InputDevice "Alps Touchpad"  "AlwaysCore"
Title: Re: turn off tapping
Post by: enoch on October 29, 2009, 05:03:34 PM
Thank you I will give it a try.
Title: Re: turn off tapping
Post by: enoch on October 30, 2009, 07:34:34 AM
First of all thanks for your "persistance" in working with me on this.
My system crashed after creating the xorg.conf file, I got it running with TinyCore norestore......
So I am back to Xorg is running synaptics.tcz is installed and no xorg.conf.
Title: Re: turn off tapping
Post by: Juanito on October 30, 2009, 08:02:33 AM
If you have a synaptics touchpad and the xorg synaptics driver is loaded before you "startx", then xorg "confless" might find the driver and load it automatically and it might set SHMConfig=true.

..but I doubt it.

To check, could you have a look in /var/log/Xorg.0.log after you "startx" and search for "synaptics"- if there is no mention of "synaptics" in the log, then the driver is not loaded and synclient will not work and you will need to create an xorg.conf in order for it to work.

You might be able to create a suitable xorg.conf by doing the following after exiting xorg:
Code: [Select]
$ sudo su
# Xorg -configure

If you paste the resulting xorg.conf here, I can suggest modifications to enable synaptics.


Title: Re: turn off tapping
Post by: enoch on October 30, 2009, 12:33:11 PM
Section "ServerLayout"
InputDevice      "Alps Touchpad"  "AlwaysCore"

Section "InputDevice"
   Identifier   "Alps Touchpad"
   Driver     "synaptics"
   Option       "Device"     "/dev/psaux"
   Option      "Protocol"   "auto-dev"
   Option      "SHMConfig"   "true"
EndSection

This is the xorg.conf file I created in etc/X11 and then added this line to opt/.filetool.lst etc/X11/xorg.conf
Title: Re: turn off tapping
Post by: Juanito on October 30, 2009, 03:33:39 PM
I don't believe that would work - if only because you would need a matching EndSection to go with Section "ServerLayout". Even then, you will probably need to add lines for your keyboard and display.

Did you try "Xorg -configure"?
Title: Re: turn off tapping
Post by: enoch on October 31, 2009, 09:32:29 PM
Xorg -configure result was Fatal server error.

This is the xorg.conf I used

Section "ServerLayout"
Identifier  "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice  "Alps Touchpad"  "AlwaysCore"
InputDevice   "Keyboard0"  "CoreKeyboard"
EndSection

Section   "InputDevice"
Identifier  "Alps Touchpad"
Driver  "synaptics"
Option   "Device"     "/dev/psaux"
Option    "Protocol"   "auto-dev"
Option     "SHMConfig"    "true"
EndSection

after rebooting I did not get the normal Desktop but this

xauth: creating new authority file /home/tc/.Xauthority
Network device eth0 detected DHCP broadcasting for IP
tc@box~$

Thanks again for your persistence.
Title: Re: turn off tapping
Post by: Juanito on October 31, 2009, 11:53:53 PM
There are a couple of things you could try:

1. Run "Xorg -configure" again and keep a copy of the xorg.conf it creates to modify and get working.
2. Google on your machine's name and xorg.conf to get something off the web that would work.
Title: Re: turn off tapping
Post by: enoch on November 03, 2009, 03:48:41 PM
Hallelujah! I have a parameters list with synclient, may I ask where do I add parameter entries to xorg.conf?  for example FingerPress=255 change to 400, MaxTapTime=180 and TouchpadOff=2
Title: Re: turn off tapping
Post by: Juanito on November 03, 2009, 10:31:13 PM
Like this:
Code: [Select]
Section   "InputDevice"
Identifier  "Alps Touchpad"
Driver  "synaptics"
Option   "Device"     "/dev/psaux"
Option    "Protocol"   "auto-dev"
Option     "SHMConfig"    "true"
Option "FingerPress" "400"
Option "MaxTapTime" "180"
Option "TouchpadOff" "2"
EndSection