Page 1 of 1

Synaptics touchpad turn off function

PostPosted: Apr 24th, '12, 21:37
by dandys997
Hi,
I'm running Mageia 1 (or 2 beta 3, there are the same) on my HP 630 laptop. There's a Synaptics touchpad with a hole in the top left corner. When I tap two times quickly on this hole, the LED starts lighting and the touchpad is turned off:

Image

Unfortunately - now it only works on Windows.

Is it possible to make this function available on Mageia? Thanks in advance for help.

Re: Synaptics touchpad turn off function

PostPosted: Apr 26th, '12, 17:51
by djennings
I do not have a Synaptics touchpad, but I do know how to enable/disable a touchpad using a keyboard key binding.

In the touchpad section of your /etc/X11/xorg.conf file add the option
Code: Select all
Option "SHMConfig" "on"

reboot for the new option to take effect.

Now using whatever desktop manager you use, create a key binding to run the command
Code: Select all
synclient TouchpadOff=1
1= disable 0=enable

If you create a script called trackpad-toggle.sh containing
Code: Select all
 #!/bin/bash
 synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')

then calling the script in a key binding will toggle the trackpad on and off.

See the Arch Linux Wiki for more
https://wiki.archlinux.org/index.php/Touchpad_Synaptics

Re: Synaptics touchpad turn off function

PostPosted: Apr 27th, '12, 18:20
by dandys997
I know it's the one of workarounds, but I would like to use this hole to disable/enable touchpad.

I've used for a while SuSE Linux Enterprise Desktop and it works there (without LED lighting), so I asked if it is possible in Mageia.

Re: Synaptics touchpad turn off function

PostPosted: Apr 27th, '12, 19:53
by doktor5000
You should take a look which driver is used under SLED for this touchpad, and probably open a terminal and do the following as root (also under SLED)
Code: Select all
tailf /var/log/messages


and then press that touchpad-disable-thingie to see what happens to disable it.
Or alternatively check via "xev" if it sends a proper keypress.

Re: Synaptics touchpad turn off function

PostPosted: Apr 30th, '12, 16:33
by dandys997
I'm afraid I can't do this. Touchpad turn off function workend on the preinstalled version of SLED. I've deleted that version and try to install standard SLED. Unfortunately, turning off touchpad by double tap on a gap in the corner doesn't work.

I think I should post a request of this funcion on bugzilla. Moreover - I found a patch for Synaptics drivers which enabled LED (https://github.com/perusio/xorg-synapti ... .4.0.patch).

Re: Synaptics touchpad turn off function

PostPosted: Apr 30th, '12, 20:41
by doktor5000
If you have reported that bug, please post the link here, and feel free to assign that bug to me, i'll take a look then.
Also, when you have some linux preinstalled, there are mostly always slight modifications, which may not be necessarily contained in a "vanilla" version of the same distribution.

Re: Synaptics touchpad turn off function

PostPosted: Apr 30th, '12, 21:09
by dandys997