Synaptics touchpad turn off function

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Synaptics touchpad turn off function

Postby dandys997 » Apr 24th, '12, 21:37

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.
dandys997
 
Posts: 17
Joined: Apr 24th, '12, 21:25

Re: Synaptics touchpad turn off function

Postby djennings » Apr 26th, '12, 17:51

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
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Synaptics touchpad turn off function

Postby dandys997 » Apr 27th, '12, 18:20

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.
dandys997
 
Posts: 17
Joined: Apr 24th, '12, 21:25

Re: Synaptics touchpad turn off function

Postby doktor5000 » Apr 27th, '12, 19:53

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Synaptics touchpad turn off function

Postby dandys997 » Apr 30th, '12, 16:33

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).
dandys997
 
Posts: 17
Joined: Apr 24th, '12, 21:25

Re: Synaptics touchpad turn off function

Postby doktor5000 » Apr 30th, '12, 20:41

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Synaptics touchpad turn off function

Postby dandys997 » Apr 30th, '12, 21:09

dandys997
 
Posts: 17
Joined: Apr 24th, '12, 21:25


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron