SamyGO Control Center - StartLib & Explorer

Here are software that related with Samsung B series TVs. Like hex editors, new version of BusyBox or internal software, app programs that will run in your TV hardware.:!:This forum is NOT FOR USER QUESTIONS or Problems.

SamyGO Control Center - StartLib & Explorer

Postby cybertrn » Sun Feb 21, 2010 10:57 pm

For many applications in SamyGO project we need some setup procedure - run shell script, edit it's parameters, etc. Now every that task is problem for non-linux people. For example, in theory we can use external USB DVD drive for playing DVD on TV, but without such menu item on TV screen all our scripts and moudules are useless…
This is my variant of StarterLib, Directory and files Explorer with script output on TV screen.
Remote key mapping:
1 - top 2 - up 3 - PgUp
4 - left 5 - enter 6 - right
7 - bottom 8 - down 9 - PgDn
0 - EXIT

Red - Dir mode
green - App mode
yellow- Cmd mode
blue - Exit

You can explore (or start on non-dir modes ) current object with RIGHT key,
return to object choice (or level up in dir mode) with LEFT key.
Enter key used for toggle HEX/ASCII in explore mode and set option on in Cmd mode.

App & Cmd modes is same, but with different working directory - ./etc/init.d for APP and ./etc/cmd for Cmd.
App (or Cmd) - your shell script with second line starting with #!SamyGO and human readable name for menu list after two spaces (see lsmod in ./etc/cmd)
If you want only start your script, you must put only one (second) line with #!SamyGO and name into script file.
If you want set some options for you script before start, you must put all this options into separate file (see file ps in ./etc/cmd). Note, that option letter (word) you must put after description and symbol #.
Symbol after string #!SamyGO (now valid only 0,1,2) define parameter type -
2 - line with script name and file name in option field (only one in file)
1 - lines with set (default) option
0 - lines with unset option
This very simple syntax allow us obtain readable menu for different tasks.
program written on plain C and use SDL without SDL_ttf, now only one standard console font 8x16 used.
Application is very small and simple, but in lib directory almost all SamyGO kernel modules.
Program tested on LE40B653
Have fun!
Sorry for my english, I hope, that the main idea is clear and it will be useful for our community.
Attachments
SGCC.tar.gz
(1.64 MiB) Downloaded 745 times
cybertrn
 
Posts: 25
Joined: Fri Dec 11, 2009 7:37 am

Re: SamyGO Control Center - StartLib & Explorer

Postby erdem_ua » Sun Feb 21, 2010 11:51 pm

Himm, I think that name is reserved for arris next application, which name is SamyGOntrol Center :)
I (wish I) will test this tomorrow too. Thanks & Welcome to our community. :D
User avatar
erdem_ua
SamyGO Admin
 
Posts: 2957
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey

Re: SamyGO Control Center - StartLib & Explorer

Postby cybertrn » Mon Feb 22, 2010 7:03 am

Erdem, application name - one line in code. We can change it instantly, if application itself will be useful and will be live :D
cybertrn
 
Posts: 25
Joined: Fri Dec 11, 2009 7:37 am

Re: SamyGO Control Center - StartLib & Explorer

Postby devill2 » Tue Feb 23, 2010 4:20 am

Thanks cybertrn for the app,
i find it very usefull, finally shell script execution without the need to login via telnet first!
btw. why not name it SamyGo Commander oder SamyGo Explorer.
(tested with UE32B7000 ci+)
Greets
devill2
 
Posts: 92
Joined: Mon Dec 14, 2009 3:46 pm

Re: SamyGO Control Center - StartLib & Explorer

Postby devill2 » Wed Feb 24, 2010 8:58 am

Hello,
because i was bored, i added FTP Server and a simple VUSB NFS mount to the app (in the app section),
perhaps it is useful to someone.
FTP Server login:root , no password.
VUSB NFS mount: takes about 9 sec to load,
don't forget to change mount command in etc/init.d/mount_nfs_vusbimage.sh to your nfs share.
don't play around and modify / delete files when you don't know that it is 100% safe!
use ftpserver only to transfer files to usb device or tv ram or to backup files

