Enabling remote control in the firmware: Difference between revisions

From Sharpfin
Jump to navigation Jump to search
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''') :
        type '''OPEN 192.168.x.x''' (this is your radio's ip address)
then enter user & password = “admin”


         type '''CD HWCONFIG'''
Now type in:
To look in hwconfig /root or /root/hwconfig, depending on the firmware version of your radio  
         '''open 192.168.x.x'''           (this is your radio's IP address)


        Type '''LS'''
Enter user & password = “admin” when prompted.  
Find your configxxxx.txt file (The xxxx is the Hardware Id, which you can find in 'Configure / Version / Hardware ID')


         type '''mount / -orw,remount'''
Now move into the folder /root/hwconfig by entering:
Issue this command to unprotect the partition
         '''cd hwconfig'''


        Type '''vi config'''xxxx'''.txt'''
Make a backup of your radio's configuration file (The XXXX is the Hardware Id, which you can find in 'Configure / Version / Hardware ID') :
to edit the configxxxx.txt file
        '''cp configXXXX.TXT configXXXX_backup.TXT'''


         Type '''i'''
Issue this command to unprotect the partition:
to enter Insert mode
         '''mount / -orw,remount'''


Adds these lines to the end of the file, if they aren't present:  
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  


        Type ''':w<ENTER>'''
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>'''
         Type ''':q!<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'''


        type '''sync;mount / -oro,remount'''
To Write protect the drive


Reboot the radio  
Reboot the radio  

Revision as of 07: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