Config.txt File: Difference between revisions

From Sharpfin
Jump to navigation Jump to search
Line 36: Line 36:
  20
  20


...shows the last 20 streams listened to.
...shows the last 20 streams listened to. History info gets stored in: /root/config/PRE_history.ini


  Option:
  Option:

Revision as of 21:12, 2 January 2008

Introduction

Radios have a configuration file, which is named ConfigXXXX.txt, where XXXX is the hardware number of the radio, which you can find with 'Configure / Version'. For example, an IR-100 is 1012. The Radios page has known hardware numbers.

The configuration file can be changed to enable/disable certain features. Some of these may add a feature a particular user finds useful. For example, those using the alarm clock may prefer it to be higher in the menu structure, or the history feature might be useful to get back to a recent stream.

Process to edit configuration file

Even with the old firmwares, there are many features of radios which are disabled. to enable these features, you may not even have to upgrade the firmware, but you will have to be familiar with Linux Command Line and the editor 'vi'.

  • Apply the sharpfin patch, see Enabling Login
  • Log into the radio using telnet (user & password = admin)
  • Look in /root or /root/hwconfig, depending on the current firmware version of your radio
  • Find your configxxxx.txt file (The xxxx is the Hardware Id, which you can find in 'Configure / Version')
  • Look in it and others in the same directory to work out what modifications you wish to make (such as enabling alarms)
  • Issue the command 'mount / -orw,remount' to unprotect the partition
  • Edit the configxxxx.txt file with 'vi configxxxx.txt'
  • Double Check your edits
  • Now treble check them!
  • Write protect the drive with 'sync;mount / -oro,remount'
  • Reboot the radio

Comments on the Config.txt file

Space for commented config.txt file (can others add information as it is known and relevant comments please )


Confirmed edits to /root/hwconfig/config1012.txt on a Logik IR-100:

Option:
stations-history
on

Option:
history-size
20

...shows the last 20 streams listened to. History info gets stored in: /root/config/PRE_history.ini

Option:
standby-text
*** Simbo ***

...replaces the 'Reciva Radio' text in standby.

Option:
clock-in-config-menu
on

...adds Clock in Configure.

Option:
clock-format-menu
on

...lets you change from 24hr to AM/PM

Option:
stereo-mode
stereo

Option:
stereo-mode-menu
on

...this adds a Stereo menu in Configure with Stereo/Mono options.

Option:
aux-menu
on

...this adds the menu option Equalisation under Configure & with Treble -14/+14 and Bass -14/+14 - it did nothing to the treble/bass on an IR-100.

Option:
contrast-menu
on

...adds the menu option Contrast under Configure & counts up/down with the wheel, doesn't alter the contrast on an IR-100.

Option:
volume-control
on

Option:
initial-volume
28

...whilst listening to a stream, the wheel alters the volume with an on-screen graphic to indicate min/max Volume. Not much use on an IR-100 - which has the audio-amp volume knob.


( Please edit / add more configuration options as known )

From "grepping" through the configxxx.txt

Option:
alarm-clock
off|config1|config2|no-alarm

off: no clock at all, no-alarm: just a clock, no alarm. config1&config2: alarm clock functionality enabled, difference between settings not yet known.

Further notes and observations

This thread on the Reciva website has a few clues ( which may now all be explained above ).


Here is a screen shot from a display with changes to the configXXXX.txt file http://sharpfin.zevv.nl/images/1/14/LCD-menu.jpg