> this diff applies on top of the previous one; it adds the > hw.kbdvolume sysctl(1) entry to select how pckbd & ukbd volume keys > are handled: > > hw.kbdvolume=0 > > pass keystrokes to upper layer as we do for regular keys, > thus usable by X apps as hot-keys or whatever. > > hw.kbdvolume=1 > > change the ouputs.master control of the first audio device, > keystrokes are consumed by the kernel and not visible by > userland. This is the default, as this is the behavior of > all other (acpi, macppc, ... ) volume keys.
This approach is simplestic and wrong.