Apple IR receiver daemon

Rui Paulo rpaulo at fnop.net
Sun Jul 29 17:56:48 UTC 2007


Hi,
At the following location you can find a userland daemon to handle Apple 
IR receiver events:

	http://fnop.net/~rpaulo/priv/freebsd/aird.tgz

If you have a MacBook, an iMac or a MacMini running FreeBSD, try 
compiling this little daemon and then try using it. Finally, report to 
me any success or failure :-)

I use the Apple remote to control mpd (ports/audio/musicpd), but you can 
use this anyway you like.

As an example, my .xinitrc contains:

aird -f /dev/uhid1 -P "mpc toggle" -F "mpc next" -B "mpc prev" -U "mixer 
vol +2" -D "mixer vol -2" -p ~/.aird.pid -M gmpc

uhid1 is:
uhid1: <Apple Computer, Inc. IR Receiver, class 0/0, rev 2.00/1.10, addr 
2> on uhub2

Have fun!
--
Rui Paulo


More information about the freebsd-current mailing list