(2013-02-02, 21:42)DDDamian Wrote: Would be funny if that's all it is - it caused a little angst amongst the team, blocked Frodo release and isn't really fixed....
IMO this has nothing to do with XBMC. As per my previous post:
(2013-01-23, 05:02)dave- Wrote: I had noticed no audio via HDMI on resume from suspend recently and google landed me here. My Asrock ION330 on first resume (after being suspended for 24hrs etc) had no audio. My wake script loads mythtv-frontend first, I switch to XBMC as required. Audio doesn't work on either which makes me think its not application related.
Did some more checking. On the first wake there is no sound device registered by my receiver. If I suspend and resume immediately, the sound device starts to work but nothing in the aplay output changes.
Code:
[root@modena ~]# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.25.
[root@modena ~]# uname -a
Linux modena 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012 x86_64 GNU/Linux
[root@modena ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
I have since found that without doing the 2nd suspend/wake, I can get audio to work again by restarting my desktop. That is, I use
SLiM as my desktop manager and if I restart that daemon. When the desktop starts up again (XFCE), and it fires up mythtv, audio is working again. If I make XBMC my default launched app on startup, same thing.
I'm not really sure what to change or try out as it is beyond my knowledge. All I know is that it didn't always happen so I can only assume it was after a system upgrade that touched the kernel, pm-utils, alsa or who knows what. But definitely was not XBMC as v11 (current for me) was ok at one point and v10 before that.