View previous topic :: View next topic |
Author |
Message |
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Wed Dec 26, 2012 7:55 pm Post subject: soud cards out of order |
|
|
every time I re-boot the sound cards aquire random order in:
I don't know what to do to have non-integrated card as first indexed alsa card.
help. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Wed Dec 26, 2012 8:04 pm Post subject: |
|
|
_______0,
Tell us the sound cards you have and how the drivers are made, either as modules or built into the kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Wed Dec 26, 2012 8:19 pm Post subject: |
|
|
two intels, on-board and from the hdmi in the radeon, then whatever webcam is plugged. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Wed Dec 26, 2012 8:27 pm Post subject: |
|
|
_______0,
That's only some of the information I asked for _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Dec 26, 2012 8:29 pm Post subject: |
|
|
The real question is: what do you need the order for ? |
|
Back to top |
|
|
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Wed Dec 26, 2012 8:46 pm Post subject: |
|
|
NeddySeagoon wrote: | _______0,
That's only some of the information I asked for |
modules.
VoidMage wrote: | The real question is: what do you need the order for ? |
many programs expect a HW:0,0 device. Else I start a program to listen music and outputs to graphics card HDMI alsa, for instance, other times some odd alsa device that only has ONE slider lands on HW:0,0. To have to trawl all the audio related config files to change device number is not desirable. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Dec 26, 2012 9:04 pm Post subject: |
|
|
Add to /etc/modprobe.d/local.conf:
Code: | alias snd-card-0 <module name or device alias for first sound card>
alias snd-card-1 <second sound card>
<etc.> |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Wed Dec 26, 2012 9:08 pm Post subject: |
|
|
_______0,
Sound card enumeration is controlled by module load order, when you use modules.
You can try to influence it with files created in /etc/modprobe.d
There should be a generic alsa.conf waiting for you _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
|
Back to top |
|
|
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Thu Dec 27, 2012 12:31 pm Post subject: |
|
|
Ant P. wrote: | Add to /etc/modprobe.d/local.conf:
Code: | alias snd-card-0 <module name or device alias for first sound card>
alias snd-card-1 <second sound card>
<etc.> |
|
what about for dynamic devices such as webcams?
by the way the .asoundrc hack sort of works. Only ncmpcpp doesn't get volume control anymore, (not that it was working anyways):
Also now I am getting this error:
Code: | /etc/init.d/alsasound start
* Restoring Mixer Levels ...
[b]alsactl: set_control:1464: Cannot write control '3:3:0:Playback Channel Map:0' : File descriptor in bad state[/b]
|
thanks |
|
Back to top |
|
|
|