Greets
Attachments
SGCCv0.1a.zip
(1.73 MiB) Downloaded 1743 times
Last edited by devill2 on Fri Feb 26, 2010 10:11 am, edited 4 times in total.
devill2
 
Posts: 92
Joined: Mon Dec 14, 2009 3:46 pm

Re: SamyGO Control Center - StartLib & Explorer

Postby ue32b7000 » Wed Feb 24, 2010 8:49 pm

Very easy to use

thx

Respect +2
ue32b7000
 
Posts: 42
Joined: Wed Feb 10, 2010 8:08 pm

Re: SamyGO Control Center - StartLib & Explorer

Postby ue32b7000 » Thu Feb 25, 2010 12:33 am

After some ftp to tv, the tv now turns off after 40 seconds... be aware people

I changed the content libraryscreen and restored the old one but still turns off..

What can this be?

Watchdog off is no help either

plz help

=======================================================================
problem Solved :D
=======================================================================
Last edited by ue32b7000 on Sat Feb 27, 2010 9:41 am, edited 2 times in total.
ue32b7000
 
Posts: 42
Joined: Wed Feb 10, 2010 8:08 pm

Re: SamyGO Control Center - StartLib & Explorer

Postby cybertrn » Thu Feb 25, 2010 6:11 am

To ue32b7000:
TV turns off without starting anything ?
After power on button?

Edit:
Are you copy Control Center to the TV or start it from USB stick? What size of transferring files? According bftp description in rfc1068 (App A), temp files are created into home directory, and in case of starting bftp from TV memory for large file transferring growing temp file can corrupt something into flash. if you have enough time to start telnet, enter df command and check use% /dev/stl0/13 (/mtd_tlib). If value is 100%, this version is right.
Last edited by cybertrn on Thu Feb 25, 2010 8:17 am, edited 1 time in total.
cybertrn
 
Posts: 25
Joined: Fri Dec 11, 2009 7:37 am

Re: SamyGO Control Center - StartLib & Explorer

Postby devill2 » Thu Feb 25, 2010 6:33 am

ue32b7000 wrote:After some ftp to tv, the tv now turns off after 40 seconds... be aware people

I only wrote little startup skript for bftpd http://sourceforge.net/apps/phpbb/samyg ... 74&start=0
i started it several times, ran it for about 6 hours while testing file transfer to usb devices, no problems at all,
bftp is a well known ftp daemon
ue32b7000 wrote:What can this be?

(when use ftp with root access you have to be carefull what you do)

Have you done anything outside /dtv/usb/... ? Have you deleted / replaced any files?

You can try factory reset, look at the wiki, perhaps it helps.

Edit:
ue32b7000 wrote:I changed the content libraryscreen and restored the old one but still turns off..

What does that mean? You replaced mainmenu.swf or T_Library.swf with modified one??
devill2
 
Posts: 92
Joined: Mon Dec 14, 2009 3:46 pm

Re: SamyGO Control Center - StartLib & Explorer

Postby ue32b7000 » Thu Feb 25, 2010 8:22 am

Hi devill2,

The tv starts fully normal after power on but after 40 sec. +- it turns off..

outside /dtv/usb/ I replaced mainmenu.swf and T_Library.swf with modified one, it worked flawless for more then an hour or so (with watchdog on) :oops:

I also replaced an mp3 file in wildlife photo section and restored the old one..
In my experience I did restore all the original files... :( but it keeps shutting down..

factory reset didn't solved it

I need to get the samsug on hold/pause so I can flash older firmware?
T-CHUCIPDEUC 3000.0 Still original samsung firmware)

What more can I try?
ue32b7000
 
Posts: 42
Joined: Wed Feb 10, 2010 8:08 pm

Next

Return to [B] Software

Who is online

Users browsing this forum: No registered users and 1 guest