diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2009-12-15 18:51:09 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-15 23:57:26 -0500 |
commit | a112ceee673629afc204bf6b4a4828a6143a083f (patch) | |
tree | 688f07e2ba0dd22dffb265dbb3b9bdbc818bc5a5 /Documentation | |
parent | 329e4e18dfdc552f36b0642a3de5ebfa96063666 (diff) |
thinkpad-acpi: support MUTE-only ThinkPads
Lenovo removed the extra mixer since the T61 and thereabouts.
Newer Lenovo models only have the mute gate function, and leave
the volume control to the HDA mixer.
Until a way to automatically query the firmware about its audio
control capabilities is discovered (there might not be any), use a
white/black list.
We will likely need to ask T60 (old and new model) and Z60/Z61 users
whether they have volume control to populate the black/white list.
Meanwhile, provide a volume_capabilities parameter that can be used to
override the defaults.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Lorne Applebaum <lorne.applebaum@gmail.com>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/laptops/thinkpad-acpi.txt | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt index 96687d0106a..bd87682103c 100644 --- a/Documentation/laptops/thinkpad-acpi.txt +++ b/Documentation/laptops/thinkpad-acpi.txt | |||
@@ -1098,18 +1098,31 @@ Volume control | |||
1098 | procfs: /proc/acpi/ibm/volume | 1098 | procfs: /proc/acpi/ibm/volume |
1099 | 1099 | ||
1100 | This feature allows volume control on ThinkPad models with a digital | 1100 | This feature allows volume control on ThinkPad models with a digital |
1101 | volume knob, as well as mute/unmute control. The available commands are: | 1101 | volume knob (when available, not all models have it), as well as |
1102 | mute/unmute control. The available commands are: | ||
1102 | 1103 | ||
1103 | echo up >/proc/acpi/ibm/volume | 1104 | echo up >/proc/acpi/ibm/volume |
1104 | echo down >/proc/acpi/ibm/volume | 1105 | echo down >/proc/acpi/ibm/volume |
1105 | echo mute >/proc/acpi/ibm/volume | 1106 | echo mute >/proc/acpi/ibm/volume |
1107 | echo unmute >/proc/acpi/ibm/volume | ||
1106 | echo 'level <level>' >/proc/acpi/ibm/volume | 1108 | echo 'level <level>' >/proc/acpi/ibm/volume |
1107 | 1109 | ||
1108 | The <level> number range is 0 to 14 although not all of them may be | 1110 | The <level> number range is 0 to 14 although not all of them may be |
1109 | distinct. The unmute the volume after the mute command, use either the | 1111 | distinct. The unmute the volume after the mute command, use either the |
1110 | up or down command (the level command will not unmute the volume). | 1112 | up or down command (the level command will not unmute the volume), or |
1113 | the unmute command. | ||
1114 | |||
1111 | The current volume level and mute state is shown in the file. | 1115 | The current volume level and mute state is shown in the file. |
1112 | 1116 | ||
1117 | You can use the volume_capabilities parameter to tell the driver | ||
1118 | whether your thinkpad has volume control or mute-only control: | ||
1119 | volume_capabilities=1 for mixers with mute and volume control, | ||
1120 | volume_capabilities=2 for mixers with only mute control. | ||
1121 | |||
1122 | If the driver misdetects the capabilities for your ThinkPad model, | ||
1123 | please report this to ibm-acpi-devel@lists.sourceforge.net, so that we | ||
1124 | can update the driver. | ||
1125 | |||
1113 | There are two strategies for volume control. To select which one | 1126 | There are two strategies for volume control. To select which one |
1114 | should be used, use the volume_mode module parameter: volume_mode=1 | 1127 | should be used, use the volume_mode module parameter: volume_mode=1 |
1115 | selects EC mode, and volume_mode=3 selects EC mode with NVRAM backing | 1128 | selects EC mode, and volume_mode=3 selects EC mode with NVRAM backing |
@@ -1450,3 +1463,5 @@ Sysfs interface changelog: | |||
1450 | is deprecated and marked for removal. | 1463 | is deprecated and marked for removal. |
1451 | 1464 | ||
1452 | 0x020600: Marker for backlight change event support. | 1465 | 0x020600: Marker for backlight change event support. |
1466 | |||
1467 | 0x020700: Support for mute-only mixers. | ||