This is actually even worse:

on thinkpad T60 (but I guess on some other models as well), volume
buttons are hardwired to control the volume otherwise inaccessible
through normal sound drivers - the one you could look at with:

  $ cat /proc/acpi/ibm/volume
  level:          14
  mute:           off
  commands:       up, down, mute
  commands:       level <level> (<level> is 0-15)

This one has nothing to do with the devices alsa reports because there
is still no alsa driver for it. the audiochip you control with alsa
plays into this other device which only provides this extra volume
control. I have no idea what's the reason for this design.

So it is incorrect to let these buttons emit the same codes as normal
volume control keys on "internet keyboards", which are then mapped to
control the volume of Master or PCM strip of the alsa device, because
what you get then is that each keypress changes the volume twice (on
alsa device and hardwired) and the steps are too large.

Also if you use external keyboard with volume keys, those will work
correctly (only control the volume of selected channel of alsa device)
but inconsistently with hardware buttons.

The hardware buttons should really generate some altogether different
scancode or event which should be then mapped to reading and displaying
the status of /proc/acpi/ibm/volume and NOT of the alsa device.

-- 
thinkpad volume keys control microphone - gutsy
https://bugs.launchpad.net/bugs/136287
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to