Continuing the saga of my new MSI Cx640 laptop ( or Notebook as they seem to be called these days), I've obtained scripts to turn the Sentelic Touchpad ( seen as a ps2mouse) on and off.

scripts are:-

#Touchpad_disable
#!/bin/sh
echo -n manual > /sys/module/psmouse/drivers/serio\:psmouse/bind_mode
echo serio1 > /sys/module/psmouse/drivers/serio\:psmouse/unbind

and

#TouchPad_enable
#!/bin/sh
echo -n auto > /sys/module/psmouse/drivers/serio\:psmouse/bind_mode
echo serio1 > /sys/module/psmouse/drivers/serio\:psmouse/bind

I can get these to work by running them in a Terminal as sudo

I cant get the following script to work automatically on boot:-

#/etc/udev/rules.d/01-touchpad.rules:
ACTION=="add", SUBSYSTEM=="input", KERNEL=="mouse[1-9]" ENV{ID_CLASS}="mouse", RUN+="/usr/local/bin/touchpad_disable" ACTION=="remove", SUBSYSTEM=="input", KERNEL=="mouse[1-9]" ENV{ID_CLASS}="mouse", RUN+="/usr/local/bin/touchpad_enable"

Nor can I get the Touchpad_enable/Touchpad_disable scripts to run from a Gnome Desktop Launcer ( Linux Mint 11).

Help appreciated.

Thanks
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to