OpenELEC Forum
Audi card # keeps changing - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: AUDIO (https://forum.openelec.tv/forumdisplay.php?fid=53)
+--- Thread: Audi card # keeps changing (/showthread.php?tid=32992)



Audi card # keeps changing - Rickenbacker - 05-04-2012

The audio card number on my Asrock ION 330 keeps changing when I reboot which means that sometimes audio is working fine, other times I get the "Failed to initialize audio device" error message.
There sdoesn't seem to be any "system" to whether a boot results in a system with working audio or not.

Here is an example:
Code:
login as: root
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################

OpenELEC_PVR Version: 1.95.3
root@172.16.1.60's password:
root ~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC889A Analog [ALC889A Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC889A Digital [ALC889A Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
root ~ #
login as: root
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################

OpenELEC_PVR Version: 1.95.3
root@172.16.1.60's password:
root ~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: NVidia [HDA NVidia], device 0: ALC889A Analog [ALC889A Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 1: ALC889A Digital [ALC889A Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

In the first instance where card is 0 everything worked fine. I ran "aplay -l" to get the first bit of the output shown above. I then reboote and this time the "failed to initialize message came up. I logged in again, ran aplay -l again and got the second instance of output. If I change the card number in my asound.conf file from 0 to 1 (or vice versa) I can then usually get it to work. Unless of course the next reboot causes the card number to change again.
Using xbmcbuntu there is never this problem, the card number stays the same.
The WAF factor is obviously non-existent with this problem, so is there a solution to this?


Re: Audi card # keeps changing - ancalex - 05-05-2012

Check this topic, maybe will help you.


Re: Audi card # keeps changing - Rickenbacker - 05-11-2012

That thread did help me and I now have a stable system. Thanks.