[Bug 899008] [NEW] Asus touchpad disabling doesn't work. Found the error in getXconsole.
Vegard Loekken
899008 at bugs.launchpad.net
Fri Dec 2 08:36:19 UTC 2011
Public bug reported:
After following the trace of my /etc/acpi/asus-touchpad.sh, I found that
the error was in the getXconsole function of /usr/share/acpi-support
/power-funcs.
When asus-touchpad.sh is runned, it is runned as root (understandably),
but that makes this line fail:
displaynum=`ps t tty$console | sed -n -re 's,.*/X .*:([0-9]+).*,\1,p'`
since that only gets root's processes.
I changed it to:
displaynum=`ps at tty$console | sed -n -re 's,.*/X .*:([0-9]+).*,\1,p'`
and now it works like a charm.
Just thaught I should mention it, so that the authors can fix it, but
also so that other users with the same problem can fix it themself.
Extra information:
Description: Ubuntu 11.10
Release: 11.10
acpi-support:
*** 0.138 0
500 http://no.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
** Affects: acpi-support (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to acpi-support in Ubuntu.
https://bugs.launchpad.net/bugs/899008
Title:
Asus touchpad disabling doesn't work. Found the error in getXconsole.
Status in “acpi-support” package in Ubuntu:
New
Bug description:
After following the trace of my /etc/acpi/asus-touchpad.sh, I found
that the error was in the getXconsole function of /usr/share/acpi-
support/power-funcs.
When asus-touchpad.sh is runned, it is runned as root
(understandably), but that makes this line fail:
displaynum=`ps t tty$console | sed -n -re 's,.*/X .*:([0-9]+).*,\1,p'`
since that only gets root's processes.
I changed it to:
displaynum=`ps at tty$console | sed -n -re 's,.*/X
.*:([0-9]+).*,\1,p'`
and now it works like a charm.
Just thaught I should mention it, so that the authors can fix it, but
also so that other users with the same problem can fix it themself.
Extra information:
Description: Ubuntu 11.10
Release: 11.10
acpi-support:
*** 0.138 0
500 http://no.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/899008/+subscriptions
More information about the foundations-bugs
mailing list