Sign up here and you can log into the forum!

Can't wake up (turn on) after deep sleep

General WDLXTV-Live forum

Re: Can't wake up (turn on) after deep sleep   

Postby nmdtd » Sun Feb 28, 2016 3:28 am

mad_ady wrote:Ok, it seems the "system down" command was executed for you. Question is - after you've ran these commands (e.g. echo 'system down' | tee /proc/led & ), did the system go into deep sleep or not? If it did, you should lose network connectivity to it.

This doesn't explain yet why DMAOSD crashes on shutdown...


Can you explain, how i should ran these commands? Using telnet/ssh? It's little bit difficult for me :)
After it i'll find out if my WD go into deep sleep or not (losing network connectivity and temperature of device can help).
I did something like this:
http://pastebin.com/XPreqScH
But it has no result: system is on.
I think i'm doing it wrong :(
Here is info from Bug Report on WEC of my device:
http://pastebin.com/gApkCqjJ
nmdtd
n00b
 
Posts: 9
Joined: Mon Feb 22, 2016 7:34 am

Re: Can't wake up (turn on) after deep sleep   

Postby mad_ady » Mon Feb 29, 2016 12:12 am

Ok, based on your commands it seems that your device doesn't support "deep sleep". Don't worry, my device doesn't either using the regular method. This is most likely because the boards are a slightly different revision than most devices. You can still get deep sleep support if you flash kernel 2.6.22.19-19-4 #7: http://wiki.wdlxtv.com/Differences_between_kernels.

Don't worry, it will still work with 1.05 (check the wiki page above for differences). To flash it you must reflash your current firmware, but replace the wdtvlive.fff file that comes with the firmware with this one: http://svn.wdlxtv.com/filedetails.php?repname=kernels&path=%2Flive-0.4.7.3%2Fwdtvlive.fff). If you later don't like it you can return to your current kernel by reflashing the firmware with the provided kernel.

Most likely your other WDTV is a newer revision so deep sleep works differently out of the box.
User avatar
mad_ady
Developer
 
Posts: 4522
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Can't wake up (turn on) after deep sleep   

Postby nmdtd » Wed Mar 02, 2016 11:42 am

mad_ady wrote:Ok, based on your commands it seems that your device doesn't support "deep sleep". Don't worry, my device doesn't either using the regular method. This is most likely because the boards are a slightly different revision than most devices. You can still get deep sleep support if you flash kernel 2.6.22.19-19-4 #7: http://wiki.wdlxtv.com/Differences_between_kernels.

Don't worry, it will still work with 1.05 (check the wiki page above for differences). To flash it you must reflash your current firmware, but replace the wdtvlive.fff file that comes with the firmware with this one: http://svn.wdlxtv.com/filedetails.php?repname=kernels&path=%2Flive-0.4.7.3%2Fwdtvlive.fff). If you later don't like it you can return to your current kernel by reflashing the firmware with the provided kernel.

Most likely your other WDTV is a newer revision so deep sleep works differently out of the box.


Thank you very much for your help!
You are right about hardware differences (i missed it somehow): my old WD (working fine with deep sleep for a long time) is WDBAAP0000NBK-01 and the new one with "deep sleep bug" is WDBAAP0000NBK-00!
I flashed kernel 2.6.22.19-19-4 #7 from here: http://svn.wdlxtv.com/filedetails.php?repname=kernels&path=%2Flive-0.4.7.3%2Fwdtvlive.fff
Old kernel was: http://pastebin.com/0BxW2mYY
And the new one is: http://pastebin.com/JEKzqm7F
Unfortunately, i've got the same result again: no deep sleep (lan is working, WEC is accessible), dead remote and crashed OSD :shock:
After restarting OSD from WEC i can use remote and turn it on.
That's very strange and I don't know what to do now :(
nmdtd
n00b
 
Posts: 9
Joined: Mon Feb 22, 2016 7:34 am

Re: Can't wake up (turn on) after deep sleep   

Postby mad_ady » Wed Mar 02, 2016 11:55 pm

Can you try running this command and checking if it goes into deep sleep?
Code: Select all
echo standby | tee /proc/tangoxfreq/standby
User avatar
mad_ady
Developer
 
Posts: 4522
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Can't wake up (turn on) after deep sleep   

Postby nmdtd » Thu Mar 03, 2016 6:02 am

mad_ady wrote:Can you try running this command and checking if it goes into deep sleep?
Code: Select all
echo standby | tee /proc/tangoxfreq/standby


Interesting! This command (with Deep Sleep is ON in WEC config) put my device in a strange state: no HDMI signal, power led is on, LAN led is on (back panel), but no access via WEC, dead remote as usual :shock:
http://pastebin.com/qqC2urQU
The same thing with Deep Sleep is OFF in WEC config:
http://pastebin.com/VVgYCa5W
Firmware 1.05.04_V_WDLXTV_LIVE-0.5.2.2 with kernel 2.6.22.19-19-4 #7.
nmdtd
n00b
 
Posts: 9
Joined: Mon Feb 22, 2016 7:34 am

Re: Can't wake up (turn on) after deep sleep   

Postby mad_ady » Fri Mar 04, 2016 1:22 am

The WEC settings should not make any difference (you're telling the kernel to put the device into sleep forcibly). While it is in sleep can you check the following?
1. Is it cool to the touch after a while?
2. Can you wake it up by pressing Power on the remote once or twice?
3. Can you wake it up by sending a couple of Wake-On-LAN packets?
User avatar
mad_ady
Developer
 
Posts: 4522
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Can't wake up (turn on) after deep sleep   

Postby nmdtd » Mon Mar 07, 2016 8:24 am

mad_ady wrote:The WEC settings should not make any difference (you're telling the kernel to put the device into sleep forcibly). While it is in sleep can you check the following?
1. Is it cool to the touch after a while?
2. Can you wake it up by pressing Power on the remote once or twice?
3. Can you wake it up by sending a couple of Wake-On-LAN packets?


So, it's something like this:
1. it's cold while power LED is off, and warm while it's on (see below).
2. It turns off with no HDMI signal on TV and power LED is on. After pressing Power on remote: once - power led is off (no HDMI signal), twice - power led is on again (no HDMI signal), and so on, power-led-loop with blinking USB from time to time (no USB device is attached)
3. No, WOL have no result also.
4. It's still accessible via WEC while power LED is on, and no access while power LED is off.
Looks like it goes to standby from Telnet command, and goes to deep sleep after pressing Power on remote. But i can't wake it up from remote or WOL, just using WEC and restart DMAOSD - it automatically turns on with HDMI signal, no need to prees power on remote.
The main problem is crushing DMAOSD again, but i have no idea how to fix it.
Finally, i'm afraid, but my hardware revision -00 is not compatible with Deep Sleep feature any way :( :( :(
nmdtd
n00b
 
Posts: 9
Joined: Mon Feb 22, 2016 7:34 am

Re: Can't wake up (turn on) after deep sleep   

Postby mad_ady » Mon Mar 07, 2016 11:22 pm

That's a very strange behaviour. You could still use deep sleep, but without the DEEP_SLEEP switch.

Before DEEP_SLEEP was officially implemented, here's how we got things done: http://wiki.wdlxtv.com/Power_settings/Standby

You can still use it and inject the necessary POWER commands and reboot on wake up (or restart only DMAOSD), but it requires a bit of tinkering on your end.
User avatar
mad_ady
Developer
 
Posts: 4522
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Previous

Return to Discussion

Who is online

Users browsing this forum: No registered users and 2 guests