• 1
  • 8
  • 9
  • 10
  • 11
  • 12(current)
Linux Frodo - No sound after resume from suspend
Hi

Sorry, this is the content of the link, and what I am trying to create: -

Put this to /etc/pm/sleep.d/000-resume-audio
chmod +x /etc/pm/sleep.d/000-resume-audio

Code:
#!/bin/sh
USER=xbmctest
case "$1" in
resume)
# that defines the default primary output
(sleep 10; \
OUTPUT=`su -c "xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'" $USER`; \
su -c "xrandr -display :0 --output $OUTPUT --off" $USER; \
sleep 1; \
su -c "xrandr -display :0 --output $OUTPUT --auto" $USERWink&
;;
esac
Reply
This might help you:
http://openelec.tv/forum/68-audio/55789-...t=48#67720
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Hi fritsch,

thanks for the reply, I did do this, all seemed to work. I still have the problem though, no audio after a resume

thanks
Reply
Not sure if it worked, put your

/var/log/pm.log and /var/messages

to a pastebin near you, e.g. xbmclogs.com
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Will do, at work just now, I may not be able to get it on until tomorrow night, but I'll post back once done

Thanks for your help
Reply
OK so this looks like the hook is working: -

/etc/pm/sleep.d/00_addon-sleep resume suspend: success.
Tue Jun 18 18:02:17 UTC 2013: Finished.
Sending action: Notification(Automatic update service:,New update available: 3.0.6 - please update manually,20000)
openelec:~ #

I still have a problem though, if my AMP is set to "TV\SKY" when I power the TV on (this also powers up the XBMC since I have a CEC adaptor) then switch to XBMC I have no sound, it does now come back when I suspend the XBMC and bring it back on again, this is better than before since the wife can at least press the standby button on the TV remote twice!

Please bear with me, I am VERY new to linux

thanks in advance
Reply
deleted
Reply
  • 1
  • 8
  • 9
  • 10
  • 11
  • 12(current)

Logout Mark Read Team Forum Stats Members Help
Frodo - No sound after resume from suspend3