[ltp] detecting hardware mute?

Mike Kershaw linux-thinkpad@linux-thinkpad.org
Mon, 27 Mar 2006 18:56:54 -0500


--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 27, 2006 at 02:34:28PM -0700, Kevin Fenzi wrote:
> Does anyone know a way to detect if a thinkpad is in the "mute" state?
>=20
> 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.=20
>=20
> You can't detect it from mixer settings. possibly there is a way from
> reading /dev/nvram?=20
>=20
> Something that could keep an OSD up about it would be ideal.=20

tpb (thinkpad buttons) does this already, and detects the hw volume
level, gives you a OSD volume display, etc.

-m

--=20
Mike Kershaw/Dragorn <dragorn@kismetwireless.net>
GPG Fingerprint: 3546 89DF 3C9D ED80 3381  A661 D7B2 8822 738B BDB1

Life is a whim of several billion cells to be you for a while.

--fdj2RfSjLxBAspz7
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFEKHvG17KIInOLvbERAnURAJ9Yv0YDFAAVbz3vBMbMhkXaGPAQbgCeI7iN
QNFqIQrLDhZBJj7ONJWSEEU=
=3tyZ
-----END PGP SIGNATURE-----

--fdj2RfSjLxBAspz7--