Enabling remote control in the firmware: Difference between revisions
m (New page: Install the Sharpfin base to enable shell access to your radio, follow this tutorial: http://www.sharpfin.zevv.nl/images/7/7b/PatchingTheRecivaRadio.pdf Now complete the following steps ...) |
mNo edit summary |
||
Line 6: | Line 6: | ||
If you are using Windows, log into the radio (Start / Run / then type '''CMD''' / type '''TELNET''') : | If you are using Windows, log into the radio (Start / Run / then type '''CMD''' / type '''TELNET''') : | ||
Now type in: | |||
'''open 192.168.x.x''' (this is your radio's IP address) | |||
Enter user & password = “admin” when prompted. | |||
Now move into the folder /root/hwconfig by entering: | |||
'''cd hwconfig''' | |||
Make a backup of your radio's configuration file (The XXXX is the Hardware Id, which you can find in 'Configure / Version / Hardware ID') : | |||
'''cp configXXXX.TXT configXXXX_backup.TXT''' | |||
Issue this command to unprotect the partition: | |||
'''mount / -orw,remount''' | |||
Now use vi editor to open the configXXXX.txt file: | |||
'''vi configXXXX.txt''' | |||
To enter Insert mode, press: | |||
'''i''' | |||
Add these lines to the end of the file, if they aren't present: | |||
# Infrared Remote related modules | # Infrared Remote related modules | ||
Line 34: | Line 37: | ||
Hit <ESC> to leave Insert Mode and enter Command mode | Hit <ESC> to leave Insert Mode and enter Command mode | ||
To write current file (if you are sure and wish to save it), type in: | |||
To write current file (if you are sure and wish to save it) | ''':w<ENTER>''' | ||
To exit '''vi''' | To exit '''vi''' editor: | ||
''':q!<ENTER>''' | |||
Now move into the folder where the lircd files are stored by typing: | |||
'''cd /etc/config''' | |||
Create a new lircd_config file for your radio, where XXXX is the Hardware ID of your radio: | |||
'''cp lircd_config825.conf lircd_configXXXX.conf''' | |||
Finally, Write protect the drive | |||
'''sync;mount / -oro,remount''' | |||
Reboot the radio | Reboot the radio |
Revision as of 08:22, 16 May 2010
Install the Sharpfin base to enable shell access to your radio, follow this tutorial: http://www.sharpfin.zevv.nl/images/7/7b/PatchingTheRecivaRadio.pdf
Now complete the following steps to change the configuration file:
If you are using Windows, log into the radio (Start / Run / then type CMD / type TELNET) :
Now type in:
open 192.168.x.x (this is your radio's IP address)
Enter user & password = “admin” when prompted.
Now move into the folder /root/hwconfig by entering:
cd hwconfig
Make a backup of your radio's configuration file (The XXXX is the Hardware Id, which you can find in 'Configure / Version / Hardware ID') :
cp configXXXX.TXT configXXXX_backup.TXT
Issue this command to unprotect the partition:
mount / -orw,remount
Now use vi editor to open the configXXXX.txt file:
vi configXXXX.txt
To enter Insert mode, press:
i
Add these lines to the end of the file, if they aren't 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
To write current file (if you are sure and wish to save it), type in:
:w<ENTER>
To exit vi editor:
:q!<ENTER>
Now move into the folder where the lircd files are stored by typing:
cd /etc/config
Create a new lircd_config file for your radio, where XXXX is the Hardware ID of your radio:
cp lircd_config825.conf lircd_configXXXX.conf
Finally, Write protect the drive
sync;mount / -oro,remount
Reboot the radio
sources:
https://www.reciva.com/index.php?option=com_joomlaboard&Itemid=108&func=view&id=8074&catid=3 http://groups.google.co.uk/group/sharpfin/browse_thread/thread/1b78b9adefcd8067 http://logikir100.tripod.com/Logik.htm http://sharpfin.zevv.nl/index.php/Config.txt_File http://www.nslu2-linux.org/wiki/HowTo/AddAnInfraredReceiverAndTransmitterWithLIRC 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