Bug 605560 - mute key is not working on x200 laptop
mute key is not working on x200 laptop
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel (Show other bugs)
6.1
All Linux
medium Severity medium
: rc
: ---
Assigned To: John Feeney
Red Hat Kernel QE team
: Regression
Depends On:
Blocks: 645454
  Show dependency treegraph
 
Reported: 2010-06-18 05:31 EDT by CAI Qian
Modified: 2013-01-10 02:25 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The hardware mute button on Lenovo ThinkPad X200 notebooks does not work. Note, however, that the volume down and volume up buttons function correctly.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-15 11:05:02 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
alsa log (17.69 KB, text/plain)
2010-06-24 10:21 EDT, CAI Qian
no flags Details
dmesg (82.89 KB, text/plain)
2010-07-20 10:48 EDT, CAI Qian
no flags Details

  None (edit)
Description CAI Qian 2010-06-18 05:31:03 EDT
Description of problem:
The mute key is not working on my x200 laptop. Not sure which component this is, so feel free to assign to a more proper one.

Version-Release number of selected component (if applicable):
metacity-2.28.0-15.el6.x86_64
gnome-panel-libs-2.28.0-24.el6.x86_64
gnome-desktop-2.28.2-7.el6.x86_64
gnome-settings-daemon-2.28.2-5.el6.x86_64
gnome-applets-2.28.0-5.el6.x86_64
gnome-media-2.29.91-6.el6.x86_64

How reproducible:
always
Comment 1 Bastien Nocera 2010-06-21 08:34:39 EDT
What's the output of "xev" when you press that button?
Comment 2 CAI Qian 2010-06-21 11:24:12 EDT
No output at all.
Comment 3 Bastien Nocera 2010-06-21 12:07:46 EDT
Then it's the kernel that's missing support for it.
Comment 4 Peter Martuccelli 2010-06-23 14:25:20 EDT
Maybe an ALSA support issue.
Comment 5 Jaroslav Kysela 2010-06-24 07:49:21 EDT
Please, attach output from the 'alsa-info.sh --no-upload' command.
Comment 6 CAI Qian 2010-06-24 10:21:37 EDT
Created attachment 426590 [details]
alsa log
Comment 8 Jaroslav Kysela 2010-07-16 10:07:00 EDT
Could you, please, try the hda-analyzer to see if there are some changes in the GPIO pins? Run as root:

# wget -O run.py http://www.alsa-project.org/hda-analyzer.py
# python run.py --monitor

The changes inside the HDA codec registers should be printed (if you change mixer settings etc.). I need only information what changes when you press the mute button. You can break the application using Ctrl-C.
Comment 9 Jaroslav Kysela 2010-07-16 10:14:27 EDT
Also note that the GPIO pins may be enabled at first in hda-analyzer (try it if no changes appears with the first --monitor run):

# python run.py

- select codec on left tree
- mark all GPIO check boxes named 'enabled' in the right window
Comment 10 CAI Qian 2010-07-16 10:16:06 EDT
# python run.py --monitor
Using temporary directory: /dev/shm/hda-analyzer
You may remove this directory when finished or if you like to
download the most recent copy of hda-analyzer tool.
Downloading file hda_analyzer.py
Downloading file hda_guilib.py
Downloading file hda_codec.py
Downloading file hda_proc.py
Downloading file hda_graph.py
Downloaded all files, executing hda_analyzer.py
Traceback (most recent call last):
  File "/dev/shm/hda-analyzer/hda_analyzer.py", line 484, in <module>
    sys.exit(main(sys.argv))
  File "/dev/shm/hda-analyzer/hda_analyzer.py", line 461, in main
    if read_nodes(sys.argv[1:]) == 0:
  File "/dev/shm/hda-analyzer/hda_analyzer.py", line 90, in read_nodes
    read_nodes2(c.card, i)
  File "/dev/shm/hda-analyzer/hda_analyzer.py", line 74, in read_nodes2
    DIFF_TREE[card][c.device] = c.dump()
  File "/dev/shm/hda-analyzer/hda_codec.py", line 1157, in dump
    str += self.dump_node(self.nodes[i])
  File "/dev/shm/hda-analyzer/hda_codec.py", line 1320, in dump_node
    str += self.dump_node_extra(node)
  File "/dev/shm/hda-analyzer/hda_codec.py", line 1359, in dump_node_extra
    return self.proc_codec.dump_node_extra(node)
  File "/dev/shm/hda-analyzer/hda_proc.py", line 758, in dump_node_extra
    node = self.proc_nids[node.nid]
