Re: nvram polling for hardware mixer

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

 



On Mon, May 28, 2007 at 11:58:24PM +0100, Richard Hughes wrote:

> I've been hacking to make the nvram hardware buttons on thinkpad exposed
> as a hardware mixer device. This requires the nvram to be polled in
> kernel space, and then examined to see if the volume and mute status has
> changed. I have attached code to export a simple mono tuner, but this
> needs further testing and integration. I've also prepared a preliminary
> patch to add the polling to the thinkpad_acpi driver.

The recent Thinkpads I've played with have all triggered interrupts on 
IRQ 9 when hitting the nvram hotkeys. ACPI registers this as a shared 
interrupt, so possibly there's some hope of being able to hook in there? 
I'm not sure if this is the case on all machines, so it might require a 
table for polling/non-polling behaviour.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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