|
NAMEaird —
USB Apple IR receiver daemon
SYNOPSIS
DESCRIPTIONTheaird daemon handles Apple IR receiver button events.
If your system has an USB Apple IR receiver, most likely you'll also have an
Apple Remote. An Apple remote has six (6) buttons: Volume up, Volume down,
Play/Pause, Forward, Backward and Menu. For each button you can assign a
command to execute.
Apple IR receiver modules are found on:
The following program options are available:
The following options specify commands to run upon button down events:
Note that lower case options are program options and upper case options specify the commands to run upon button down events. FILES
EXAMPLESTo pair a remote controller with your IR receiver, do the following:aird -f /dev/uhid1 -k 0 Then press the Menu and Forward keys at the same time for five seconds. The following will show up: Your Apple remote pairing key is: 131 Next time you run aird, pass this number as the -k argument. This example shows how to control mpd(1) with aird(1). You need mpc(1) and ncmpc(1) installed. Run aird(1) from your ~/.xinitrc startup file like this: aird -p ~/.aird.pid -f /dev/uhid1 -P "mpc toggle" -F "mpc next" \ -B "mpc prev" -U "mixer vol +2" -D "mixer vol -2" \ -M "xterm -e ncmpc" If you want to stop other users from gaining control of the IR
receiver and to prevent commands to be executed when someone presses a
button on the remote control, run
aird(1)
only with the aird -f /dev/uhid1 SEE ALSOmpd(1) (ports/audio/musicpd), mpc(1) (ports/audio/mpc), ncmpc(1) (ports/audio/ncmpc), uhid(4), usb(4)HISTORYTheaird utility first appeared in
FreeBSD 8.0.
AUTHORSRui Paulo ⟨rpaulo@FreeBSD.org⟩
Visit the GSP FreeBSD Man Page Interface. |