modules not automatically loaded + only have sound for WAV file (sound problem)

Cheok Yan Cheng yccheok at programmer.net
Fri Mar 5 09:08:38 UTC 2004


there is some problems that i am facing during my installation  of
soundMAX on Fedora Core-up(2.4.22.1.2115.nptl)

(1)i suppose the modules states in /etc/modules.conf should be
automatically loaded during the startup. however, i didn't found any
foot steps of the loaded modules either from /proc/modules or dmesg.
by looking at /proc/asound/cards, it complains no such file or
directory.


contents of /etc/modules.conf
=============================
alias usb-controller usb-uhci
alias usb-controller1 ehci-hcd
 
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.3 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

contents of /proc/modules
=========================
ide-cd                 35776   0 (autoclean)
cdrom                  33728   0 (autoclean) [ide-cd]
lp                      9060   0 (autoclean)
parport                37056   0 (autoclean) [lp]
autofs                 13364   0 (autoclean) (unused)
ipt_REJECT              4344   1 (autoclean)
ipt_state               1080   1 (autoclean)
ip_conntrack           29256   1 (autoclean) [ipt_state]
iptable_filter          2444   1 (autoclean)
ip_tables              15776   3 [ipt_REJECT ipt_state iptable_filter]
floppy                 58012   0 (autoclean)
sg                     36492   0 (autoclean) (unused)
scsi_mod              108168   1 (autoclean) [sg]
microcode               4700   0 (autoclean)
keybdev                 2976   0 (unused)
hid                    24708   0 (unused)
ehci-hcd               20264   0 (unused)
usb-uhci               26380   0 (unused)
usbcore                79168   1 [hid ehci-hcd usb-uhci]
mousedev                5556   1 (autoclean)
input                   5888   0 (autoclean) [keybdev hid mousedev]
ext3                   71300   2
jbd                    52084   2 [ext3]


contents of dmesg
=============================
--DIDN'T SEE ANY FOOT PRINT OF LOADED INTEL8x0 MODULES--



(2)ok. i just ignore the problem 1 at this moment. i modprobe
snd-intel8x0 explicitly. by looking at /proc/asound/cards, by looking
at /proc/asound/cards, here is the message.
 
0 [ICH5           ]: ICH - Intel ICH5
Intel ICH5 at 0xfebff800, irq 5


contents of /proc/modules(after modprobe explicitly)
=========================
snd-intel8x0           24648   0 (unused)
snd-ac97-codec         59676   0 [snd-intel8x0]
snd-pcm                85956   0 [snd-intel8x0]
snd-timer              19652   0 [snd-pcm]
gameport                3380   0 [snd-intel8x0]
snd-mpu401-uart         5280   0 [snd-intel8x0]
snd-rawmidi            18784   0 [snd-mpu401-uart]
snd-seq-device          6188   0 [snd-rawmidi]
snd                    46116   0 [snd-intel8x0 snd-ac97-codec snd-pcm
snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               6468   0 [snd]
snd-page-alloc         10164   0 [snd-intel8x0 snd-pcm]
ide-cd                 35776   0 (autoclean)
cdrom                  33728   0 (autoclean) [ide-cd]
lp                      9060   0 (autoclean)
parport                37056   0 (autoclean) [lp]
autofs                 13364   0 (autoclean) (unused)
ipt_REJECT              4344   1 (autoclean)
ipt_state               1080   1 (autoclean)
ip_conntrack           29256   1 (autoclean) [ipt_state]
iptable_filter          2444   1 (autoclean)
ip_tables              15776   3 [ipt_REJECT ipt_state iptable_filter]
floppy                 58012   0 (autoclean)
sg                     36492   0 (autoclean) (unused)
scsi_mod              108168   1 (autoclean) [sg]
microcode               4700   0 (autoclean)
keybdev                 2976   0 (unused)
hid                    24708   0 (unused)
ehci-hcd               20264   0 (unused)
usb-uhci               26380   0 (unused)
usbcore                79168   1 [hid ehci-hcd usb-uhci]
mousedev                5556   1 (autoclean)
input                   5888   0 (autoclean) [keybdev hid mousedev]
ext3                   71300   2
jbd                    52084   2 [ext3]

contents of dmesg(after modprobe explicitly)
=============================
intel8x0_measure_ac97_clock: measured 49848 usecs
intel8x0: clocking to 48000

i use gnome-volume-control to do volume control. strange things happen
here, when i open /usr/bin/redhat-config-soundcard, i will display the

Vendor: Intel Corp.
Model: 82801EB AC'97 Audio Controller
Module: i810_audio (i suppose the module is snd-intel8x0 according to
alsaconf ):

ok, i click "test sound". strange thing happen here, it will pop out
an error message saying that
"The i810_audio driver could not be loaded.  This soundcard may not be
compatible with Red Hat Linux." i click ok, a beautiful sound come
out!!! :O :O :O

i check the /proc/modules, still snd-intel8x0 modules loaded,
1810_audio not loaded.

content of dmesg(after "test sound" clicked)
============================
Intel 810 + AC97 Audio, version 0.24, 15:50:18 Oct 29 2003
Intel 810 + AC97 Audio, version 0.24, 15:50:18 Oct 29 2003

content of /var/log/messages(after "test sound" clicked)
============================
Mar  5 12:40:19 localhost insmod:
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/sound/i810_audio.o:
init_module: No such device
Mar  5 12:40:19 localhost insmod: Hint: insmod errors can be caused by
incorrect module parameters, including invalid IO or IRQ parameters.  
    You may find more information in syslog or the output from dmesg
Mar  5 12:40:19 localhost insmod:
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/sound/i810_audio.o:
insmod sound-slot-0 failed
Mar  5 12:41:20 localhost modprobe: modprobe: Can't locate module
sound-slot-1
Mar  5 12:41:20 localhost modprobe: modprobe: Can't locate module
sound-service-1-0
Mar  5 12:41:20 localhost modprobe: modprobe: Can't locate module
sound-slot-1
Mar  5 12:41:20 localhost modprobe: modprobe: Can't locate module
sound-service-1-0



(3)i try to test again with gnome-cd and xmms with audio cd, no sound
this time :(
i confirm the volume control is already up and not muted. snd-intel8x0
modules is loaded. just that the application still keep want to use
i810_audio (i suspect). no new message from /var/log/messages. i just
wondering how can i force the application to use snd-intel8x0?
i use the applications to play WAV file store in /usr/share/sounds,
they works! only other type of media files like audio cd, mp3 dun work
:(


(4)i also encounter once i run the redhat-config-soundcard, the
following line of information will dump into the end of
/etc/modules.conf

alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
>/dev/null 2>&1 || :

i dun wan those line since i810_audio not compataible with my hardware
although they are automatically detected.

how can i solve the problem (1) (2) (3) (4).

thank you very much!

regards
yan cheng
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm





More information about the users mailing list