wake on lan support

Information, questions and any other thing related with A series.

marcjero
Posts: 51
Joined: Sun Mar 06, 2011 8:40 pm

wake on lan support

Post by marcjero »

Hello,

I trying to allow my tv (LE40A856) to start a server automatically using wake on lan.

I enabled the 02_10_wakelan.init init script but it doesn't seem work at TV boot. (MAC address was set correctly of course)
If I login to TV using ssh and run 02_10_wakelan.init manually server boots ! Any idea is very welcome because I'm stuggling...

Moreover it would be great to port the wake on lan application to A-Series. This way it could be possible to start the server on demand and not at every tv boot. Do you think this is possible ?
marcjero
Posts: 51
Joined: Sun Mar 06, 2011 8:40 pm

Re: wake on lan support

Post by marcjero »

Ok solved the issue adding a sleep 20 at the beginning of the script.

Is there a way to catch remote control events (log files) ? I would like to wake up the server when I try to access wiselink only.
tom_van
Official SamyGO Developer
Posts: 147
Joined: Tue Jan 19, 2010 10:44 am

Re: wake on lan support

Post by tom_van »

You can't do it without hacking exeDSP code.
There is similar app viewtopic.php?f=5&t=982 for B-series. It uses on-sreen menu. I haven't resolved how to display on-screen text on A series.
marcjero
Posts: 51
Joined: Sun Mar 06, 2011 8:40 pm

Re: wake on lan support

Post by marcjero »

And what about adding a widget or an application that just would run any script ?
tom_van
Official SamyGO Developer
Posts: 147
Joined: Tue Jan 19, 2010 10:44 am

Re: wake on lan support

Post by tom_van »

Good idea. You can do it...
marcjero
Posts: 51
Joined: Sun Mar 06, 2011 8:40 pm

Re: wake on lan support

Post by marcjero »

Hi,

I was too much worried about patching the exeDSP for application support so I didn't follow this route.
Tom isn't it a way to just observe the remote control commands from any /dev/* file ?
tom_van
Official SamyGO Developer
Posts: 147
Joined: Tue Jan 19, 2010 10:44 am

Re: wake on lan support

Post by tom_van »

You can try

Code: Select all

hexdump -v -n 9 -e '/1 "%02x "' /dev/ttyAS2
as I described in http://wiki.samygo.tv/index.php5/Watchd ... s%28SH4%29
Unfortunately if exeDSP is running you are in race with it when reading from serial line
- so you'll steal some byte time to time.

It is not a bad idea to have a patch functioning as redirector of rc commands to unix.
Unfortunately I'm too busy to make it now. Maybe sometimes.
marcjero
Posts: 51
Joined: Sun Mar 06, 2011 8:40 pm

Re: wake on lan support

Post by marcjero »

And hat about using slsnif for that ?
marcjero
Posts: 51
Joined: Sun Mar 06, 2011 8:40 pm

Re: wake on lan support

Post by marcjero »

compiled slsnif but got this error when running the program :
/lib/libc.so.6: version `GLIBC_2.7' not found

Do you know a way to fix that ? I think I have to force compiler to link an older libc ?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: wake on lan support

Post by juusso »

yes, you have to compile against libraries, used in tv. Or make static binary (best way for your goal).
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “A Series”