Comment 8 for bug 201391

Revision history for this message
corneliupa (corneliupa) wrote :

I can confirm this bug with Kubuntu 8.04 and even before.
All volume controls translate into key presses - please see:
"/etc/acpi/volupbtn.sh" and inside this script "acpi_fakekey $KEY_VOLUMEUP".

cat /proc/asound/cards
 0 [Intel ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfe9fc000 irq 20
 1 [Device ]: USB-Audio - USB Audio Device
                      Elite Silicon USB Audio Device at usb-0000:00:1d.0-2, full speed

would always list the HDA-Intel as first sound card.

I never got a clue how to use alsa - it's so obscure and their documentation really sucks.
And I never really got the time on how to tweak the acpi_fakekey and the usb/hid interface. What if when I press the "KEY_CALC" I want to launch a specific application, not the default one. I would be really interested in an easy way to do this.

One solution would be to set as first soundcard the USB one - when plugged.
A workaround would be to extend the "/etc/acpi/volupbtn.sh" script - when it detects a second soundcard to use commands like "/usr/bin/amixer -c 1 set PCM 10+" , for instance.