How to disable touch pad in asus k40IN series? I do not see touch pad settings?
This happend to me on a Asus U81 (Best Buy version of the U80) which has the Elantech mousepad
9.10 includes an X configuration utility called xinput. It is a command line tool. To see the many things you can do with this simply type xinput at a shell prompt.
Start by typing in:
This will show you all the input devices attached to your computer. You will need to know your mousepad's id to continue. On My Asus laptop the internal pointer was found as a "ImPS/2 Logitech Wheel Mouse". The Id I get after booting my system with my external mouse attached is 10.
Next you need to know how to disable the mousepad. So you need to know what properties it supports. the command is "xinput list-props" followed by your mousepad's id number, which for me was:
xinput list-props 10
The "Device Enabled" was what I needed to be able to use to switch it off. On my laptop this line was "Device Enabled (97): 1". The parenthesized number is the properties id number, the 1 that follows it is the value (0 will turn it off).
So now I need to set it such that the mousepad is disabled. My mousepad id is 10, property id I want to set is 97 and I need to set the property value to be 0. The option for xinput is set-int-prop which needs deviceid, propertyid, format of the value (8, 16, or 32 bit), and the value itself. For me this is:
xinput set-int-prop 10 97 8 0
To turn it back on:
xinput set-int-prop 10 97 8 1
Since this does its work on the X in memory it is not persistent. If you log out and back in the mousepad will be active again. This is desired behavior for me as I occasionally need to be able to use the laptop without my external mouse.
When I get a little time, I will write a small shell script that can toggle it on or off based on a grep of the output of "xinput list" and bind it to a key combination so I can do this without having to drop out to a script. (EDIT NOTE: See post #15 in this thread if you want the scripts)
One last note, xinput interacts with X. It will not be able to function at a normal terminal screen not running under your X. It will work just fine in an xterminal (the one under accessories menu).
Hope this helps.
Feb 19, 2010 |
ASUS K40IN Notebook