could you guys talk to those other guys and then

Here, have some more volume control hate, this time from Dell.

I have a Dell Latitude D600. It has three “multimedia keys” for volume down, up, and mute. It came with a Dell multimedia USB keyboard, with eight multimedia keys: volume down, up, and mute, plus five more for browser control, I guess — back, forward, stop, reload, home. The browser ones aren’t important right now though.

So GNOME lets me choose which keys change volume, and I set them up without the USB keyboard attached. Then I plugged the keyboard in, hoping for the best, and got EVIL. Here’s the keycodes for those keys:

  Laptop key USB keyboard key
Volume up 0xB0 0xB0
Volume down 0xAE 0x9D
Mute 0xA0 0xAE

You’ll notice that they got one set right: volume-up is consistent everywhere. But you’ll also notice that they got another set as completely FUBAR as possible: two keys that do different things have the same keycodes, on two keyboards from the same company. (The other five multimedia keys on the USB keyboard all have unique keycodes.)

What the hell? Is this just fundamental brokenness that wouldn’t even work in Windows, or is there some magic I can do to get those keys to not conflict with each other, or better yet, to send the same keycode for the same key?

Comments 3