Page 6 of 8

Re: Addons apps to current firmware

Posted: Mon Nov 09, 2009 10:32 pm
by cracket
I have tried to enable telnet using addon from usb ( SamyGO Telnet Enabler v0.02.zip )
Unfortunately it didn't work.
I did all steps, and screen went blank for a second, but when trying to connect tv:

Code: Select all

 telnet 192.168.0.12
Trying 192.168.0.12...
telnet: Unable to connect to remote host: Connection refused
SamyGO-Telnet is visible under game folder, so application was properly installed on usb stick.
during execution service port outputs following logs:

Code: Select all

I2C ERROR: src/spII2c.c, spII2c_CombinedRead
[ERROR][locArsenal_Read2IIC():451] /home/bnlee/brDVB_EU_CH/SDAL/Chelsea/COMP/Chelsea/src/CCommon_CH.cpp:locArsenal_Read2IIC is error
I2C ERROR: src/spII2c.c, spII2c_SubaddrWrite
[ERROR][locArsenal_Write2IIC():387] /home/bnlee/brDVB_EU_CH/SDAL/Chelsea/COMP/Chelsea/src/CCommon_CH.cpp:locArsenal_Write2IIC is error
DP_CPU_BLACK_CONTROL OFF 
m_bOSDDisplay:1, m_bDynamicControlStatus:0, m_bSignalActivity:0, iSourceMode:101, ResInfo.IsPC:0 
DP_CPU_BLACK_CONTROL OFF 
m_bOSDDisplay:1, m_bDynamicControlStatus:1, m_bSignalActivity:0, iSourceMode:1300, ResInfo.IsPC:0 
m_Menu.FocusMode = 4 
[CCLParseThread] t_Main:229 
=== Start Parse Thread ===
[CCLParseThread] t_Main:251 
=== End Parse Thread (2) ===
m_Menu.FocusMode = 4 
m_Menu.FocusMode = 4 

##### [CTaskManager::ActivateApplication][INFO] {callthread = 1816249488, from = 59, app = 57 , cApp = 59, bActivateTVViewer = 0, pActiveData = 0x2C50BC0, p#
DP_CPU_BLACK_CONTROL OFF 
m_bOSDDisplay:1, m_bDynamicControlStatus:0, m_bSignalActivity:0, iSourceMode:1300, ResInfo.IsPC:0 
DP_CPU_BLACK_CONTROL OFF 
m_bOSDDisplay:1, m_bDynamicControlStatus:1, m_bSignalActivity:0, iSourceMode:1300, ResInfo.IsPC:0 
killall: telnetd: no process killed
umount: Couldn't umount /dev/pts: Invalid argument

##### [CTaskManager::ActivateApplication][INFO] {callthread = 1918719120, from = 57, app = 59 , cApp = 57, bActivateTVViewer = 0, pActiveData = 0x5, pDeacti#

Why /dev/pts needs to be unmounted prior to running telnetd? It seems because of that error telnetd was not started by application
my tv model is LE37B650 T2W XXH version AC5

Re: Addons apps to current firmware

Posted: Tue Nov 10, 2009 7:53 am
by jojomail
I had the same problem with SamyGO Telnet Enabler v0.02.zip. Try SamyGO Telnet Enabler v0.01.zip, it works for me.

Re: Addons apps to current firmware

Posted: Tue Nov 10, 2009 8:21 am
by arris69
cracket wrote:...
Why /dev/pts needs to be unmounted prior to running telnetd? It seems because of that error telnetd was not started by application
my tv model is LE37B650 T2W XXH version AC5
tnx for report, if you don't have a telnet enabled firmware pls. use v0.01,
if you have a patched firmware than you can switch to v0.02.
v0.02 restarts telnet just in case nobody is logged in (in this case /dev/pts is unmountable).
next version have to check the error message from umount (not mounted / busy ).

sorry for inconvenience, :oops:

arris

Re: Addons apps to current firmware

Posted: Wed Nov 11, 2009 12:49 pm
by aquadran
After playing with SDL input events from remote controller I discover few things.
First there are only few buttons which custom program can handled:
left - SDLK_LEFT
right - SDLK_RIGHT
up - SDLK_UP
down - SDLK_DOWN
center - SDLK_z
red - SDLK_HOME
green - SDLK_F1
yellow - SDLK_F2
blue, Return - SDLK_ESCAPE
numbers 0-9 - SDLK0-9

While running custom app don't press following buttons, they trigger exeDSP exit from Content Library but without proper exit custom app, and may lead in same cases to crash tv software. Buttons: EXIT, SOURCE, P+, P-, TV, POWER, CONTENT.

Each keypress has some timeout for next button so you can not press few buttons fast.
Also you can not press two buttons or more at once, only one button trigger event (it seems limit of remote controller)

Using remote controller only usefull for simple control, but for more advanceed apps you will need support for mouse and keyboard support.

Re: Addons apps to current firmware

Posted: Fri Nov 13, 2009 6:22 pm
by aquadran
cus1 wrote:The available keycodes are also in the SDL source that comes with 32B650.ZIP in the SDL/src/video/dummy/SDL_nullevents.c file.
It's not true