[ltp] volume button debian/ubuntu

Micha linux-thinkpad@linux-thinkpad.org
Tue, 19 Feb 2008 23:46:22 +0200


On Tue, 19 Feb 2008 14:52:31 -0300
Henrique de Moraes Holschuh <hmh@hmh.eng.br> wrote:

> On Tue, 19 Feb 2008, Atte Andr=C3=A9 Jensen wrote:
> > I recently switched to ubuntu (from debian), and one of the small thing=
s =20
> > that annoys me is the way the hardware volume buttons work: They contro=
l =20
> > a fader in the gnome mixer.
>=20
> PLEASE file a bug in Ubuntu.  Ubuntu did the above crap even after I poin=
ted
> out it was a non-acceptable way to deal with the ThinkPad mixer, they *we=
re*
> told it was the wrong thing to do numerous times, and just turn a deaf ear
> to me.
>=20
> At the very least, they have to tell you how to remove their hideous crap=
 of
> a hack from HAL to stop the above.
>=20
> > Under debian they seemed to control "something beneath this", at least =
I =20
> > was able to press mute, and all sound would go away from the build in =
=20
> > speakers *but still* come out of the mini jack in the docking station.
>=20
> Correct.  In Ubuntu, they control *both*, which of course will completely
> break your setup.
>=20
> > Does anyone know how to make ubuntu behave like debian? At least how to=
 =20
> > turn off the build in speakers?
>=20
> thinkpad-acpi can mute and directly control the volume of the speaker mix=
er,
> try it (/proc/acpi/ibm/volume).
>=20

Had a look at it and it explains a few things. First of all it seems that my
machine stopped generating acpi events (at least through /proc/acpi/event) =
for
the volume keys. I'm getting the keys directly. Is this a driver feature or
some system setting?

Second, the permissions on the file are for root only, thus the only way to=
 set
the values unless acpid gets them is by setting up a setuid root script whi=
ch I
would rather not do. Is there a way to change that?

thanks