The micmute hotkey can't work on a Lenovo Thinkcenter AIO

Bug #1531362 reported by Hui Wang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
High
Hui Wang
linux (Ubuntu)
Fix Released
High
Hui Wang

Bug Description

1. $ arecord aa.wav. During recording, press 'mic-mute' key intermittently.
2. $ aplay aa.wav.

Expected result:
The aa.wav played intermittently.

Actual result:
Mic could not be mute, the sound play in whole range; Its LED is off always.

This is bug is for tracking purposes only, please do not triage.

Revision history for this message
Hui Wang (hui.wang) wrote :

The patches for Linux kernel driver have been merged to upstream.

commit c7b60a89516beb20a352ec85c73a8fccd5becf26
Author: Hui Wang <email address hidden>
Date: Mon Dec 28 11:35:25 2015 +0800

    ALSA: hda - Add keycode map for alc input device

    Then users can remap the keycode from userspace. If without the remap,
    the input device will pass KEY_MICMUTE to userspace, but in X11 layer,
    it uses KEY_F20 rather than KEY_MICMUTE for XF86AudioMicMute. After
    adding the keycode map, users can remap the keycode to any value users
    want.

    Cc: <email address hidden>
    Signed-off-by: Hui Wang <email address hidden>
    Signed-off-by: Takashi Iwai <email address hidden>

commit 3694cb2947db50753caf432db067487eafae7b9b
Author: Kailang <email address hidden>
Date: Mon Dec 28 11:35:24 2015 +0800

    ALSA: hda - Add mic mute hotkey quirk for Lenovo ThinkCentre AIO

    The Lenovo ThinkCenter AIO uses Line2 (NID 0x1b) to implement the
    micmute hotkey, here we register an input device and use Line2 unsol
    event to collect the hotkey pressing or releasing.

    In the meanwhile, the micmute led is controlled by GPIO2, so we
    use an existing function alc_fixup_gpio_mic_mute_hook() to control
    the led.

    [Hui: And there are two places to register the input device, to make
    the code simple and clean, move the two same code sections into a
    function.]

    Cc: <email address hidden>
    Signed-off-by: Kailang <email address hidden>
    Signed-off-by: Hui Wang <email address hidden>
    Signed-off-by: Takashi Iwai <email address hidden>

Changed in hwe-next:
importance: Undecided → High
assignee: nobody → Hui Wang (hui.wang)
Revision history for this message
Hui Wang (hui.wang) wrote :

To fix this problem, we also need a udev (systemd) keyboard remap patch

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1531362

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Hui Wang (hui.wang)
Changed in hwe-next:
status: New → Fix Committed
Changed in linux (Ubuntu):
status: Incomplete → Fix Committed
Hui Wang (hui.wang)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Changed in hwe-next:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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