[Alsa-user] soundcard order changes on reboot

2009-01-13 Thread Guenther Meyer
hi,

I have a system with two soundcards (nvidia onboard, maudio 1010) running 
debian lenny.

sometimes after a system reboot the order of the devices changes:
one time nvidia is card 0 and maudio is card 1,
another time nvidia is card 1 and maudio is card 0.
that's not good, because all the routing could go to the wrong card,
and adapting asound.conf every time is not really a good solution.

so is there a way to fix the devices to specific numbers?



signature.asc
Description: This is a digitally signed message part.
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] soundcard order changes on reboot

2009-01-13 Thread Nigel Henry
On Tuesday 13 January 2009 15:48, Guenther Meyer wrote:
 hi,

 I have a system with two soundcards (nvidia onboard, maudio 1010) running
 debian lenny.

 sometimes after a system reboot the order of the devices changes:
 one time nvidia is card 0 and maudio is card 1,
 another time nvidia is card 1 and maudio is card 0.
 that's not good, because all the routing could go to the wrong card,
 and adapting asound.conf every time is not really a good solution.

 so is there a way to fix the devices to specific numbers?

That sounds like udev doing it's usual trick of loading everything 
simultaneously, resulting in it being anybodies guess in which order multiple 
cards, whether sound, ethernet, video, etc, will be loaded.

The sound is easy to fix, by setting options lines 
in /etc/modprobe.d/alsa-base. Example below.

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

Just change the driver names above to yours, and in which order you want them 
to be loaded.

All the best.

Nigel.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] soundcard order changes on reboot

2009-01-13 Thread sonof...@iinet.net.au

Hey 

I have the same problem but with multiple MIDI devices that use snd-usb-audio (evolution uc-17, bcf-200, amt8),is there a way to set the order with multiple cards that use the same module? 

cheers

Allan



On Wed Jan 14 2:44 , Nigel Henry sent:


On Tuesday 13 January 2009 15:48, Guenther Meyer wrote:
 hi,

 I have a system with two soundcards (nvidia onboard, maudio 1010) running
 debian lenny.

 sometimes after a system reboot the order of the devices changes:
 one time nvidia is card 0 and maudio is card 1,
 another time nvidia is card 1 and maudio is card 0.
 that's not good, because all the routing could go to the wrong card,
 and adapting asound.conf every time is not really a good solution.

 so is there a way to fix the devices to specific numbers?

That sounds like udev doing it's usual trick of loading everything 
simultaneously, resulting in it being anybodies guess in which order multiple 
cards, whether sound, ethernet, video, etc, will be loaded.

The sound is easy to fix, by setting options lines 
in /etc/modprobe.d/alsa-base. Example below.

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

Just change the driver names above to yours, and in which order you want them 
to be loaded.

All the best.

Nigel.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user
)


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] soundcard order changes on reboot

2009-01-13 Thread Guenther Meyer
Am Dienstag 13 Januar 2009 schrieb Nigel Henry:
 The sound is easy to fix, by setting options lines
 in /etc/modprobe.d/alsa-base. Example below.

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

 Just change the driver names above to yours, and in which order you want
 them to be loaded.

this works fine, thanks!


signature.asc
Description: This is a digitally signed message part.
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] soundcard order changes on reboot

2009-01-13 Thread Nigel Henry
On Tuesday 13 January 2009 23:41, sonof...@iinet.net.au wrote:
  Hey

  I have the same problem but with multiple MIDI devices that use
 snd-usb-audio (evolution uc-17, bcf-200, amt8),  is there a way to set the
 order with multiple cards that use the same module?

  cheers

  Allan

Hi Allan.

That's quite easy, but I've lost the email with the specific instructions. You 
will need the vendor id's, and product id's for each of your usb devices, but 
lsusb should provide you with those.

As I say I forget the exact lines that you need to set, so post a message to 
the list, with the subject line as below.

How to order multiple usb devices

Just a suggestion, but please post your messages in plain text, not HTML, and 
post your replies at the bottom of any replies you receive.

Hoping that you resolve your problem.

Nigel.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user