Posts: 1,435
Joined: Jun 2012
Reputation:
11
cw-kid
Posting Freak
Posts: 1,435
Fritsch
Many thanks its working, the PC resumes from S3 Sleep mode and I can see the XBMC main menu, the screen then goes blank for a few seconds and when it comes back the sound is then working.
Is your solution a temporary work-around until they fix something? or is this expected to be the permanent fix?
Now if only I could figure out why SMB shares are sometimes unavailable after resume I'll be sorted.
Thanks again for your assistance!
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
From my point of view it is a kernel / Xserver problem.
So, currently my ideas give me only this workaround :-). I already completely kill what we have in alsa and update the pcm configs and reparse the hints on resume. And: the device is gone from a driver view :-) - so I won't find it, no matter what I do within xbmc.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 345
Joined: Jan 2008
Reputation:
6
This is XBMC unrelated but it fixes the problem and maybe it will help Fritsch
Since cw-kid mentioned Denon amp I recall that I was reading about some HDMI settings that invloved music/video
This is setting for Denon AVR-789.
Function is called "HDMI Control ON"
It allows to "pass through" HDMI signal from PC (or any device) to TV even when Denon is in Standby mode.
So you can turn off your Denon (not really completly off it is in standby) music shuts off but video signal stays.
In my setup.
I can put XBMC to sleep and amp to standby.
Then I wake up XBMC and video comes back even though amp is off.
When I turn amp on music comes back.
To finish the story.
When amp is in this "HDMI Control ON" mode I no longer have any problems with sound going off (changing alsa device) after sleep/resume.
No need for xrandr HDMI --off and --auto.
Posts: 1,435
Joined: Jun 2012
Reputation:
11
cw-kid
Posting Freak
Posts: 1,435
My Denon AVR is a cheapo model AVR-1513 I doubt it has that feature but will check it out.
Thanks
Posts: 1,435
Joined: Jun 2012
Reputation:
11
cw-kid
Posting Freak
Posts: 1,435
2013-04-14, 12:07
(This post was last modified: 2013-04-14, 12:12 by cw-kid.)
uomiarz your suggestion appears to be working! On the Denon AVR the Standby Pass setting was set to Off. I changed this to be Blu-ray the HDMI input I am using for the XBMC PC.
I then deleted the /etc/pm/sleep.d/000-resume-audio file using the sudo rm command. Was this the correct way to remove fritsch's fix ? Should I run some other command as well?
Anyways now when I start the activity on the Logitech Harmony remote control the AVR, TV then the XBMC PC are all turned on and set to the correct inputs etc, when XBMC resumes from S3 Sleep mode I have sound via the AVR & 5.1 speakers.
The screen no longer turns off and back on again confirming that fritsch's fix is no longer running.
If I put the AVR in to standby mode, then the sound only comes from the inbuilt speakers in my LG HDTV. If I turn the AVR back on, sound then comes back on the 5.1 speakers!
Thanks
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
All that you have done was right - and i now also know that it is not an xbmc bug :-)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 23
Joined: Dec 2012
Reputation:
0
bahman
Junior Member
Posts: 23
thanks for this - I have a Denon AVR-1610
I can find the HDMI Control setting and have put it to 'ON'
The Denon now gives me a few more options - Mode: Last/HDP/TV and all the other input options. I've left it to Last
and a few other settings.
What should I have using?
Posts: 3,544
Joined: Mar 2010
Reputation:
119
Your link doesn't work. What are you trying to edit in /etc/ ? Openelec contains some config files in ~/.config/