2012-12-07, 19:03
Hi all,
I am long time looking for a solution to getting work my new unibody Apple Remote (not the old one) MC377LL . I tried everything, 3-5 ir sensor, but either works with the Apple Remote.
Ok, first. All credit goes to Mark de Leon, read his articles here, and here. I am only writing this small how-to because his article is not well known (I think so).
What you need?
1, you need the most beautiful remote of the world. It's so simple, thin and nice, I love it. Price: 19$. It's totally worth it. (The Boxee Remote is 39.99USD, but I can't find anymore in shops).
2,you need an IR module from a Macbook (or iMac). You can buy it from eBay. Price is around 10$. (I bought mine locally from a Macbook with bad motherboard for 10€). Mine is exactly the same model as in the another article: 820-2155, this was from a MBP late 2008. BUT! I think you don't need the exactly same module! It should work with all IR module produced later than 2005. From the Apple Store: "Compatible with Apple products introduced in 2005 or later that have a built-in infrared (IR) receiver."
The big luck, what the guy in the original article found the IR module connects to the system via internal USB bus. Connect the IR module to a USB connector by matching up the colors on the wires with standard USB color coding (changing only yellow for white). Nothing special. Read more about this in the original article.
Driver
You need to find the module on the USB bus:
lsusb
Bus 002 Device 003: ID 05ac:8242 Apple, Inc.
(remember the number after 05ac)
sudo apt-get install git-core libusb-dev pkg-config
sudo apt-get install g++
git clone git://github.com/Evinyatar/atvclient.git
Wee need to modify the driver a little bit to getting work with our IR module (I love nano editor, I use this now):
nano atvclient/src/atvclient.cpp
Search for "8241" (without quotes - key combination CTRL-W). Change this to the digits you noted earlier after the “05ac:”:
#define VENDOR_APPLE 0x05ac
#define PRODUCT_IR 0x8242
cd atvclient
./configure && make
sudo make install
sudo cp atvclient /etc/init.d/atvclient
sudo update-rc.d atvclient defaults
sudo /etc/init.d/atvclient start
Tada.wav! You have a working unibody Apple Remote under PC and Linux!
If you find this article useful please move to the HOW-TO section. Sorry if there as any typo, English is not my mother tongue.
I am long time looking for a solution to getting work my new unibody Apple Remote (not the old one) MC377LL . I tried everything, 3-5 ir sensor, but either works with the Apple Remote.
Ok, first. All credit goes to Mark de Leon, read his articles here, and here. I am only writing this small how-to because his article is not well known (I think so).
What you need?
1, you need the most beautiful remote of the world. It's so simple, thin and nice, I love it. Price: 19$. It's totally worth it. (The Boxee Remote is 39.99USD, but I can't find anymore in shops).
2,you need an IR module from a Macbook (or iMac). You can buy it from eBay. Price is around 10$. (I bought mine locally from a Macbook with bad motherboard for 10€). Mine is exactly the same model as in the another article: 820-2155, this was from a MBP late 2008. BUT! I think you don't need the exactly same module! It should work with all IR module produced later than 2005. From the Apple Store: "Compatible with Apple products introduced in 2005 or later that have a built-in infrared (IR) receiver."
The big luck, what the guy in the original article found the IR module connects to the system via internal USB bus. Connect the IR module to a USB connector by matching up the colors on the wires with standard USB color coding (changing only yellow for white). Nothing special. Read more about this in the original article.
Driver
You need to find the module on the USB bus:
lsusb
Bus 002 Device 003: ID 05ac:8242 Apple, Inc.
(remember the number after 05ac)
sudo apt-get install git-core libusb-dev pkg-config
sudo apt-get install g++
git clone git://github.com/Evinyatar/atvclient.git
Wee need to modify the driver a little bit to getting work with our IR module (I love nano editor, I use this now):
nano atvclient/src/atvclient.cpp
Search for "8241" (without quotes - key combination CTRL-W). Change this to the digits you noted earlier after the “05ac:”:
#define VENDOR_APPLE 0x05ac
#define PRODUCT_IR 0x8242
cd atvclient
./configure && make
sudo make install
sudo cp atvclient /etc/init.d/atvclient
sudo update-rc.d atvclient defaults
sudo /etc/init.d/atvclient start
Tada.wav! You have a working unibody Apple Remote under PC and Linux!
If you find this article useful please move to the HOW-TO section. Sorry if there as any typo, English is not my mother tongue.