diff options
Diffstat (limited to 'Documentation/laptops')
-rw-r--r-- | Documentation/laptops/thinkpad-acpi.txt | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt index f5056c7fb5be..96687d0106a9 100644 --- a/Documentation/laptops/thinkpad-acpi.txt +++ b/Documentation/laptops/thinkpad-acpi.txt | |||
@@ -1092,22 +1092,33 @@ WARNING: | |||
1092 | its level up and down at every change. | 1092 | its level up and down at every change. |
1093 | 1093 | ||
1094 | 1094 | ||
1095 | Volume control -- /proc/acpi/ibm/volume | 1095 | Volume control |
1096 | --------------------------------------- | 1096 | -------------- |
1097 | |||
1098 | procfs: /proc/acpi/ibm/volume | ||
1097 | 1099 | ||
1098 | This feature allows volume control on ThinkPad models which don't have | 1100 | This feature allows volume control on ThinkPad models with a digital |
1099 | a hardware volume knob. The available commands are: | 1101 | volume knob, as well as mute/unmute control. The available commands are: |
1100 | 1102 | ||
1101 | echo up >/proc/acpi/ibm/volume | 1103 | echo up >/proc/acpi/ibm/volume |
1102 | echo down >/proc/acpi/ibm/volume | 1104 | echo down >/proc/acpi/ibm/volume |
1103 | echo mute >/proc/acpi/ibm/volume | 1105 | echo mute >/proc/acpi/ibm/volume |
1104 | echo 'level <level>' >/proc/acpi/ibm/volume | 1106 | echo 'level <level>' >/proc/acpi/ibm/volume |
1105 | 1107 | ||
1106 | The <level> number range is 0 to 15 although not all of them may be | 1108 | The <level> number range is 0 to 14 although not all of them may be |
1107 | distinct. The unmute the volume after the mute command, use either the | 1109 | distinct. The unmute the volume after the mute command, use either the |
1108 | up or down command (the level command will not unmute the volume). | 1110 | up or down command (the level command will not unmute the volume). |
1109 | The current volume level and mute state is shown in the file. | 1111 | The current volume level and mute state is shown in the file. |
1110 | 1112 | ||
1113 | There are two strategies for volume control. To select which one | ||
1114 | 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 | ||
1116 | (so that volume/mute changes are remembered across shutdown/reboot). | ||
1117 | |||
1118 | The driver will operate in volume_mode=3 by default. If that does not | ||
1119 | work well on your ThinkPad model, please report this to | ||
1120 | ibm-acpi-devel@lists.sourceforge.net. | ||
1121 | |||
1111 | The ALSA mixer interface to this feature is still missing, but patches | 1122 | The ALSA mixer interface to this feature is still missing, but patches |
1112 | to add it exist. That problem should be addressed in the not so | 1123 | to add it exist. That problem should be addressed in the not so |
1113 | distant future. | 1124 | distant future. |
@@ -1376,6 +1387,7 @@ to enable more than one output class, just add their values. | |||
1376 | 0x0008 HKEY event interface, hotkeys | 1387 | 0x0008 HKEY event interface, hotkeys |
1377 | 0x0010 Fan control | 1388 | 0x0010 Fan control |
1378 | 0x0020 Backlight brightness | 1389 | 0x0020 Backlight brightness |
1390 | 0x0040 Audio mixer/volume control | ||
1379 | 1391 | ||
1380 | There is also a kernel build option to enable more debugging | 1392 | There is also a kernel build option to enable more debugging |
1381 | information, which may be necessary to debug driver problems. | 1393 | information, which may be necessary to debug driver problems. |