[Pkg-acpi-devel] Bug#701206: acpid: Mic mute button on Thinkpad X230 is not recognized
Ted Felix
ted at tedfelix.com
Wed Apr 24 12:28:34 UTC 2013
On 04/24/2013 04:21 AM, Marek Elias wrote:
> Input Layer: Type: 1 Code: 28 Value: 0
That's the Enter key. Nothing to worry about.
> Input Layer: Type: 1 Code: 248 Value: 1
This is "KEY_MICMUTE". That can easily be added to acpid by adding
the following lines to input_layer.c:
{{{0,0}, EV_KEY, KEY_MICMUTE, 1},
"button/micmute MICMUTE 00000080 00000000"},
Add them to the "/*** AUDIO ***/" section. Rebuild and try it.
acpid should receive mic mute events. This doesn't mean it will do
anything with them. You'll need to add a config file and a script to
make something useful happen. See the man page.
If this works and you find this helpful, let me know and I'll include
this change in the next release.
If you just wanted the mic mute button to work in your window manager
(e.g. Gnome or KDE), then it's best to get them to support these
keys/buttons. acpid is geared more towards those who are not running a
window manager (servers). You can still use it for this, but it's not
really the best solution.
> The led inside mic mute button also does not switch on/off. This works
> fine for normal mute button.
Your script for acpid will need to turn the light on and off. Most
likely, your window manager is doing this already for the mute button,
but it is not aware of the mic mute button and the LED.
Ted.
More information about the Pkg-acpi-devel
mailing list