KeyError: 16
Comment 11 Jaroslav Kysela 2010-07-17 03:16:59 EDT
Thanks. I fixed this issue. Remove '/dev/shm/hda-analyzer' directory and run.py script and do things again.
Comment 12 CAI Qian 2010-07-18 03:36:32 EDT
(In reply to comment #9)
> Also note that the GPIO pins may be enabled at first in hda-analyzer (try it if
> no changes appears with the first --monitor run):
> 
> # python run.py
> 
> - select codec on left tree
> - mark all GPIO check boxes named 'enabled' in the right window    
I printed out nothing even after this change.
Comment 13 Jaroslav Kysela 2010-07-18 12:30:29 EDT
Ok, then this issue does not seem to be ALSA related. Just for sure - if you change volume settings, the monitor command shows some changes?

It seems like an ACPI bug. It would be probably good to consult this issue with Lenovo to have information where is the button connected.

Also, this bug is marked as regression. In which configuration the mute button works?
Comment 14 CAI Qian 2010-07-18 22:29:56 EDT
(In reply to comment #13)
> Ok, then this issue does not seem to be ALSA related. Just for sure - if you
> change volume settings, the monitor command shows some changes?
Yes.

> It seems like an ACPI bug. It would be probably good to consult this issue with
> Lenovo to have information where is the button connected.
> 
> Also, this bug is marked as regression. In which configuration the mute button
> works?    
RHEL5 if I remember correctly.
Comment 15 Jaroslav Kysela 2010-07-20 10:13:58 EDT
I believe that it's not an ALSA issue. The RHEL5 audio driver has no extra support for mute key.

Google figured that it might be an ACPI issue:

https://patchwork.kernel.org/patch/96328/
Comment 16 Matthew Garrett 2010-07-20 10:27:58 EDT
Can you define what you mean by "Doesn't work"? Thinkpads have a separate mixer element controlled by the mute key, so you shouldn't expect any notification from it.
Comment 17 CAI Qian 2010-07-20 10:33:20 EDT
If you press mute key, the sound did not mute and there is no pop up icon. volume up and volume down keys are working both functionally and icon popup.
Comment 18 Matthew Garrett 2010-07-20 10:42:53 EDT
Could you attach the dmesg output after boot?
Comment 19 CAI Qian 2010-07-20 10:48:29 EDT
Created attachment 433188 [details]
dmesg
Comment 20 Peter Martuccelli 2010-08-02 11:11:25 EDT
Added a release note, and moved the BZ out to R6.1.
Comment 21 Peter Martuccelli 2010-08-02 11:11:25 EDT
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.

New Contents:
Mute key does not work on x200 laptops.  The volume up and down keys are functional and should be used to control output volume.
Comment 25 Ryan Lerch 2010-09-16 23:06:35 EDT
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Mute key does not work on x200 laptops.  The volume up and down keys are functional and should be used to control output volume.+The hardware mute button on Lenovo ThinkPad X200 notebooks does not work. Note, however, that the volume down and volume up buttons function correctly.
Comment 27 RHEL Product and Program Management 2010-10-28 13:09:36 EDT
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.
Comment 28 Matthew Garrett 2010-11-15 10:56:49 EST
We don't have any of these machines available in Westford (they're no longer manufactured) and we don't seem to have any feedback from customers requesting this, so I'm inclined to drop this for 6.1.
Comment 29 RHEL Product and Program Management 2010-11-15 11:05:02 EST
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.

Note You need to log in before you can comment on or make changes to this bug.