Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2007 18:56:17 +0100
From:      Rui Paulo <rpaulo@fnop.net>
To:        freebsd-current@freebsd.org
Subject:   Apple IR receiver daemon
Message-ID:  <46ACD4C1.6030803@fnop.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46ACD4C1.6030803>