wake on lan support

Information, quest?ons and any other thing that related with A series.

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

wake on lan support

Post by marcjero » Tue Aug 07, 2012 11:41 am

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: 50
Joined: Sun Mar 06, 2011 8:40 pm

Re: wake on lan support

Post by marcjero » Tue Aug 07, 2012 8:10 pm

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: 145
Joined: Tue Jan 19, 2010 10:44 am

Re: wake on lan support

Post by tom_van » Wed Aug 08, 2012 4:43 pm

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: 50
Joined: Sun Mar 06, 2011 8:40 pm

Re: wake on lan support

Post by marcjero » Wed Aug 29, 2012 8:21 pm

And what about adding a widget or an application that just would run any script ?

tom_van
Official SamyGO Developer
Posts: 145
Joined: Tue Jan 19, 2010 10:44 am

Re: wake on lan support

Post by tom_van » Thu Aug 30, 2012 8:26 pm

Good idea. You can do it...

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

Re: wake on lan support

Post by marcjero » Sun Nov 11, 2012 7:23 pm

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: 145
Joined: Tue Jan 19, 2010 10:44 am

Re: wake on lan support

Post by tom_van » Sun Nov 11, 2012 11:05 pm

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: 50
Joined: Sun Mar 06, 2011 8:40 pm

Re: wake on lan support

Post by marcjero » Mon Nov 12, 2012 5:32 pm

And hat about using slsnif for that ?

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

Re: wake on lan support

Post by marcjero » Mon Nov 12, 2012 10:52 pm

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: 10011
Joined: Sun Mar 07, 2010 6:20 pm

Re: wake on lan support

Post by juusso » Tue Nov 13, 2012 5:36 am

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”