Deficient volume knob

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a laptop with a physical volume knob -- it's a little wheel
sitting on the side of the computer. Now my question is: How do I make
it actually adjust the sound volume? Because it doesn't -- when I turn
it, nothing happens.

With some investigation, I find that turning the wheel generates some
events on /dev/input/event1 when I move it. This seems to be coming
from the keyboard.

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

So it seems that the wheel is not hard-wired to the sound card or
speakers at all. How would I go about to making it change the sound
volume? I don't even know where to begin. The keyboard/input driver?
Register an event listener somewhere in ALSA? Or is this a job for
user-space alone? I would be grateful for a helping hand!

Thanks.

Kind regards,
Vegard Nossum

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux