Apple IR receiver daemon

From: Rui Paulo <rpaulo_at_fnop.net>
Date: Sun, 29 Jul 2007 18:56:17 +0100
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
Received on Sun Jul 29 2007 - 15:56:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:15 UTC