ThinkPad T420 mute button LED.

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

 



I am trying to enable the LED mute button on T420, I found that

echo '14 blink' >/proc/ibm/acpi/leds

causes the mute button led to blink, so I added the following to

static const char * const tpacpi_led_names[TPACPI_LED_NUMLEDS] = {

         "tpacpt::mute_mic",

and I am adding to the useful led quirk table:

static const struct tpacpi_quirk led_useful_qtable[] __initconst = {

TPACPI_Q_LNV('8', '3', 0xXXXX), /* T420 */

Where __id1 and __id2 are the bios id for this thinkpad, 83ET43WW, but I 
dont know how to figure out the value for __quirk. Can someone help me 
figure this out ? In the dsdt.dsl I find

                    Method (LED, 2, NotSerialized)
                     {
                         Or (Arg0, Arg1, Local0)
                         If (\H8DR)
                         {
                             Store (Local0, HLCL)
                         }
                         Else
                         {
                             \WBEC (0x0C, Local0)
                         }
                     }

but not sure how to form the __quirk value from that.

-- 
Manoj Iyer
Ubuntu/Canonical
Hardware Enablement


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
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