[PlanetCCRMA] No sound with FC2, Delta 44, Pentium 4

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Wed Feb 9 12:41:02 2005


On Wed, 2005-02-09 at 12:05, Roger B. Dannenberg wrote:
> >On Wed, 2005-02-09 at 07:29, Roger B. Dannenberg wrote:
> >> I just switched from RedHat 8 to Fedora Core 2 and now I cannot get 
> >> any sound output. When I boot or run dmesg, I see errors like:
> >> 
> >> snd_ice1712: Unknown symbol snd_card_new
> >> snd_ice1712: Unknown symbol snd_iprintf
> >> ...
> >> 
> >> and if I try to start alsasound, I get many messages like:
> >> 
> >> Starting sound driver snd-ice1712 WARNING: Error inserting snd
> >> (/lib/modules/2.6.10-0.5.rdt.rhfc2.ccrmasmp/updates/acore/snd.ko): 
> >> Unknown symbol in module, or unknown parameter (see dmesg)
> >> WARNING: Error inserting snd_seq_device ...
> >
> >Was this an upgrade or a fresh install?
> An upgrade. (It seemed like a good idea at the time.)

I usually do installs, it is a way to "clean up" leftover stuff. There
are always small details that you have to fix after an upgrade (in my
experience). 

> OK, I took out /etc/modules.conf just to be sure, but I still get the same
> errors as before.
> 
> > So, check the options lines in /etc/modprobe.conf, or post them. If you
> change 
> > /etc/modprobe.conf do a "/sbin/depmod -a" before trying to load alsa
> again. 
> 
> OK, here's my /etc/modprobe.conf:

Try the modifications below to see what happens (there's stuff that was
moved from 2.4 without much thought, I think). Remove the lines or
comment them out (prepending a "#"):

> # Note: for use under 2.4, changes must also be made to modules.conf!
> alias parport_lowlevel parport_pc
> alias eth0 8139too
> alias eth1 8139too
> alias usb-controller uhci-hcd
> alias char-major-81-* bttv

--> remove
> alias char-major-116-* snd
<-- end remove

> alias snd-card-0 snd-ice1712

--> remove
> options snd-ice1712 index=0
> alias char-major-14-* soundcore
> alias snd-card-1 snd-ice1712
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
> options snd major=116 cards_limit=4 device_mode=0666
> options snd-usb-audio index=1
> options -k snd-card-0
> options -k snd-card-1
> alias snd-card-2 audio
> install sound-slot-1 /sbin/modprobe --first-time --ignore-install
> sound-slot-1 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 ||
> :; }
> install sound-slot-2 /sbin/modprobe --first-time --ignore-install
> sound-slot-2 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 ||
> :; }
> remove sound-slot-1 { /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1
> || :; } ; /sbin/modprobe -r --first-time --ignore-remove sound-slot-1
> remove sound-slot-2 { /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1
> || :; } ; /sbin/modprobe -r --first-time --ignore-remove sound-slot-2
> alias char-major-195* nvidia
> # --- BEGIN: Generated by ALSACONF, do not edit. ---
> # --- ALSACONF verion 1.0.8 ---
> alias snd-card-0 snd-ice1712
> alias sound-slot-0 snd-ice1712
> # --- END: Generated by ALSACONF, do not edit. ---
<-- end remove

Sigh, not much left (or needed)
I see that the fc2 upgrade did not create or modify automatic mixer
state save statements in /etc/modprobe.conf, something like this should
work (add at the end of the file - the following are just _two_ lines):

install snd-ice1712 /sbin/modprobe --ignore-install snd-ice1712 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-ice-1712 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-ice1712

Do a "/sbin/depmod -a" and restart alsa...
-- Fernando