Hello. Would it be possible to attach USB IR device to the TV and control it by software? Is there a possibility to compile IR modules for that kernel?
My ultimate goal would be to use that IR device to send out IR commands to my amplifier, so when I press vol +/- from TV's remote control, they would activate sending of corresponding signals out to my amplifier.
USB IR device
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: USB IR device
Yes, quite possible. Needs 2 part.
1.)You needed to compile IR stack and make IR device operational. (easy one - req. moderate linux knowledge and compile kernel modules.)
2.) After you needed to dig into exeDSP, inject code around volume related functions. ( hard one - req. use IDA, understand ARM's Thumb ASM and spending many hours on exeDSP...)
After all, you can easily make it
At least it's far easy than implementing DTS support 
1.)You needed to compile IR stack and make IR device operational. (easy one - req. moderate linux knowledge and compile kernel modules.)
2.) After you needed to dig into exeDSP, inject code around volume related functions. ( hard one - req. use IDA, understand ARM's Thumb ASM and spending many hours on exeDSP...)
After all, you can easily make it


Re: USB IR device
Ok, how about instead of 2) we just make standalone daemon that poll's the IR device and when it receives (*) the remote controls, it would do the detection of the vol+/- and then send out corresponding amplifier IR sequences.
(*) The IR device should be positioned so that it can receive the commands that are for TV. The natural place would be underneath the blinking light.
Does this sound achievable?
(*) The IR device should be positioned so that it can receive the commands that are for TV. The natural place would be underneath the blinking light.
Does this sound achievable?
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: USB IR device
Yes, you can make (or find already made) daemon for this job. Test it under linux PC first, after you can port it to arm environment.
You can prepare required kernel drivers from SamyGO OE SVN by cross-compile toolchain.
You can prepare required kernel drivers from SamyGO OE SVN by cross-compile toolchain.

Re: USB IR device
Ok, I just placed an order for this:
http://iguanaworks.net/product1.psp
The next step is to make it work with my Linux box.
http://iguanaworks.net/product1.psp
The next step is to make it work with my Linux box.
Re: USB IR device
I have it working on my Linux box. I compiled the drivers with qemu (ARMEL port of Debian Squeeze) and managed to try them on the TV.
Now the problem seems to be that /dev is read only. The daemon (that listens to the device) says:
failed to bind server socket /dev/iguanaIR/0: Read-only file system
I'm not Linux guru, but could I bind the server socket to some other path? The driver is open source, so it's possible to modify it, but I don't know much about Linux internals. Could it work eg. on the /dtv/usb/iguanaIR/0 path?
Now the problem seems to be that /dev is read only. The daemon (that listens to the device) says:
failed to bind server socket /dev/iguanaIR/0: Read-only file system
I'm not Linux guru, but could I bind the server socket to some other path? The driver is open source, so it's possible to modify it, but I don't know much about Linux internals. Could it work eg. on the /dtv/usb/iguanaIR/0 path?
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: USB IR device
I don't know much about linux /dev structure, can't help. But I am sure that some one will help about this.
Re: USB IR device
I have no more expertise, but I see that most "files" under /dev have write permission only for owner (root).
Re: USB IR device
The device manufacturer replied that the path can be changed, just modifying one .h file. Since I can now freely choose the path, what would be the safest place?
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: USB IR device
Might be you could use /mtd_ramnbd wrote:The device manufacturer replied that the path can be changed, just modifying one .h file. Since I can now freely choose the path, what would be the safest place?