[Bug 408903] Re: Does not handle microphone mute button (KEY_MICMUTE)
whelderwheels613
408903 at bugs.launchpad.net
Mon Feb 4 00:39:47 UTC 2013
Edit:
As I have just discovered, the acpi scripts do not appear to be working
in 12.10 x64 on a lenovo t430. Using both the method described in the
link I posted and Chris Van Hoof's, I can't get the acpi events system
to execute the micmute.sh script. I followed both guides _exactly_. I
can manually invoke the script, but that defeats the purpose of having
the button. This is a simple script I created as a workaround for this
issue:
#!/bin/bash
while true
do
event="`acpi_listen -c 1`"
if [[ $event == "ibm/hotkey HKEY 00000080 0000101b" ]]
then
bash /etc/acpi/micmute.sh
fi
done
To use it, set it to be executable and add the path to the script in
/etc/rc.local
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/408903
Title:
Does not handle microphone mute button (KEY_MICMUTE)
Status in “gnome-settings-daemon” package in Ubuntu:
Triaged
Status in “udev” package in Ubuntu:
Triaged
Status in “xserver-xorg-input-evdev” package in Ubuntu:
Triaged
Status in “gnome-settings-daemon” source package in Raring:
Triaged
Status in “udev” source package in Raring:
Triaged
Status in “xserver-xorg-input-evdev” source package in Raring:
Triaged
Bug description:
Ubuntu 9.04
Pressing the new microphone mute button does not do anything. It
should toggle the mute on the current capture device and toggle an led
that is part of the button.
acpi_listen output:
ibm/hotkey HKEY 00000080 0000101b
xev output:
MappingNotify event, serial 34, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
MappingNotify event, serial 34, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 247
KeyPress event, serial 34, synthetic NO, window 0x3400001,
root 0x118, subw 0x0, time 10334714, (317,-162), root:(322,207),
state 0x0, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x3400001,
root 0x118, subw 0x0, time 10334714, (317,-162), root:(322,207),
state 0x0, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/408903/+subscriptions
More information about the foundations-bugs
mailing list