[ltp] Re: T61 brightness/volume

Jens Rutschmann linux-thinkpad@linux-thinkpad.org
Fri, 01 Feb 2008 02:00:09 +0100


Alan Wood wrote on 31.01.2008 20:36:
> 2.  as for volume, I saw a couple of posts and verified that the mute 
> button does work when acpi_osi="!Linux" but does not work when 
> acpi_osi="Linux".  however the hardware up/down volume buttons don't 
> work at all except to unmute.  I saw a post about an alsa master channel 
> being added to the intel_hda driver, is that supposed to fix this?  is 
> there any way to map the existing keys to the PCM channel?

I think you refer to my post. Currently I'm running a zen-sources 2.6.24 kernel. 
Since .24 you don't need to specify acpi_osi="Linux" as it is activated 
automatically on a T61. Then the mute and volume buttons are reported as 
standard key input events that you may map with xmodmap to XF86_AUDIO_MUTE & so on.
Currently I have set the PCM slider to 100% and use the Master channel for all 
volume control. Apparently there is no quality loss or I didn't hear it.

Also with zen-sources you get the WLAN LED working - I think it doesn't work in 
vanilla yet. :-)

> I also don't understand why the mute button and then vol up/down 
> produces OSD events in tpb but just the vol up/down buttons do not....

Can't say anything about that, if you use KDE you may try kmilo, it also 
displays a window with the current volume when pressing one of the keys.
For this to work you need the volume buttons mapped to the XF86_AUDIO_* keysyms.

Regards,
Jens