[PlanetCCRMA] Reordering Sound Cards
Janina Sajka
janina at freestandards.org
Wed Jul 6 14:30:02 PDT 2005
Mark Knecht writes:
> Hi,
> I think you want something like:
>
> alias snd-card-0 snd-CARD_0
> options snd-CARD_0 index=0
> alias snd-card-1 snd-CARD_1
> options snd-CARD_1 index=1
>
> I don't have this set up right now but I've used it in the past with 2
> audio cards and a USB MIDI interface where I wanted to know that each
> time I booted I'd always get the cards in a known order.
>
Yes, that's exactly what I did in /etc/modprobe.conf, but it doesn't
appear to be enough.
Running aplay [file.wav] gives me:
ALSA lib conf.c:1578:(snd_config_load1) _toplevel_:51:23:No such file or
directory
ALSA lib conf.c:2823:(snd_config_hook_load) /etc/alsa/cards/aliases.conf
may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2686:(snd_config_hooks_call) function
snd_config_hook_load returned error: No such file or directory
ALSA lib pcm.c:1959:(snd_pcm_open_conf) Invalid type for PCM default
definition (id: default, value: cards.pcm.default)
aplay: main:533: audio open error: Invalid argument
Whereas 'apaly -D hw:0,0' works like a charm. So, not sure where the
"invalid argument' is housed.
As you suggest, I've already switched things around in my
/etc/modprobe.conf as follows. The card/index number are as I want them.
The install had them reversed from this:
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 1 >/dev/null 2>&1 || : ;
}; /sbin/modprobe -r --ignore-remove snd-intel8x0
options snd-hdsp index=1
remove snd-hdsp { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-hdsp
> Hope this helps,
> Mark
>
> On 7/6/05, Janina Sajka <janina at rednote.net> wrote:
> > Can anyone advise on how best to rearrange the order of multiple sound
> > cards in an FC4 system?
> >
> > I am trying to setup a pretty snappy P4 box for audio work. It has an on
> > board Intel 8X0 and I've plopped my HDSP Multiface's PCI interface card
> > inside. The FC4 installation set the HDSP up as card 0, and the onboard
> > Intel as card 1. Well, that's the opposite of what I want, but just
> > switching the designations in /etc/modprobe.conf doesn't do the trick.
> >
> > I can successfully:
> >
> > aplay -D hw:0,0
> >
> > to play to the Intel. But aplay all alone just gives me an error.
> >
> > My reasoning for keeping the 8X0 in the systemis to have it grab all the audio by default, such as
> > my software TTS speech interface on the GUI, etc. In particular I would
> > not want my screen reader audio events intermixed with my
> > compositions/performances.
> >
> > Should I physically move my HDSP PCI interface to another slot and run
> > Kudzu? What's the best way to get Fedora to reorder these devices?
> >
> > Thanks in advance for all advice on this.
> >
> >
> >
> > Chair, Accessibility Workgroup Free Standards Group (FSG)
> > janina at freestandards.org http://a11y.org
> >
> > Janina Sajka Phone: +1.202.494.7040
> > Partner, Capital Accessibility LLC http://www.CapitalAccessibility.Com
> >
> > Bringing the Owasys 22C screenless cell phone to the U.S. and Canada. Go to http://www.ScreenlessPhone.Com to learn more.
> >
> > _______________________________________________
> > PlanetCCRMA mailing list
> > PlanetCCRMA at ccrma.stanford.edu
> > http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
> >
--
Chair, Accessibility Workgroup Free Standards Group (FSG)
janina at freestandards.org http://a11y.org
Janina Sajka Phone: +1.202.494.7040
Partner, Capital Accessibility LLC http://www.CapitalAccessibility.Com
Bringing the Owasys 22C screenless cell phone to the U.S. and Canada. Go to http://www.ScreenlessPhone.Com to learn more.
More information about the PlanetCCRMA
mailing list