Page 3 of 4
Re: SamyGO Mouse and Keyboard extension
Posted: Sat Feb 20, 2010 8:24 pm
by aquadran
erdem_ua wrote:aquadran, TV does not recognize my keyboard's "enter" key. I used with Net Surf program. Or the program does not support the enter key? :p
I think it's good to have a SDL utility that for wrapper for telnet utility. Using telnet withn TV itself, without computer

Does netsurf use our sdl ?
Re: SamyGO Mouse and Keyboard extension
Posted: Sat Feb 20, 2010 9:50 pm
by antapetr
Hi,
I'm not author of NetSurf for Samy but from binary can say that it uses static SDL library from SamyGO sourceforge download page. I built NetSurf with this library too, but abandoned this idea because for full featured browsing it lacks a lot of features.
What I noticed in static SDL library regarding mouse and keyboard extensions that this version of SDL not exposes and uses SDL_KeyboardEvent (SDL_MouseMotionEvent, SDL_MouseButtonEvent) structure field
witch - it should indicate input device index, using it we could identify source device in client programs and react as we need. And with current SDL library remote Enter button comes to client as "z" key on attached keyboard and there is no way to recognize is this "z" key on fully featured keyboard or just Enter button on remote.
Happy hacking

Re: SamyGO Mouse and Keyboard extension
Posted: Sat Feb 20, 2010 10:12 pm
by aquadran
antapetr wrote:Hi,
I'm not author of NetSurf for Samy but from binary can say that it uses static SDL library from SamyGO sourceforge download page. I built NetSurf with this library too, but abandoned this idea because for full featured browsing it lacks a lot of features.
What I noticed in static SDL library regarding mouse and keyboard extensions that this version of SDL not exposes and uses SDL_KeyboardEvent (SDL_MouseMotionEvent, SDL_MouseButtonEvent) structure field
witch - it should indicate input device index, using it we could identify source device in client programs and react as we need. And with current SDL library remote Enter button comes to client as "z" key on attached keyboard and there is no way to recognize is this "z" key on fully featured keyboard or just Enter button on remote.
Happy hacking

so not help from me here
Re: SamyGO Mouse and Keyboard extension
Posted: Sun Feb 21, 2010 12:29 am
by erdem_ua
Couldn't we use original SDL lib from SVN on this TV?
Just pull it from svn and compile statically with NetSurf app?
Re: SamyGO Mouse and Keyboard extension
Posted: Fri Mar 12, 2010 9:15 am
by jw1001
a-o wrote:how do you let this extension automatically run when the TV is turned on?
I think there is a startup script you can edit within the patched firmware. The extension could be run from there.
Wouldn't you still need to run the application using the keyboard?
Re: SamyGO Mouse and Keyboard extension
Posted: Fri Mar 12, 2010 5:42 pm
by arris69
a-o wrote:jw1001 wrote:I think there is a startup script you can edit within the patched firmware. The extension could be run from there.
Do you have any further details about this? I cannot find it.
...
you can start the Extensions from boot partition:
http://forum.samygo.tv/viewtopic.php?f=2&t=68&start=0
and this way you can also brick you tv, so think twice before you try this.
arris
Re: SamyGO Mouse and Keyboard extension
Posted: Fri Mar 12, 2010 7:08 pm
by arris69
a-o wrote:Well, I certainly do not want to start any applications from the boot partition (and thus avoid bricking my TV), but I would like some hint where this startup script is located or how it is called (because its location may differ from model to model?).
Greetings to Austria and its 'Roos.

simple boot process:
Code: Select all
kernel started from memory -> search for init
if init found:
init read /etc/inittab -> execute sysinit script (/etc/rcS)
from /etc/rcS -> /etc/rc.local -> mount boot partition
if success start /mtd_boot/rc.local -> /mtd_exe/rc.local
from /mtd_exe/rc.local -> start exeDSP
changes in one of the scripts can stop the boot process, and you have nice flat-panel with just one blinken light
so feel free edit one of them
with samygo firmware patcher a script from /mtd_rwarea will be called, but you have to create this script manualy. (hint: wiki)
hth
arris