Skip to content


Relook Commands using Telnet

Contents

[ hide ]

    Using Telnet to Execute Relook Commands

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

    Telnet to Execute Relook Commands ” />

    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.

    Current (Relook) Time in the telnet window ” />

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

    Current Channel Number in telnet window ” />

    echo web_warm_off >/dev/commander

    Note: this command seems a bit slow at times.

    to warm standby ” />

    echo web_warm_on >/dev/commander

    Note: this command seems a bit slow at times.

    back to normal mode ” />

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

    Current Channel Name in telnet window ” />

    echo pipe_get_cur_vol > /dev/commander

    Current Volume on Screen ” />

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

    the Volume ” />

    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

    a message on your TV screen ” />

    echo web_recorded_filelist >/dev/commander

    The filelist can be found in /tmp/webfilelist

    list of recorded files ” />

    echo web_tuner_status > /dev/commander

    The status can be found in /tmp/tuner_status

    tuner status ” />

    echo web_get_cur_epg > /dev/commander

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

    EPG in XML file ” />

    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

    / delete recording schedule ” />

    front_ioctl –devname /dev/tts/1 –job puts “message”

    a message on the Front Panel ” />

    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

    the console window and its output ” />

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

    the kernel messages in the telnet window ” />

    cat /proc/diskstats

    the disk statistics 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

    the Processor Details in the telnet window ” />

    cat /proc/meminfo

    the Memory Statistics in the telnet window ” />

    cat /proc/modules

    the Loaded Modules in the telnet window ” />

    cat /proc/mounts

    or just

    mount

    the Current Mount Points ” />

    cat /proc/mtd

    the flash address mapping ” />

    cat /proc/version

    the Linux version in the telnet window ” />
    This page is a Wiki! Log in or register an account to edit.

    Posted in .