Asus U30JC TouchPad Lock (Fn + F9) to squeeze Debian / sid

There seems to be a problem in detecting the touchpad in some models of Asus laptops, and my u30jc squeeze running a Debian / sid 32 bit is no exception. In fact if you run the command console $ xinput list we see that the touchpad is incorrectly recognized as a "ImPS / 2 Logitech Wheel Mouse", and thus the combination Fn + F9 to enable / disable the device is not working. For the moment we can perform a simple workaround by changing acpi scripts associated with the desired function

To start we:

$ sudo acpi_listen

And we press Fn + F9 for associated event code, in this case: hotkey ATK0100:00 0000006b (...) . The last part will change depending on the number of times to repeat the action. Then open the file / etc / acpi / events / asus-touchpad and change the line:

  1. ATKD | HOTK ) ( 0000006 [ ab ] | 00000037 ) #(por) event = hotkey (ATKD | Hotka) (0,000,006 [ab] | 00,000,037) # (for)
  2. 0000006b event = hotkey ATK0100: 00 0000006b

Finally, it should make some changes to the script associated with the event located at / etc / acpi / asus-touchpad.sh:

  1. grep 'SynPS/2 Synaptics TouchPad' | sed -n -e 's/.*id= \( [0-9] \+ \) .*/ \1 /p' ` #(por) XINPUTNUM = `xinput list | grep 'SynPS / 2 Synaptics TouchPad' | sed-n-e 's / .* id = \ ([0-9] \ + \) .* / \ 1 / p'` # (for )
  2. grep 'ImPS/2 Logitech Wheel Mouse' | sed -n -e 's/.*id= \( [0-9] \+ \) .*/ \1 /p' ` XINPUTNUM = `xinput list | grep" ImPS / 2 Logitech Wheel Mouse "| sed-n-e 's / .* id = \ ([0-9] \ + \) .* / \ 1 / p'`
  3. | awk '/Synaptics Off/ { print $NF }' ` #(por) TPSTATUS = `list-props xinput $ XINPUTNUM | awk '/ Synaptics Off / (print $ NF)'` # (for)
  4. | awk '/Device Enabled/ { print $NF }' ` TPSTATUS = `list-props xinput $ XINPUTNUM | awk '/ Device Enabled / (print $ NF)'`
  5. 8 1 #(por) xinput set-int-prop $ XINPUTNUM "Synaptics Off" 8 1 # (for)
  6. 8 1 xinput set-int-prop $ XINPUTNUM "Device Enabled" August 1
  7. 8 0 #(por) xinput set-int-prop $ XINPUTNUM "Synaptics Off" 8 0 # (for)
  8. 8 0 xinput set-int-prop $ XINPUTNUM "Device Enabled" 8 0

Made the changes just restart the computer to complete the job.

I've also created a patch for the file-touchpad.sh asus


Read more