Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177551
b: refs/heads/master
c: 329e4e1
h: refs/heads/master
i:
  177549: 0f1edf4
  177547: 45f9def
  177543: 5c333b5
  177535: 1901d69
v: v3
  • Loading branch information
Henrique de Moraes Holschuh authored and Len Brown committed Dec 16, 2009
1 parent 58cb08d commit cc5b3e1
Show file tree
Hide file tree
Showing 3 changed files with 300 additions and 64 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5451a923bbdcff6ae665947e120af7238b21a9d2
refs/heads/master: 329e4e18dfdc552f36b0642a3de5ebfa96063666
22 changes: 17 additions & 5 deletions trunk/Documentation/laptops/thinkpad-acpi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1092,22 +1092,33 @@ WARNING:
its level up and down at every change.


Volume control -- /proc/acpi/ibm/volume
---------------------------------------
Volume control
--------------

procfs: /proc/acpi/ibm/volume

This feature allows volume control on ThinkPad models which don't have
a hardware volume knob. The available commands are:
This feature allows volume control on ThinkPad models with a digital
volume knob, as well as mute/unmute control. The available commands are:

echo up >/proc/acpi/ibm/volume
echo down >/proc/acpi/ibm/volume
echo mute >/proc/acpi/ibm/volume
echo 'level <level>' >/proc/acpi/ibm/volume

The <level> number range is 0 to 15 although not all of them may be
The <level> number range is 0 to 14 although not all of them may be
distinct. The unmute the volume after the mute command, use either the
up or down command (the level command will not unmute the volume).
The current volume level and mute state is shown in the file.

There are two strategies for volume control. To select which one
should be used, use the volume_mode module parameter: volume_mode=1
selects EC mode, and volume_mode=3 selects EC mode with NVRAM backing
(so that volume/mute changes are remembered across shutdown/reboot).

The driver will operate in volume_mode=3 by default. If that does not
work well on your ThinkPad model, please report this to
ibm-acpi-devel@lists.sourceforge.net.

The ALSA mixer interface to this feature is still missing, but patches
to add it exist. That problem should be addressed in the not so
distant future.
Expand Down Expand Up @@ -1376,6 +1387,7 @@ to enable more than one output class, just add their values.
0x0008 HKEY event interface, hotkeys
0x0010 Fan control
0x0020 Backlight brightness
0x0040 Audio mixer/volume control

There is also a kernel build option to enable more debugging
information, which may be necessary to debug driver problems.
Expand Down
Loading

0 comments on commit cc5b3e1

Please sign in to comment.