Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound modules load in random order #201

Closed
ismell opened this issue Feb 15, 2012 · 8 comments
Closed

Sound modules load in random order #201

ismell opened this issue Feb 15, 2012 · 8 comments
Labels
Milestone

Comments

@ismell
Copy link
Contributor

ismell commented Feb 15, 2012

In the latest builds snd-usb-audio randomly loads into slot 0 or 1 when in the alsa-base.conf it has the index listed as -2.
This causes issues because it's expected that snd-hda-intel will be in slot 0. Adding indexes or even using the new options snd slots snd-intel-hda, snd-usb-audio option does not do anything.I think this is the reason sound only works 50% of the time on some boxes.

Don't know how to fix it yet, but looking into it.

Raul

@sraue
Copy link
Contributor

sraue commented Apr 5, 2012

Hi ismell,

can we close this for now?

@ismell
Copy link
Contributor Author

ismell commented Apr 5, 2012

I'll double check on my latest dev build and let you know if it's been fixed.

@sraue
Copy link
Contributor

sraue commented Apr 17, 2012

@ismell ping :-)

@ismell
Copy link
Contributor Author

ismell commented Apr 17, 2012

I'll test it today I promise :P

@ismell
Copy link
Contributor Author

ismell commented Apr 19, 2012

Just tested it today and it still alive.

root ~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
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
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0


root ~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0


I don't personally need usb audio so I have it blacklisted. Though a new user might find it confusing if the sound randomly stops working for them.

On a different note I also tried using the drop downs in the XBMC audio settings to pick hdmi - NVidia -7 and I got the following:
18:30:15 T:140705320756992 ERROR: Initialize - failed to open custom device plug:'hdmi:CARD=NVidia,DEV=7' (error:No such file or directory), retry with default hdmi:CARD=NVidia,DEV=7
18:30:15 T:140705320756992 ERROR: Initialize - pcm_open_lconf, alsa error: -2 - No such file or directory

If that was to work correctly I don't think it would matter what order the modules loaded because they would be loaded by name then.

Raul

@hbjcr
Copy link

hbjcr commented Jun 15, 2012

I'm running OpenELEC 1.95.4 in a Jetway ION2 computer and this issue hasn't been solved yet.

@ismell
Copy link
Contributor Author

ismell commented Jun 15, 2012

For now just do the following
echo 'blacklist snd_usb_audio' >> ~/.config/modprobe.d/blacklist.conf

@sraue
Copy link
Contributor

sraue commented Nov 25, 2012

closing for now, if the problem still exist please open a new report

@sraue sraue closed this as completed Nov 25, 2012
ghollingworth pushed a commit to FiveNinjas/LibreELEC.tv.old that referenced this issue May 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants