[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
This version has expired long ago ** Changed in: acpid (Ubuntu) Status: Confirmed = Invalid ** Changed in: acpi-support Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 To manage notifications about this bug go to: https://bugs.launchpad.net/acpi-support/+bug/713278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
** Description changed: Binary package hint: acpid The Hotkey for dis/enabling the touchpad isn't working for me. I tried to track the Problem down, but without luck. While pressing the key, acpi_listen says: hotkey ATKD 006b This is the correct entry in /etc/acpi/events/asus-touchpad. I've tried to run /etc/acpi/asus-touchpad.sh manually, but all I got was: - nordlicht@Demian:/etc/acpi$ ./asus-touchpad.sh + user@Demian:/etc/acpi$ ./asus-touchpad.sh Couldn't find a filedescriptor that points to the terminal. - nordlicht@Demian:/etc/acpi$ sudo ./asus-touchpad.sh + user@Demian:/etc/acpi$ sudo ./asus-touchpad.sh awk: line 1: regular expression compile failed (missing '(') :0) No protocol specified Unable to connect to X server No protocol specified Unable to connect to X server - - After changing #!/bin/sh to #!/bin/bash in /etc/acpi/asus-touchpad.sh I am able to run the Script manually (it works) but the hotkey is still useless. + After changing #!/bin/sh to #!/bin/bash in /etc/acpi/asus-touchpad.sh I + am able to run the Script manually (it works) but the hotkey is still + useless. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: acpid 1.0.10-5ubuntu4 ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10 Uname: Linux 2.6.35-25-generic i686 Architecture: i386 Date: Fri Feb 4 19:51:45 2011 ProcEnviron: - LANG=de_DE.utf8 - SHELL=/bin/bash + LANG=de_DE.utf8 + SHELL=/bin/bash SourcePackage: acpid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 To manage notifications about this bug go to: https://bugs.launchpad.net/acpi-support/+bug/713278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
Having the same issue. Script asus-touchpad.sh is called when pressing special key, but nothing happens. With some debugging I found $XINPUTNUM remains empty. When running script from console and getXconsole is disabled everything works fine... Maybe this information helps resolving this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 To manage notifications about this bug go to: https://bugs.launchpad.net/acpi-support/+bug/713278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
I'm running Linux Mint 11 Katya, which is based on Ubuntu 11.04 Natty. I just tried the trick in reply #5, adding the hotkey to gnome- keybinding-properties, and the Fn+F9 combination finally works to enable and disable the touchpad on my Asus G73JH laptop. I did not have to edit or alter /etc/acpi/asus-touchpad.sh at all. What I find interesting is that the hotkey event handler /etc/acpi/events/asus-touchpad does not appear to work at all, even though it has the proper hotkey definition according to acpi_listen. As far as I could tell, the hotkey was not being trapped at all. With Ubuntu 10.10, I had the opposite issue: The hotkey event handler worked, properly passing control to asus-touchpad.sh, but the sh script itself would hang at the first xinput command. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
My previous solution @#5 with the manually added Hotkey isn't working anymore on Natty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
I have to correct myself: it is working, but only after changing #!/bin/sh in the Script to #!/bin/bash. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
I'm also using Ubuntu 11.04. I've note that xinput list don't return anything when script is called by acpi but If I call the script directly from console, it works. I create a script to test this. ** Attachment added: teste.sh https://bugs.launchpad.net/acpi-support/+bug/713278/+attachment/2107212/+files/teste.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
It would also be nice if someone could link this Bug against Ubuntu 11.04 (which I'm using now). The Bug is there too, workaround is also usable. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
I am having the same issue with my Asus K52JT laptop. This laptop has 'Elantech' touchpad so I fixed the `asus-touchpad.sh` accordingly (see the attachment). Now the problem is that, touchpad is only enable/disable in GDM screen. Once I logged in, acpid is throwing the same error. No protocol specified Unable to connect to X server ** Attachment added: asus-touchpad.sh https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/713278/+attachment/1857335/+files/asus-touchpad.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
I think I found the solution. Here is the update `asus-touchpad.sh` (for Elantech touchpad). The trick is to run the `xinput` with current user test $user alias xinput=sudo -u $user xinput Now, if user is logged in the `xinput` command will be run with the current user. BTW, I think the `asus-touchpad.sh` should be fixed to handle both `Synaptics and Elantech` touchpad. ** Attachment added: asus-touchpad.sh https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/713278/+attachment/1857420/+files/asus-touchpad.sh ** Changed in: acpid (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
** Also affects: acpid Importance: Undecided Status: New ** Project changed: acpid = acpi-support ** Changed in: acpi-support Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
Many thanks Amit, but I guess 'asus-touchpad.sh' alone isn't the full solution. I've changed the file to work with my Synaptics-Touchpad and it works fine, but... only if I run the file manually. The Hotkey is still not working. I've tested Debain6 in the meantime, the error is the same there. Maybe this should also reported upstream? I've attached the changed file that works with Synaptics. ** Attachment added: asus-touchpad.sh https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/713278/+attachment/1857493/+files/asus-touchpad.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
Ok, got the Hotkey working. What I've done: I created a new command with gnome-keybinding- properties, pointed it to /etc/acpi/asus-touchpad.sh, and used the Hotkey for it. That works, but is only a workaround. That should, of course, run out of the box. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 713278] Re: Touchpad Hotkey not working on Asus V6
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs