Volume control on T400

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

 



Volume mute key doesn't produce any keycode to system.
And I find that, after I echo up/down/mute/level <N> >
/proc/acpi/ibm/volume, then read the nvram immediately, i find the
volume byte is strange..
For example, the initial volume level is 15, unmuted, the byte is 0x0f
after echo down > volume, it becames 0x8e. Then I pressed the mute key
and then volume up key, it turns to 0x4e and 0x0e (this two values are
correct)
now I echo up > volume, it becames 0x8e, not 0x0f. but
cat volume shows that the volume is 15.

more misteris position can be obtained as follows.
echo level 1 > volume, press the mute key and up key. The byte become
0x01, echo level 8 > volume, the byte comes 0x81
echo level 1 > volume, press the mute key and up key. The byte become
0x01, echo level 9 > volume, the byte comes 0x01

(wether 8 occur depend on wether the difference of level is even or odd)

now echo mute > volume, the byte comes 0xc1. and the sounds are not muted.

I think that there is something wrong with the handle of the volume
key, but i have a sketch on the code and can't figure it out.

-- 
Sincerely,
    Yang Zhe

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
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