Hi,

Better late than never, atvtool v0.1 is released!

Atvtool is a utility program for controlling the fan and LED on
AppleTVs. It is based on my reverse engineering efforts of osputil.

The best description of the features is probably the usage output:

usage: atvtool [OPTION] ...
  -h, --help            show usage info
  -v, --version         show version info
  -r, --reattach        reattach kernel driver to IR device
  -f, --fan-off         turn fan off
  -F, --fan-on          turn fan on
  -b, --brightness-low  use low led brightness
  -B, --brightness-high use high led brightness
  -l, --led             set led mode to one of:
                          0     off
                          1     amber
                          2     amber blink
                          3     white
                          4     white blink
                          5     both blink

Note: This still uses libusb, so it doesn't play nicely with kernel
drivers using the IR receiver (E.G. lirc with hiddev). I was hoping to
be able to do the communication to /dev/usb/hiddevX, but that seems a
bit more complicated than expected. Use the --reattach argument on
atvtool to give back the IR receiver to hiddev.

Also notice that hiddev will reinitialize the device when you do
so. This has the unfortunate side effect of turning of the led if it
is in mode 1 (amber) or 3 (white).

The tarball can be found here:

http://peter.korsgaard.com/atv/atvtool-0.1.tar.gz

Sources are in git:

http://git.korsgaard.com/cgi-bin/gitweb.cgi?p=atvtool.git

(clonable from http://git.korsgaard.com/git/atvtool.git)

Enjoy!

-- 
Bye, Peter Korsgaard

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to