Fn+F8 on thinkpad not working (and possibly on asus too)

Bug #447211 reported by Mephisto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Steve Langasek

Bug Description

Binary package hint: acpi-support

My thinkpad has Fn+F8 as hotkey for disabling the touchpad on the fly. However, it is not working on an uptodate karmic (I've just upgraded yesterday). I have traced the problem down to this line of code in /etc/acpi/asus-touchpad.sh:
TPSTATUS=`xinput list-props $XINPUTNUM | grep "Synaptics Off" | cut -f4`
running this manually does not do anything. changing this line to:
TPSTATUS=`xinput list-props $XINPUTNUM | grep "Synaptics Off" | cut -f3`
makes it work again.
Since this parsed output from the xinput tool, I suspect this is broken on asus laptops too, as I dont see why the output would be any different there.

Revision history for this message
Steve Langasek (vorlon) wrote :

  TPSTATUS=`xinput list-props $XINPUTNUM | grep "Synaptics Off" | cut -f4`

Except this is not what the asus-touchpad.sh script in the archive does at all! :) The one in the archive is known broken, apparently you have one that's quite a bit closer to functional than what we have in the archive right now -- perhaps you could post that version?

Revision history for this message
Mephisto (ferrylandzaat) wrote :

Hmm, now that you mention this, i do recall trying to fix a broken script like this a long time ago, but i assumed it would have been replaced by a version from the karmic package. I will post the script i have on my system tomorrow (im not on my laptop now), but i'm still not sure mine is any different from whats in karmic.

Revision history for this message
Steve Langasek (vorlon) wrote :

I guarantee that the script you've described in your bug report doesn't come from the karmic package. :)

Revision history for this message
Mephisto (ferrylandzaat) wrote :
Revision history for this message
Mephisto (ferrylandzaat) wrote :

I took a look at the script in the current karmic package, and you were right, i did write this myself, hence why all the old, non-working commented lines are still in there =)
Sorry for reporting a bug that i made myself, but i hope my script helps fix the touchpad button before karmic release, since the old synclient based script doesnt really work...
:)

Steve Langasek (vorlon)
Changed in acpi-support (Ubuntu):
assignee: nobody → Steve Langasek (vorlon)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote :

Thanks, I've modified this script a little, and will include a working script in the next upload.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package acpi-support - 0.128

---------------
acpi-support (0.128) karmic; urgency=low

  [ Steve Langasek ]
  * Get laptop-mode-tools out of Suggests. Finally-really-fixes LP: #74683.
  * Fix the touchpad handler to use xinput instead of (unreliable)
    synclient, and add a corresponding Recommends; and call getXconsole so
    we can actually talk to the X server. LP: #447211.
  * new events/asus-f8sv-touchpad: handle another touchpad ACPI event on
    another ASUS model. LP: #218598.
  * lib/power-funcs: adjust getXconsole to work when the tty number is not
    present on the X commandline.

  [ Felix Geyer ]
  * lib/policy-funcs: Recognize KDE4 PowerDevil as a power manager.
    LP: #387750.

 -- Steve Langasek <email address hidden> Mon, 12 Oct 2009 16:49:00 -0700

Changed in acpi-support (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.