You are not logged in.

#1 2009-12-27 17:41:24

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

[solved] alsa: mess with soundcard numbers on every reboot

I have 2 soundcards: HDA Realtek and ESI Juli@. The first normally known as hw0 and the second as hw1.
But last few days every reboot changes numbers of my soundcards. So now for example hw0 is juli@ and hw1 is realtek.

Mnemonic names in phonon are correct, so Realtek stands for Realtek and Juli@ stands for Juli@.

Is there any solution?

tnx.

edit
To moderator: please move to Multimedia and Games

Last edited by eDio (2009-12-30 05:49:54)

Offline

#2 2009-12-27 18:05:20

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [solved] alsa: mess with soundcard numbers on every reboot

Priobably the order of loading modules determines that. You might try loading them manually in rc.conf in the set order (snd_ice1724 and snd_hda_intel, I presume).

Offline

#3 2009-12-27 18:16:49

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [solved] alsa: mess with soundcard numbers on every reboot

http://www.gentoo.org/doc/en/alsa-guide.xml - the "Multiple sound cards" section. Yes, it's a Gentoo guide, but this part is distro-agnostic.

Offline

#4 2009-12-27 20:32:40

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: [solved] alsa: mess with soundcard numbers on every reboot

Thanks. I'll try these suggestions tomorrow (now I can't reboot my PC).

Offline

#5 2010-09-03 21:14:57

k2000
Member
Registered: 2009-12-02
Posts: 33

Re: [solved] alsa: mess with soundcard numbers on every reboot

Can you tell how you solved your problem? I have the same issue.
From the gentoo doc, I assume that this is these lines that are the solution:
(http://www.gentoo.org/doc/en/alsa-guide … hap4_sect4)

Code Listing 4.8: Two sound cards in /etc/modprobe.d/alsa.conf

options snd-emu10k1 index=0
options snd-via82xx index=1

but there's no alsa.conf file in /etc/modprobe.d.
I'm not sure if I have to create the file, or if the file is in another location in arch or is named differrently.
I currently have the same lines in /etc/modprobe.d/modprobe.conf and the cards are loaded properly in the good order, but I'm not sure if it still be correct next reboot.

Offline

#6 2010-09-04 06:46:03

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: [solved] alsa: mess with soundcard numbers on every reboot

I don't remember exactly, but, surely, I can see alsa.conf in my /etc/modprobe.d/, which contains

options snd-hda-intel index=0
options snd-ice1724   index=1

I think, you should create one.

BTW, I believe, the better option is to put your general purpose card at the first place, and to give your emu an index 1. Of course, if you don't want to listen to system sounds and flash videos with superior quality wink

Last edited by eDio (2010-09-04 06:58:00)

Offline

Board footer

Powered by FluxBB