2010-09-23, 00:44
I have an ASROCK A330ION motherboard, and an amp on the optical S/PDIF output (5.1 setup). I installed dharma beta 1 from the Live CD image, everything worked fine. However, IEC958 stopped working after I ran an apt update... This can be reproduced.
I figured out that this is probably(?) a kernel issue, since the audio also goes away ("unable to initialize audio") if I reinstall beta1 and then upgrade only the system, not xbmc. It's pretty annoying...
This might be relevant, from xbmc.log:
00:15:09 T:2085022576 M:566005760 DEBUG: Initialize - using alsa device plug:iec958
00:15:09 T:2085022576 M:566005760 ERROR: Initialize - pcm_open_lconf, alsa error: -2 - No such file or directory
00:15:09 T:2085022576 M:566005760 DEBUG: SetActiveDevice - SetActiveDevice from 2 to 1
00:15:09 T:2085022576 M:566005760 DEBUG: RemoveActiveDevice - Removing device 2
00:15:09 T:2085022576 M:565878784 DEBUG: CGUIAudioManager::Initialize
00:15:09 T:2085022576 M:564482048 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
00:15:09 T:2085022576 M:564482048 DEBUG: RemoveActiveDevice - Removing device 1
aplay -l shows:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
I think card0, device1 (iec958) is missing... it just went away. :|
I figured out that this is probably(?) a kernel issue, since the audio also goes away ("unable to initialize audio") if I reinstall beta1 and then upgrade only the system, not xbmc. It's pretty annoying...
This might be relevant, from xbmc.log:
00:15:09 T:2085022576 M:566005760 DEBUG: Initialize - using alsa device plug:iec958
00:15:09 T:2085022576 M:566005760 ERROR: Initialize - pcm_open_lconf, alsa error: -2 - No such file or directory
00:15:09 T:2085022576 M:566005760 DEBUG: SetActiveDevice - SetActiveDevice from 2 to 1
00:15:09 T:2085022576 M:566005760 DEBUG: RemoveActiveDevice - Removing device 2
00:15:09 T:2085022576 M:565878784 DEBUG: CGUIAudioManager::Initialize
00:15:09 T:2085022576 M:564482048 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
00:15:09 T:2085022576 M:564482048 DEBUG: RemoveActiveDevice - Removing device 1
aplay -l shows:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
I think card0, device1 (iec958) is missing... it just went away. :|