Aaron Carass :: knob

Dell MultiMedia Keyboard Volume Control

This webpage contains RPMS that install knob a small daemon which can be used to collect output from the volume knob of the Dell Multimedia USB Keyboard.

The daemon was originally posted on http://git.ejohansson.se/?p=dellknob.git;a=summary.


Disclaimer

These RPMS are provided as is, all guarantees of merchantability and fitness for a particular purpose are disclaimed.

I do not work for Dell. I do not represent Dell. I should not be contacted about Dell products.


Good News

I used the RPMS on several Fedora Core 5 and 6 boxes (both x86_64 and i386).

When rebuild, from the SRPM, you probably want to pass along the flag --define 'dist BLAH'. Changing BLAH to something appropriate (fc4, fc5, rhel4, ...)


RPMS

RPMMD5SUMBUILT ON
1.0-4
knob-1.0-4.fc6.src.rpm98ba16527788be2f730deed72e27c66cFedora Core 6
knob-1.0-4.fc6.i386.rpma0e447eca5075fcaa6f9cba2ddb0920eFedora Core 6
knob-1.0-4.fc6.x86_64.rpme36570c0cbbd0b791683a57460354934Fedora Core 6
knob-1.0-4.fc5.i386.rpmda7760ca5dbfba27db1868da83c43e06Fedora Core 5
knob-1.0-4.fc5.x86_64.rpm5226047f3f7eb2696bddc7f8335f273cFedora Core 5


NOTES: MPlayer and the Dell Multimedia Keyboard

I found the following useful and probably not entirely obvious. Create an XModmap file like:

keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 162 = XF86AudioPlay

Load this config with xmodmap my_xmodmap_config. Now, with XBindkeys installed, create an config file for XBindkeys with the following entries.

# Prev
"echo "seek -60" > ~/.mplayer/mplinput"
XF86AudioPrev


# Next
"echo "seek +60" > ~/.mplayer/mplinput"
XF86AudioNext


# Pause
"echo "pause" > ~/.mplayer/mplinput"
XF86AudioPlay

Load the XBindkeys config file with xbindkeys -f my_xbindkeys_config. Then create a named pipe mkfifo ~/.mplayer/mplinput and add the following:

input=file=/home/user/.mplayer/mplinput

to your MPlayer config file (~/.mplayer/config). Now as if by magic the Fast-Forward/Rewind and Play buttons will be able to control MPlayer. It is left as an exercise to the reader to automate this process at login or better yet make it available system wide.



















Written by hand in real (s)html using vi
All content © 2002-2022, Aaron Carass