Sign up here and you can log into the forum!

HDMI Handshake? Totally Confused...

The place for n00b questions, anything goes...no n00b too n00bish.

HDMI Handshake? Totally Confused...   

Postby Tenpin » Mon Aug 31, 2015 3:46 am

Hi,

I have been going round and round in circles for days regarding the HDMI NOT being recognised by my WDLive with 1.05.511. Everything worked fine for ages, but then I changed TV and the box was not plugged into the mains for several hours. Now when I turn on the tv and select source on my Panasonic TX48CX400B, I get "NO SIGNAL". The WDLIVE freezes and will not turn on (or anything). The only way round this is to unplug the WDLIVE from mains the replug then select source, and like a miracle it's back.

So every time I put the tv in standby the WDTVLIVE freezes.

I have looked at many pieces of advice, such as trimming the HDMI by a couple of mm, different leads etc to no avail.

Tried altering the config on the webend, but it ALWAYS shows composite on the config instead of HDMI:


DEVICE_NAME='WDLXTV-2b8b8'
LAN_TYPE='d'
LAN_TYPE_WIRELESS='d'
IP2='192.168.0.112'
NETMASK2='255.255.255.0'
GATEWAY='0'
GATEWAY2='192.168.0.1'
SET_DNS_SRV='a'
LANDNS='194.168.4.100'
IP_WIRELESS='192.168.0.88'
NETMASK_WIRELESS='255.255.255.0'
GATEWAY_WIRELESS='192.168.0.1'
WIRELESS_MODE='i'
WIRELESS_SSID='WZR-AG300H_2.4G'
WIRELESS_ENCRYPT_TYPE='5'
WIRELESS_KEY=''
WIRELESS_FAVORITE_PROFILE_ID='-1'
WIRELESS_SSID_0=''
WIRELESS_ENCRYPT_TYPE_0='0'
WIRELESS_KEY_0=''
WIRELESS_SSID_1=''
WIRELESS_ENCRYPT_TYPE_1='0'
WIRELESS_KEY_1=''
WIRELESS_SSID_2=''
WIRELESS_ENCRYPT_TYPE_2='0'
WIRELESS_KEY_2=''
WIRELESS_SSID_3=''
WIRELESS_ENCRYPT_TYPE_3='0'
WIRELESS_KEY_3=''
WIRELESS_SSID_4=''
WIRELESS_ENCRYPT_TYPE_4='0'
WIRELESS_KEY_4=''
WIRELESS_SSID_5=''
WIRELESS_ENCRYPT_TYPE_5='0'
WIRELESS_KEY_5=''
DMA_SLIDESHOW='3'
DMA_ENABLE_SCREENSAVER='1'
DMA_SCREENSAVER='5'
DMA_VOLUME='100'
DMA_MEDIA_SERVER=''
DMA_MEDIA_SERVER_NAME=''
DMA_NAME='WDLXTV-2b8b8'
virdev_int='eth0'
FILENAME='0'
FWUDCOND='1'
COMPONENT_OR_COMPOSITE='0'
AUDIO_5_1_OR_2_CHANNEL='0'
DMA_BROWSEMODE='1'
DMA_PHOTO_BROWSEMODE='1'
DMA_MUSIC_BROWSEMODE='1'
DMA_MOVIE_BROWSEMODE='3'
PRESET_URL_0=''
PRESET_URL_1=''
PRESET_URL_2=''
PRESET_URL_3=''
PRESET_URL_4=''
PRESET_URL_5=''
PRESET_URL_6=''
PRESET_URL_7=''
PRESET_URL_8=''
PRESET_URL_9=''
PRESET_MAP_0=''
PRESET_MAP_1=''
PRESET_MAP_2=''
PRESET_MAP_3=''
PRESET_MAP_4=''
PRESET_MAP_5=''
PRESET_MAP_6=''
PRESET_MAP_7=''
PRESET_MAP_8=''
PRESET_MAP_9=''
RUN_WIZARD='y'
MCX_AFFILIATED='n'
MCX_AUTO_STARTUP='n'
MCX_GREEN_BTN='y'
MCX_BOOT_FIRST='1'
PHOTO_FADE_INOUT='y'
MASS_PRODUCT='0'
CONFIG_BGM_PLAYMODE='1'
CONFIG_SCAN_MODE='8'
CONFIG_TV_SCAN='32'
CONFIG_DMA_ENABLE_PAL='0'
VIDEO_OUT='COMPOSITE'
VIDEO_OUT_RESOLUTION='auto'
VIDEO_PIP='1'
MODEL_NUMBER='150'
SLIDESHOW_SHUFFLE='0'
DMA_CONTENT_AGGREGATION='1'
PHOTO_SLIDESHOW_EFFECT='0'
CONFIG_PHOTO_PLAYMODE='1'
SUBTITLE_FONT_SIZE='40'
ADDITIONAL_ENCODING='ISO-8859-1'
SECURESOHO_ONLINE_SERVER_TYPE='0'
SECURESOHO_CURRENT_SERVER_TYPE='16384'
SHOW_FILESIZE_SETTING='1'
DMA_ENABLE_BGM_INFO_BAR='1'
ENABLE_SAMBA_SHARE='1'
LOCALE='en'
DMA_ENABLE_STANDBY_MODE='0'
DMA_ENABLE_AUTO_STANDBY='0'
PICFIT='1'
ENABLE_AUTO_LOGIN='1'
CONFIG_VIDEO_PLAYMODE='1'
ENABLE_FADING_UI_EFFECT_SETTING='0'
ENABLE_TRANSFER_SYNC='2'
SAMBA_WORKGROUP='WORKGROUP'
FIRST_TIME_TO_PLAY='1'
TIME_ZONE_SETTING='-08:00_1'
DAYLIGHT_SETTING='0'
ENABLE_TWKY_SHARE='1'
SYNC_NETWORK_INTERVAL='60'
SUBTITLE_DEFAULT_ON_OR_OFF='y'
MEDIAFLY_RESET_ACCOUNT='1'
ENABLE_MOBILE_SHARING='0'
ENABLE_COMMUNCATION_MGR='0'
SAMBA_WORKGROUP='WORKGROUP'
VIDEO_INFO_BAR=''
NFSD='OFF'
NFSD_AUTO='OFF'
USBICONS='ON'
SMBD_STANDBY='ON'
SMBD_AUTO='ON'
SMB_NOGUEST='OFF'
USB_POWER_OFF='0'
USB_POWER_OFF_DEEP_SLEEP='0'
NZBGET='ON'
RTORENT='OFF'
MT-DAAPD='OFF'
NTP='ON'
NTP_DELAY=''
NET_MOUNTS_DELAY='5'
SSHD='ON'
TELNETD='ON'
FTPD='ON'
ONLINEDELAYER='ON'
LISTNUM='10'
THUMBRESO='163x245'
GENTHUMBS='15'
DISABLE_ETHERNET_ON_STANDBY='NO'
YOUTUBE_SWITCHER='youtubeHD'
YOUTUBE_QUALITY='720P'
LIVE365_SWITCHER=''
BACKGROUND_IMAGE=''
CODEPAGE=''
IOCHARSET=''
UMSP='ON'
MSHEETMODE='std'
VIDMSHEET='ON'
GENMSHEET='ON'
LISTMSHEET='ON'
SHEETDIR=''
YOUTUBE_DEVICEID='AOuj_RojlFq16opGBmH-9FKkfBYkMGNXXF849xbV5Y5R-hCSX0dlKfufW7_tknqSA7CrMkveBSFy58dvqujXnvHW9fidGHQ0tIHOlJ9dWtTthJ3ONUkl7y8'
YOUTUBE_DEVICEKEY='WSkEhgEBF7c9C2SCKK11Fxu5f5//SL+LaVpqMrWNnXw='
PLUGIN_WEBDIRS='nzbgetweb|/usr/share/nzbgetweb,umsp|/usr/share/umsp,rtorrent|/usr/share/rutorrent'
WDTV_SN='WNV194103333'
EDID_TV_MODEL='VES055'
TV_COLOR_SPACE='3'
HDMI_FORCE_OUTPUT='0'
wlan_name=''
HDMI_AUTO_SWITCH='1'
APACHE='ON'
ROOT_UUID=''
TIMEZONE='GMT'
IPUP='OFF'
NTPSERVER='pool.ntp.org'
EIRI='OFF'
WDLXTV_CENSUS='ON'
DMAOSD_DEBUG='0'
FTPD_OPTIONS=''
SSHPORT='22'
PANDORA='ON'
RTORRENT='ON'
RTORRENT_DIR='Public (\\MYBOOKLIVE2)'
EASYNEWS_USER=''
EASYNEWS_PASSWORD=''
SMB_RESOLVEORDER='bcast lmhosts wins host'
SAMBA_SERVER_PROTECTION_STATE='0'
SYSTEM_USERNAME=''
SYSTEM_PASSWORD=''
SMBSHARE_USERNAME=''
SMBSHARE_PASSWORD=''
SAMBA_PROTECTION_WITH_GUEST='0'
SMB_STANDBY='ON'
NFSD_AUTO_DEFAULT=''
WEBEND_SHOWFW='ON'
WEBEND_SHOWNOWPLAYING='ON'
WEBEND_SHOWDISKS='ON'
WDLXTV_DB='OFF'
WDLXTV_DB_SYNC='30'
ROOT_TAG=''
WDTVEXT_WEB_REPO='Main,http://wdtvext.wdlxtv.com'
UMSP_WEB_REPO='Main,http://umsp.wdlxtv.com'
APPS_WEB_REPO='Main,http://apps.wdlxtv.com'
24VIDEO_DESCR='on'
24VIDEO_LEN='48'
24VIDEO_AUTO='on'
24VIDEO_AUTORID='5754862'
24VIDEO_ADULTKEY='donation'
MUCH_MOVIES_SAVE_FAVORITES='1'
YOUTUBE_NEW_VIDEOS='500'
PROXY_LED='OFF'
YOUTUBE_USERS='Rushfreek'
TRONIKPLAYER_INITIAL_DIR='/tmp/media/usb'
TRONIKPLAYER_SUBTITLES_LANG='eng'
TRONIKPLAYER_MOVIESHEET_FILENAME='$M/$F_sheet.jpg'
TRONIKPLAYER_MOVIESHEET_LANGUAGE='en'
TRONIKPLAYER_MOVIESHEET_TEMPLATE='/var/www/umsp/plugins/tronik-player/templates/default.xml'
TRONIKPLAYER_MOVIESHEET_FONT='/var/www/umsp/plugins/reader/fonts/arial.ttf'
TUBE8_SORT=''
TUBE8_ARRANGEBY='tw'
SYSINFO_CONFIG=''
IMDBTRAILERS_DEFAULT_RESOLUTION='720p'
ROTTENTOMATOES_DEFAULT_BITRATE=''
WEATHER_LOCATION='ru/ua/kyev-city/kyiv'
WEATHER_CITY_ID='0'
WEATHER_2_WEEK='ON'
WEATHER_SCREEN='1300*740'
WEATHER_SCREEN_BORDER='10 10 10 10'
WEATHER_SCREEN_TRUECOLOR='OFF'
WEATHER_SCREEN_BASE='1280*720'
WEATHER_SCREEN_FONT_BACKGROUND='00 00 80 80'
WEATHER_SCREEN_FONT_TITLE='34 00 00 FF'
WEATHER_SCREEN_FONT_HEADER='26 FF FF 00'
WEATHER_SCREEN_FONT_KEY='22 FF FF FF'
WEATHER_SCREEN_FONT_VALUE='22 FF FF FF'
WEATHER_SCREEN_FONT_SUNMOON='18 00 00 00'
WEATHER_SCREEN_FONT_BORDER='00 80 00 80'
ADULTSWIM_RESOLUTION='_hi.mp4'
CNWRK_SKIPFLASH='Y'
CNWRK_RESOLUTION='_hi.mp4'
SUBTITLES_USB='/tmp/media/usb/USB2/0063-6517/'
LINKSHEETS='ON'
MSHEETDIR=''
DEFAULTSHEET=''
SCREEN_SAVER_IMAGE='screen_saver.png'

