Tuesday, September 22, 2009

Examining N200: 'DvdPlayer' - The Main program (Part1)

Startup & commandline options

The main program on the Emtec N200 is DvdPlayer. It resides in /usr/local/bin. The script to start it is /usr/local/etc/rcS. DvdPlayer itself then creates a few dozen forks.
After telneting to the Device, the command stopall allows the user to shutdown the GUI. Following that it is possible to relaunch it with commandline options.

To find out the available options:

/usr/local/bin # DvdPlayer --help
CMD: mkdir -p /tmp/netb/smb
In my system...
CMD: mkdir -p /tmp/smb
In my system...
CMD: ifconfig > /tmp/netb/samba_my_ip
In my system...
file system 2, sector 4294966272
mount to /usr/local/etc/hdd/volumes/HDD1
file system 4, sector 262144
mount to na
file system 3, sector 262144
mount to /usr/local/etc/hdd/root
MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125
station id [467] not found!
station id [2049] not found!

mele_iradio_init ok!

s_n_stations = 236

GrandMa Revision: 188778
rev: v7.1.1 r1193 by fengyh@MeleSoft at Jul 22 15:39:16 2009
Unrecognized option: --
DvdPlayer: -h -l [on/off] -o -p -f [NTSC/PAL]
-h: help
-l [on/off]: user input logging switch, defaultly off
-o : output file for output. Defaultly log.txt will be written
-p : output file for timing information logging
-f [NTSC/PAL]: select TV system (encoder)
-s [POWER/EJECT/RTC]: select start mode
-r [0/1/2/3/4/5/6/7/8]: set region code
-A : audio dumpfile
-V : video dumpfile
-S : size for debug memory
-t: calulate AP starting time

mele_iradio_release !


I'm not quite sure, what the first block of messages is trying to tell me, but the lower half is quite helpful. There are also some terms that seem noteworthy, like mele_iradio, MediaServer and GrandMa Revision. The Firmware version number Emtec uses is also contained here (rev: v7.1.1 r1193)

If you can shed some light on the meaning of the first half, please do so in the comments section. I will soon publish another post about the actual options, and how they can be applied in a permanent fashion.

Thanks for reading.

No comments:

Post a Comment