[PlanetCCRMA] snd card now not working. apparently slipped from Card 1 to Card 0.

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Tue Nov 14 18:34:01 2006


On Mon, 2006-11-13 at 18:16 -0800, Brad Fuller wrote:
> For some reason I'm getting the following error when using aplay:
> 
> ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '1'
> ALSA lib conf.c:3492:(_snd_config_evaluate) function
> snd_func_card_driver returned error: No such device

That would be "correct" as there is no card 1 according to
cat /proc/asound/cards... What happens if you try to play pointing to
card 0?

> I believe there is some mixup during boot about my Midisport 8x8 (which
> was 0) and the Delta 66 (which was card 1)
> The Midisport doesn't seem to appear now.

Are there any relevant messages in the output of "dmesg"? Or
in /var/log/messages? (I mean related to the discovery of the
midisport). 

> For another weirdness, my modprobe is now:
> 
> # cat modprobe.conf
> alias eth0 3c59x
> alias snd-card-1 snd-ice1712
> options snd-card-1 index=1
> options snd-ice1712 index=1
> remove snd-ice1712 { /usr/sbin/alsactl store 1 >/dev/null 2>&1 || : ; };
> /sbin/modprobe -r --ignore-remove snd-ice1712
> 
> Would the (behind-my-back) removal of the midisport slip the Delta 66
> into card 0 spot, but not tell others that the Delta 66 is now card 0
> and not card 1? I don't care much about the Midisport, so why doesn't my
> Delta66 work?

Try directing aplay to card 0 specifically, something like:
  aplay --device=plughw:0 filename.wav

Looks like kudzu (the hardware discovery software) missed the midisport
and automagically rewrote the soundcard related configuration files but
missed something. 

See if you have a /etc/asound.conf file and what it contains now...

-- Fernando


> some helpful hints:
> 
> # ls /dev/snd
> controlC0  pcmC0D0c  pcmC0D0p  seq  timer
> 
> # cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.11.
> Compiled on Jul 25 2006 for kernel 2.6.16-1.2080.16.rrt.rhfc5.ccrma.
> 
> # cat /proc/asound/cards
>  0 [M66            ]: ICE1712 - M Audio Delta 66
>                       M Audio Delta 66 at 0xece0, irq 20
> 
> 
> # /sbin/lsmod | grep snd
> snd_ice1712            55784  0
> snd_ice17xx_ak4xxx      4608  1 snd_ice1712
> snd_ak4xxx_adda         6400  2 snd_ice1712,snd_ice17xx_ak4xxx
> snd_cs8427              9216  1 snd_ice1712
> snd_ac97_codec         84128  1 snd_ice1712
> snd_seq_dummy           4100  0
> snd_seq_oss            30848  0
> snd_seq_midi_event      7296  1 snd_seq_oss
> snd_seq                50320  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
> snd_pcm_oss            43552  0
> snd_mixer_oss          16640  1 snd_pcm_oss
> snd_pcm                82976  3 snd_ice1712,snd_ac97_codec,snd_pcm_oss
> snd_timer              23068  2 snd_seq,snd_pcm
> snd_ac97_bus            2688  1 snd_ac97_codec
> snd_i2c                 6272  2 snd_ice1712,snd_cs8427
> snd_mpu401_uart         8064  1 snd_ice1712
> snd_rawmidi            24224  1 snd_mpu401_uart
> snd_seq_device          8716  4
> snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
> snd                    55204  17
> snd_ice1712,snd_ice17xx_ak4xxx,snd_ak4xxx_adda,snd_cs8427,snd_ac97_codec,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_i2c,snd_mpu401_uart,snd_rawmidi,snd_seq_device
> soundcore               9633  1 snd
> snd_page_alloc         10376  1 snd_pcm
> 
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma