Using Telnet to Execute Relook Commands
This is a list of commands that can be issued to the Relook using a telnet session.
echo web_get_cur_time > /dev/commander cat /dev/weboutput This is in the units of seconds since January 1, 1980 and is used in the recording schedules.
echo web_get_cur_ch_num > /dev/commander cat /dev/weboutput
echo web_warm_off >/dev/commander
Note: this command seems a bit slow at times.
echo web_warm_on >/dev/commander
Note: this command seems a bit slow at times.
echo web_get_cur_ch > /dev/commander cat /dev/weboutput
echo pipe_get_cur_vol > /dev/commander
echo web_set_cur_vol 50 > /dev/commander The range is 0 to 100 with 100 the loudest
echo web_show_mess timeout message >/dev/commander
For example, to show a popup with the text “Hello, world!”for 10 seconds:
echo web_show_mess 10 hello, world\! >/dev/commander
echo web_recorded_filelist >/dev/commander
The filelist can be found in /tmp/webfilelist
echo web_tuner_status > /dev/commander
The status can be found in /tmp/tuner_status
echo web_get_cur_epg > /dev/commander
The XML file can be found in /tmp/webepg.xml
I haven’t tested this, but if someone else does, please correct this entry
echo web_add_schedule ch_id start_time duration sch_type >/dev/commander
echo web_delete_schedule schedule_id > /dev/commander
front_ioctl –devname /dev/tts/1 –job puts “message”
fb_ioctl -dev /dev/fb/0 connect # this turns on the console window echo “Testing the df command” > /dev/vc/0 # send a message to the virtual console df > /dev/vc/0 # send the df output to the virtual console
fb_ioctl -dev /dev/fb/1 connect # restore the normal picture
cat /proc/kmsg (This command will continue listing any new kernel messages until Cntl-C)
cat /proc/diskstats
cat /proc/cpuinfo Example output:
processor : 0 cpu : STBx25xx clock : 252MHz revision : 9.80 (pvr 5151 0950) bogomips : 250.88 machine : relook400 plb bus clock : 63MHz
cat /proc/meminfo
cat /proc/modules
cat /proc/mounts
or just
mount
cat /proc/mtd
cat /proc/version