Search

Google Ads

Using Telnet to Execute Relook Commands

This is a list of commands that can be issued to the Relook using a telnet session.

Show Current (Relook) Time in the telnet window

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.

Show Current Channel Number in telnet window

echo web_get_cur_ch_num > /dev/commander
cat /dev/weboutput

Switch to warm standby

echo web_warm_off >/dev/commander

Note: this command seems a bit slow at times.

Switch back to normal mode

echo web_warm_on >/dev/commander

Note: this command seems a bit slow at times.

Show Current Channel Name in telnet window

echo web_get_cur_ch > /dev/commander
cat /dev/weboutput

Show Current Volume on Screen

echo pipe_get_cur_vol > /dev/commander

Set the Volume

echo web_set_cur_vol 50 > /dev/commander
The range is 0 to 100 with 100 the loudest

Show a message on your TV screen

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

Dump list of recorded files

echo web_recorded_filelist >/dev/commander

The filelist can be found in /tmp/webfilelist

Dump tuner status

echo web_tuner_status > /dev/commander

The status can be found in /tmp/tuner_status

Dump EPG in XML file

echo web_get_cur_epg > /dev/commander

The XML file can be found in /tmp/webepg.xml

Add / delete recording schedule

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

Show a message on the Front Panel

front_ioctl -devname /dev/tts/1 -job puts "message"

Show the console window and its output

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

List the kernel messages in the telnet window

cat /proc/kmsg
(This command will continue listing any new kernel messages until Cntl-C)

List the disk statistics in the telnet window

cat /proc/diskstats

List the Processor Details in the telnet window

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

List the Memory Statistics in the telnet window

cat /proc/meminfo

List the Loaded Modules in the telnet window

cat /proc/modules

List the Current Mount Points

cat /proc/mounts

or just

mount

List the flash address mapping

cat /proc/mtd

List the Linux version in the telnet window

cat /proc/version

relook_commands_using_telnet.txt · Last modified: 2008/08/17 20:56

Login

Username:     Password: Remember me
Register now! | Lost Password?

Who's Online

26 user(s) are online (5 user(s) are browsing Wiki)

Members: 11 | Guests: 15 | jimgb17, Kiwa, raoulcool, dinwal, thipau, Simple, oulit, moreno40, Doume59249, johnhoe, m_jasour, more...

New Members

| ochmo 2010/7/31 | | pakos 2010/7/31 | | saltello 2010/7/31 | | djslider 2010/7/31 | | abdul1508 2010/7/31 |

Powered by Linux Server by Apache Database by MySQL Rendered by PHP Templates by Smarty CMS by Xoops Wiki by Dokuwiki Blog by Wordpress
 
Addicted to DGStation :-) Hosted by ProxisNET           Browse Happy Get Opera! Get Firefox! Get Safari!

About | Copyright | Credits | Disclaimer | Webmaster © 2004 - 2010 denktenk.com, all rights reserved