I don't really want to alter any of the config (unless I have to)Should I FORCE_HDMI='ON' , and what I really need is someone to tell me what I am doing wrong PLEASE.
Tenpin
n00b
 
Posts: 2
Joined: Mon Jul 15, 2013 6:41 am

Re: HDMI Handshake? Totally Confused...   

Postby playmo77 » Mon Sep 07, 2015 11:47 am

Hello,

I have the exact same issue and I found a couple of workarounds

First, like you, If i boot up the unit while the TV is on everything is ok I can turn on and off the unit and switch between sources on my TV the wd tv live works fine.
But if i turn off the tv next time I will turn it on again I won't be able to use the remote, the unit won't respond until I reboot it.
The WD TV Live seems frozen but I can access it via SSH.

The solutions I found so far :
- Using an HDMI switcher works fine (http://www.amazon.fr/dp/B007H4F70K/ref=asc_df_B007H4F70K28680709/?tag=googshopfr-21&creative=22698&creativeASIN=B007H4F70K&linkCode=df0), but mine sometimes doesn't work properly (image blink randomly). In that case the switch handles the Handshake. My guess is that even an amp with HDMI in would do the trick.

- Applying this Enhanced standby+restart method works also for me:
http://wiki.wdlxtv.com/Power_settings/Standby

The drawbacks are :
-You need to wait for 1 or 2 min each time.
-If you turn the tv on and off while the WD TV live is on it will not respond to the remote anymore (can still be rebooted using ssh or unplugging power chord).

I am not fully satisfied with this though, it seems acceptable but I would want to really fix the issue.

Some infos which could help :
in the logs HDMI lost counter is repeated several time when the issue is happening then it says that it will switch back to component.
when this happens VIDEO_OUTPUT switch back to component (but still works via HDMI when rebooting)
HDMI_FORCE_OUTPUT=1 doesn't seem to affect the unit.

Instead of rebooting each time it would be nice if we could reload the sigma_dfb_hdmi_thread which is crashing (HDMI lost counter -> sorry my logs doesn't seem to be kept after rebooting).

Anyway I hope this helps, thanks to the community for the good work and I hope somebody can help us find a better solution.
playmo77
n00b
 
Posts: 17
Joined: Mon Sep 07, 2015 11:21 am

Re: HDMI Handshake? Totally Confused...   

Postby mad_ady » Mon Sep 07, 2015 10:34 pm

Since DMAOSD handles HDMI, it is possible (by using the latest firmware - 0.5.2.2) to use the webend to restart DMAOSD (there's a button on the left). It's faster than rebooting the whole unit, and can be done via the webend.
User avatar
mad_ady
Developer
 
Posts: 4553
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: HDMI Handshake? Totally Confused...   

Postby playmo77 » Tue Sep 08, 2015 1:30 am

Great idea, thanks !

Do you know the command to restart it so I can try automatizing the restart when i turn off the unit ?
playmo77
n00b
 
Posts: 17
Joined: Mon Sep 07, 2015 11:21 am

Re: HDMI Handshake? Totally Confused...   

Postby mad_ady » Tue Sep 08, 2015 5:09 am

Code: Select all
/etc/init.d/S70dmaosd stop; /etc/init.d/S70dmaosd start &
User avatar
mad_ady
Developer
 
Posts: 4553
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: HDMI Handshake? Totally Confused...   

Postby playmo77 » Tue Sep 08, 2015 10:44 am

Thanks very much, stop works but start doesn't :

Code: Select all
SYSTEM:ERROR:RUA splash screen clean up error 9
(!) System initialised
(!) DirectFB/irda: IR device /dev/ir could not be opened, retry in 1 second
    --> Input/output error
(*) Direct/Thread: Running 'IRDA Input' (INPUT, 11533)...
(*) DirectFB/Input: RC6 remote control 1.0 (SigmaDesigns)
(!) DirectFB/em86remote_tcp: could not bind server socket to port 30000    --> Address already in use
(*) Direct/Thread: Running 'Linux Input' (INPUT, 11534)...
(*) DirectFB/Input:  (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 11535)...
(*) DirectFB/Input:  (2) 0.1 (directfb.org)
DCCHD_LOG_CFG environment variable not set. Trying ./dcchdlog.cfg
Could not open debug configuration file: ./dcchdlog.cfg. Using default settings.
(!) Driver getting globals=0xae5b70
driver_get_available:1249, return 2
create keyboard device info.
linux_input_EventThread:896, fd = -1
linux_input_EventThread:911, bind sock = 8, ret = 0
create mouse device info.
linux_input_EventThread:896, fd = -1
linux_input_EventThread:911, bind sock = 9, ret = 0
DEBUG ACTIVE MODULES: ALL
DEBUG ACTIVE LEVELS: CODE_ISSUE DATA_ISSUE FATAL UNEXPECTED
[18:00:07.669] [src/mem_mngr.c:390]


Platform configuration:
   DRAM0 = 130 MB, DRAM1 = 0 MB


[18:00:07.671] [src/mem_mngr.c:396] DCC-HD memory configuration:
   Unmapped: DRAM0 = 3.4 MB,   DRAM1 = 0.0 MB
   Mapped:   DRAM0 = 126.2 MB,   DRAM1 = 0.0 MB
[18:00:07.672] [src/mem_mngr.c:401] MMAP_DRAM0_UNMAPPED_BASE = 0x1, size 3513 KB
[18:00:07.672] [src/mem_mngr.c:401] MMAP_JPEG_BASE = 0x36e007, size 0 KB
[18:00:07.673] [src/mem_mngr.c:401] MMAP_MONO_BASE = 0x36e007, size 0 KB
[18:00:07.674] [src/mem_mngr.c:401] MMAP_MONO_EXT_BASE = 0x36e007, size 0 KB
[18:00:07.674] [src/mem_mngr.c:401] MMAP_VIDEO_1_BASE = 0x36e007, size 0 KB
[18:00:07.675] [src/mem_mngr.c:401] MMAP_AUDIO_0_BASE = 0x36e007, size 0 KB
[18:00:07.676] [src/mem_mngr.c:401] MMAP_AUDIO_0_SHADOW_BASE = 0x36e007, size 0 KB
[18:00:07.677] [src/mem_mngr.c:401] MMAP_AUDIO_1_BASE = 0x36e007, size 0 KB
[18:00:07.677] [src/mem_mngr.c:401] MMAP_AUDIO_1_SHADOW_BASE = 0x36e007, size 0 KB
[18:00:07.678] [src/mem_mngr.c:401] MMAP_DRAM0_MEMPOOL_UNMAPPED_BASE = 0x2, size 3513 KB
[18:00:07.679] [src/mem_mngr.c:401] MMAP_DEMUX_BASE = 0x3, size 3256 KB
[18:00:07.679] [src/mem_mngr.c:401] MMAP_DEMUX_OUTPUT_BASE = 0x816e007, size 256 KB
[18:00:07.680] [src/mem_mngr.c:401] MMAP_MISC_BASE = 0x32e003, size 256 KB
[18:00:07.681] [src/mem_mngr.c:401] MMAP_DRAM1_UNMAPPED_BASE = 0x81ae009, size 1 KB
[18:00:07.682] [src/mem_mngr.c:401] MMAP_VIDEO_0_BASE = 0x36e007, size 0 KB
[18:00:07.682] [src/mem_mngr.c:401] MMAP_SPU_BASE = 0x36e007, size 0 KB
[18:00:07.683] [src/mem_mngr.c:401] MMAP_VIDEO_2_BASE = 0x36e007, size 0 KB
[18:00:07.684] [src/mem_mngr.c:401] MMAP_VIDEO_3_BASE = 0x36e007, size 0 KB
[18:00:07.684] [src/mem_mngr.c:401] MMAP_VIDEO_4_BASE = 0x36e007, size 0 KB
[18:00:07.685] [src/mem_mngr.c:401] MMAP_DRAM1_MEMPOOL_UNMAPPED_BASE = 0x81ae00b, size 1 KB
[18:00:07.686] [src/mem_mngr.c:401] MMAP_DRAM0_BASE = 0x36e005, size 129281 KB
[18:00:07.687] [src/mem_mngr.c:401] MMAP_CPS_BASE = 0x36e006, size 0 KB
[18:00:07.687] [src/mem_mngr.c:401] MMAP_DirectFB_BASE = 0x36e006, size 129024 KB
[18:00:07.688] [src/mem_mngr.c:401] MMAP_DRAM0_MEMPOOL_BASE = 0x816e006, size 257 KB
[18:00:07.689] [src/mem_mngr.c:401] MMAP_DRAM1_BASE = 0x81ae00d, size 1 KB
[18:00:07.690] [src/mem_mngr.c:401] MMAP_DRAM1_MEMPOOL_BASE = 0x81ae00f, size 1 KB
[18:00:07.690] [src/mem_mngr.c:401] MMAP_DCCHD_DATA_BASE = 0x816e007, size 0 KB
[18:00:07.691] [src/mem_mngr.c:401] MMAP_IG_DB_BASE = 0x36e007, size 0 KB
[18:00:07.691] [src/mem_mngr.c:401] MMAP_IG_PLANE_BASE = 0x36e007, size 0 KB
[18:00:07.691] [src/mem_mngr.c:401] MMAP_PG_DB_BASE = 0x36e007, size 0 KB
[18:00:07.691] [src/mem_mngr.c:401] MMAP_PG_EB_BASE = 0x36e007, size 0 KB
[18:00:07.691] [src/mem_mngr.c:401] MMAP_PG_CB_BASE = 0x36e007, size 0 KB
[18:00:07.691] [src/mem_mngr.c:401] MMAP_IG_CB_BASE = 0x36e007, size 0 KB
[18:00:07.691] [src/mem_mngr.c:401] MMAP_TS_EB_BASE = 0x36e007, size 0 KB
[18:00:07.691] [src/mem_mngr.c:401] MMAP_TS_FONT_BASE = 0x36e007, size 0 KB
[18:00:07.691] [src/mem_mngr.c:401] MMAP_BDMV_SOUND_BASE = 0x36e007, size 0 KB
[18:00:07.692] [src/mem_mngr.c:401] MMAP_PG_PLANE_BASE = 0x36e007, size 0 KB
[18:00:07.692] [src/mem_mngr.c:401] MMAP_IG_EB_BASE = 0x36e007, size 0 KB
[src/mem_mngr.c:415] !!! FAILED to allocate 0x81ae402 bytes (129.680664 MBs) in dram 0, aborting !!!
[18:00:07.692] [src/mem_mngr.c:949] DCC-HD MRUA memory allocator uninitalized
(!) DirectFB/Core: Could not initialize 'gfxcard' core!
    --> Out of video memory!
(!) System is going down !!
(!) System is down!!


But I m using 5.1.1 with kernel 2.6.22.19-19-4 #7
playmo77
n00b
 
Posts: 17
Joined: Mon Sep 07, 2015 11:21 am

Re: HDMI Handshake? Totally Confused...   

Postby mad_ady » Tue Sep 08, 2015 10:02 pm

You need to update to at least 0.5.2.1 or 0.5.2.2, because 0.5.1.1 does not deallocate framebuffer memory on shutdown.
User avatar
mad_ady
Developer
 
Posts: 4553
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: HDMI Handshake? Totally Confused...   

Postby playmo77 » Wed Sep 09, 2015 12:44 am

I will take some time to explain my findings (maybe it's just new only for me but perhaps if would help ...)

I found out that the second solution i provided is not working properly (reboot the unit while using enhanced standby), this was due to my kernel version (2.6.22.19-19-4 #9) which wasn't supporting enhanced standby.

I updated it with this one (2.6.22.19-19-4 #7) while keeping 5.1.1. But enhanced standby in that case doesn't work properly and freeze my unit (can' t wake it up using remote, didn't try wol).

I then tried to keep 2.6.22.19-19-4 #7 but downgrade to 4.7.X. The downgrade didn't work and i thought i bricked the unit.

Now I am back with 5.1.1 with kernel 2.6.22.19-19-4 #9.

Next for me will be to see if restarting dmaosd when going out of sleep would work in my case using latest version of the firmware (kernel update is not mandatory ?).

My guess is using this method :

Code: Select all
config_tool -c POWER_DOWN_ACTION94='logger -t "power_down_action" "Preparing busybox"; cp /bin/busybox /tmp; /tmp/busybox sh /tmp/busybox logger  "Busybox test pid:$$" ; sync'
config_tool -c POWER_DOWN_ACTION95='/tmp/busybox sh  -c "(/tmp/busybox reboot -d 3 -n -f )& /tmp/busybox echo standby > /proc/tangoxfreq/standby;"'
config_tool -s


but changing it like this may work :

Code: Select all
config_tool -c POWER_DOWN_ACTION94='logger -t "power_down_action" "Preparing busybox"; cp /bin/busybox /tmp; /tmp/busybox sh /tmp/busybox logger  "Busybox test pid:$$" ; sync'
config_tool -c POWER_DOWN_ACTION95='/tmp/busybox sh  -c "(/tmp/busybox /etc/init.d/S70dmaosd stop; /etc/init.d/S70dmaosd start -d 3 -n -f )& /tmp/busybox echo standby > /proc/tangoxfreq/standby;"'
config_tool -s



what do you think ?

Thanks very much for your help !!
playmo77
n00b
 
Posts: 17
Joined: Mon Sep 07, 2015 11:21 am

Re: HDMI Handshake? Totally Confused...   

Postby mad_ady » Wed Sep 09, 2015 12:59 am

I don't think that would work (anyway -d 3 -n -f doesn't make sense as parameters to S70dmaosd start). The standby feature worked by putting the unit in low power mode (by doing echo standby > /proc/tangoxfreq/standby). This has to be supported by your kernel. Some hardware revisions support this, others don't (but you can try the method of DEEP_SLEEP that b-rad implemetned).

The problem is - once you do dmaosd stop, you loose IR control, so it means you can't turn the unit back on with the IR. You can't even use the webend remote to turn the unit back on (since dmaosd is the process that handles IR messages). The only way to restart it is by triggering the DMAOSD start command from a different trigger (eg. Webend button).

Before thinking how to automate it, try to upgrade to 0.5.2.2, try the webend DMAOSD restart command and see if it works correctly for you. If it does, you can try to add just a POWER_UP_ACTION01 that uses wget to call the DMAOSD restart page - although WARNING: you might get stuck in a loop - once DMAOSD starts, it might call the scripts that call POWER_UP_ACTION and cause DMAOSD to reboot again. But I doubt it - it needs testing.
User avatar
mad_ady
Developer
 
Posts: 4553
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: HDMI Handshake? Totally Confused...   

Postby playmo77 » Wed Sep 09, 2015 4:50 am

Ok i'll try that and post my findings

upgrading to 5.2.2 without flashing is enough or do i need to flash ?

Is there somewhere a documentation for all the POWER_UP_ACTION ?
playmo77
n00b
 
Posts: 17
Joined: Mon Sep 07, 2015 11:21 am

Next

Return to n00b central

Who is online

Users browsing this forum: No registered users and 3 guests