Cambridge Audio + Linux
I recently bought a shiny new amplifier to replace my aging stereo amp. It's pretty shiny, and one of the neat features is a serial port for controlling it over ... er ... serial. The Cambridge Audio website publishes the specifications for the serial port, and I've hacked together a little python application to control my amplifier from the command line.
Right now it just controls volume up/down and power on/off but it could be extended to do anything the serial port protocol supports. Click here for the python script
To use it, ./cambridge [up, down, off, on, mute]
You may need to change the serial port from ttyUSB0 to something else, just hack the source, it's not very long :-)