two sound cards, keeping their HW number

defred defred at free.fr
Mon Oct 15 10:05:17 BST 2007


Great ! thanks for the tip, I believe it will more "stable" this way. I 
forgot to mention that I wanted both soundcards to work, so the "BIOS 
disabling" trick was a bit too radical for me. I'll see if it works in 
time, with various boot (but this linux thing is so powerfull that I 
rarely boot more then once in a day :D )

dF

Luke Yelavich a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat, Oct 13, 2007 at 08:48:25PM EST, defred wrote:
>   
>> Is there a way to "force" the sound devices to always have the same 
>> hardware address ?
>>     
>
> A better solution is to set the sound card you want as the default, and yes, there is a way of 
> doing this without having to force a card to a perticular address.
>
> Have a look in /proc/asound, using the ls -l command, like this:
>
> luke at marin:~$ ls -l /proc/asound
> total 0
> dr-xr-xr-x 9 root root 0 2007-10-14 09:04 card0
> dr-xr-xr-x 2 root root 0 2007-10-14 09:04 card1
> dr-xr-xr-x 4 root root 0 2007-10-14 09:04 card2
> dr-xr-xr-x 4 root root 0 2007-10-14 09:04 card3
> dr-xr-xr-x 4 root root 0 2007-10-14 09:04 card4
> - -r--r--r-- 1 root root 0 2007-10-14 09:04 cards
> - -r--r--r-- 1 root root 0 2007-10-14 09:04 devices
> lrwxrwxrwx 1 root root 5 2007-10-14 09:04 DMX6Fire -> card4
> lrwxrwxrwx 1 root root 5 2007-10-14 09:04 I82801DBICH4 -> card0
> lrwxrwxrwx 1 root root 5 2007-10-14 09:04 M1010LT -> card2
> lrwxrwxrwx 1 root root 5 2007-10-14 09:04 M66 -> card3
> - -r--r--r-- 1 root root 0 2007-10-14 09:04 modules
> dr-xr-xr-x 2 root root 0 2007-10-14 09:04 oss
> - -r--r--r-- 1 root root 0 2007-10-14 09:04 pcm
> dr-xr-xr-x 2 root root 0 2007-10-14 09:04 seq
> - -r--r--r-- 1 root root 0 2007-10-14 09:04 timers
> lrwxrwxrwx 1 root root 5 2007-10-14 09:04 UART -> card1
> - -r--r--r-- 1 root root 0 2007-10-14 09:04 version
>
> This shows that I have several sound devices in this system. You can see that my onboard sound 
> is an Intel card. So unless I change my default, all sound by default will be played from that 
> card. The hw numbers on this machine also change, so if I wanted to ensure all my Audio came out 
> my Delta 66, (M66 above), I run the following command:
>
> asoundconf set-default-card M66
>
> This creates the files .asoundrc and .asoundrc.asoundconf in your home directory. Note that this 
> doesn't set the default system wide, so for example the GNOME login sound will still play from 
> whatever soundcard is at 0, but this should help you ensure you get the audio from your apps 
> through the card you want.
>
> I also believe the asoundconf-gtk package has similar functionality, wrapped into a GUI.
>
> Hope this helps.
> - -- 
> Luke Yelavich
> GPG key: 0xD06320CE 
> 	 (http://www.themuso.com/themuso-gpg-key.txt)
> Email & MSN: themuso at themuso.com
> Jabber: themuso at jabber.org.au
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFHEVBUjVefwtBjIM4RAj0qAKCloLHQSgxz2wMmqC0HP0Sm0wMVyQCgwiv3
> +hLs4IxQOAutfv8jKm3qFPA=
> =JdN4
> -----END PGP SIGNATURE-----
>
>   



More information about the Ubuntu-Studio-users mailing list