Installing an Infrared Remote Control on the IR100: Difference between revisions

From Sharpfin
Jump to navigation Jump to search
m (Add URL for how to add remote contgrol function to BT radio)
mNo edit summary
Line 2: Line 2:




1- You have to have shell access to your radio, follow this tutorial:
* [[Enabling remote control in the firmware]]
http://www.sharpfin.zevv.nl/images/7/7b/PatchingTheRecivaRadio.pdf
* Build your own IR receiver circuit (see '''The Receiver Circuit''')
 
 
2- Do your own IR receiver circuit (see '''The Receiver Circuit''')


http://www.nslu2-linux.org/wiki/HowTo/AddAnInfraredReceiverAndTransmitterWithLIRC
http://www.nslu2-linux.org/wiki/HowTo/AddAnInfraredReceiverAndTransmitterWithLIRC


3- The IR receiver must be connected to barracuda card on GPIO pin GPG6 (point present on the long J2 connector Pin 5).
sources:
http://internetradiohack.blogspot.com/2007/05/remote-control.html
http://www.reciva.com/data/barracuda_1.6.pdf
http://sharpfin.zevv.nl/index.php/Hardware
4- Activate IR: you will need shell access to your radio (see 1- ) to change the configuration file
Log into the radio (Start / Run / then type '''CMD''' / type '''TELNET''') :
        type '''OPEN 192.168.x.x''' (this is your radio ip)
then enter user & password = “admin”
        type '''CD HWCONFIG'''
To look in hwconfig /root or /root/hwconfig, depending on the firmware version of your radio
        Type '''LS'''
Find your configxxxx.txt file (The xxxx is the Hardware Id, which you can find in 'Configure / Version / Hardware ID')
        type '''mount / -orw,remount'''
Issue this command to unprotect the partition
        Type '''vi config'''xxxx'''.txt'''
to edit the configxxxx.txt file
        Type '''i'''
to enter Insert mode
Adds these lines add the end, if they aren't yet present:
        # Infrared Remote related modules
        LIRC Module: /root/lirc_dev.o
        LIRC Module: lirc_barracuda
/!\ /!\ /!\ Double Check your edits /!\ /!\ /!\
Hit <ESC> to leave Insert Mode and enter Command mode
        Type ''':w<ENTER>'''
To write current file (if you are sure and wish to save it)
        Type ''':q!<ENTER>'''
To exit '''vi'''
        type '''sync;mount / -oro,remount'''
To Write protect the drive
Reboot the radio





Revision as of 07:59, 16 May 2010