[ltp] detecting hardware mute?

Kevin Fenzi linux-thinkpad@linux-thinkpad.org
Mon, 27 Mar 2006 14:34:28 -0700 (MST)


----Security_Multipart(Mon_Mar_27_14_34_28_2006_455)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Greetings. 

Does anyone know a way to detect if a thinkpad is in the "mute" state?

Ie, I push the mute button, tpb sets the nvram to mute everything
(very handy for meetings, etc), but then I would like to have some
kind of indicator that shows me I have mute on, so I can remember to
unmute later. 

You can't detect it from mixer settings. possibly there is a way from
reading /dev/nvram? 

Something that could keep an OSD up about it would be ideal. 

kevin

----Security_Multipart(Mon_Mar_27_14_34_28_2006_455)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQBEKFpl3imCezTjY0ERAo84AJ9pvwZwLXkMxPt+W4LvZebphiZ2JgCfbXV5
SIOwt38ah5cs2ZnyBCNZ5wM=
=MvuQ
-----END PGP SIGNATURE-----

----Security_Multipart(Mon_Mar_27_14_34_28_2006_455)----