Re: ALSA mixer volume control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I've added a little extra functionality to this. The first is to send
> notifications whenever the mixer volume changes. These are via ALSA and
> simply allow other applications to know when the volume has changed.
> Henrique, I wasn't sure about the cleanest way to do this - we need to
> unmask the volume keys, and the easiest thing to do there was to simply
> change them to KEY_UNKNOWN. The problem with this is that they then
> generate ugly kernel messages. Not sure what the best thing to do here
> is - I guess I could just mangle the mask directly if ALSA_VOL is
> enabled.

How about defining new KEY_NOTIFY_VOLUMEDOWN KEY_NOTIFY_VOLUMEUP and
use those for thinkpads and possibly others that have a hardware
mixer?


-- 
damjan

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux