
stork at openenterprise
Jun 12, 2003, 5:23 PM
Post #6 of 8
(2099 views)
Permalink
|
|
Re: Sound problems, aplay /dev/dsp doesnt work?
[In reply to]
|
|
Following the instructions to the letter on the ALSA site for this card I changed modules.conf as follows: alias eth0 tulip alias char-major-81 bttv alias char-major-195 nvidia # ALSA portion alias char-major-116 snd alias snd-card-0 sb # module options should go here 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 || : options sound dmabuf=1 options opl3 io=0x388 alias synth0 awe_wave post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2 options sb isapnp=1 # OSS/Free portion alias char-major-14 soundcore alias sound-slot-0 snd-card-0 # card #1 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 And I still can get sound from xmms, and I hear the driver getting loaded, and lsmod shows the following: [root[at]localhost root]# lsmod Module Size Used by Tainted: P snd 40260 0 (autoclean) mousedev 5236 1 (autoclean) input 5632 0 (autoclean) [mousedev] nvidia 1670784 10 (autoclean) iptable_filter 2316 0 (autoclean) (unused) ip_tables 14488 1 [iptable_filter] autofs 12148 0 (autoclean) (unused) nfs 74424 2 (autoclean) lockd 53968 1 (autoclean) [nfs] sunrpc 77084 1 (autoclean) [nfs lockd] tulip 42464 1 sb 8980 1 sb_lib 40974 0 [sb] uart401 8036 0 [sb_lib] sound 70132 1 [sb_lib uart401] soundcore 6116 5 [snd sb_lib sound] ext3 64704 2 jbd 47860 2 [ext3] But I still get the following [root[at]localhost root]# aplay /dev/dsp aplay: main:480: audio open error: No such device for /dev/dsp, dev/dsp0, dev/dsp1 etc If anyone knows what the correct settings shoudl be, I would be greatful. I also followed the complete ALSA instructions for the AWE 32 and this modules.conf will not load snd-sbawe: alias eth0 tulip alias char-major-81 bttv alias char-major-195 nvidia # ALSA portion alias char-major-116 snd alias snd-card-0 snd-sbawe # module options should go here # OSS/Free portion alias char-major-14 soundcore alias sound-slot-0 snd-card-0 # card #1 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 Running modprobe snd-sbawe produces... [root[at]localhost root]# modprobe snd-sbawe /lib/modules/2.4.20-18.9/kernel/sound/isa/sb/snd-sbawe.o: init_module: No such device 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 /lib/modules/2.4.20-18.9/kernel/sound/isa/sb/snd-sbawe.o: insmod /lib/modules/2.4.20-18.9/kernel/sound/isa/sb/snd-sbawe.o failed /lib/modules/2.4.20-18.9/kernel/sound/isa/sb/snd-sbawe.o: insmod snd-sbawe failed Any suggestions would be greatfully appreciated. Thanks again ------ original message ------ From: Bruce Markey <bjm[at]lvcm.com> To: Discussion about mythtv <mythtv-users[at]snowman.net> Sent: Thu Jun 12 16:34:32 MDT 2003 Subject: Re: [mythtv-users] Sound problems, aplay /dev/dsp doesnt work? Johnny Stork wrote: <br>> Thanks to the quick and accurate suggestions about the AMD K6 issue, I am now closer to getting MythTV running, but sound problems persist. <br>> <br>> Sound card is an AWE32 in a 16 bit ISQ slot <br>> . <br>> ----------------------------- <br>> modules.conf contains: <br>> <br>> alias eth0 tulip <br>> alias char-major-81 bttv <br>> alias sound-slot-0 sb <br>> post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || : <br>> pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || : <br>> options sound dmabuf=1 <br>> options opl3 io=0x388 <br>> alias synth0 awe_wave <br>> post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2 <br>> options sb isapnp=1 <br>> alias char-major-195 nvidia <br>> <br>> ------------------------------- <br>> <br>> I muted the line-in since my Hauppaug card has a line going into the line-in on the AWE card. <br>> <br>> I can run XMMS and play an MP3 fine and get sound. <br>> <br>> I have disabled aRts from the KDE Control Panel. <br>> <br>> ------------------------------ <br>> aplay /dev/dsp returns the following: <br>> <br>> [root[at]localhost root]# aplay /dev/dsp <br>> aplay: main:480: audio open error: No such device <br> <br>"No such device" usually means the device file exists but <br>there is no driver associated with that file. /dev/dsp <br>is normally a sym link to dsp0 . For ALSA to associate <br>a sound card with dsp0, you need a line in modules.conf for: <br> <br>alias snd-card-0 snd-XXX <br> <br>but I don't see this in the modules.conf segment you sent. <br> <br>Go to: <a href="http://www.mythtv.org/docs/mythtv-HOWTO-7.html#ss7.1"target="top">http://www.mythtv.org/docs/mythtv-HOWTO-7.html#ss7.1</a> <br>and look over the section on how to edit your modules.conf . <br> <br>-- bjm <br> <br>_______________________________________________ <br>mythtv-users mailing list <br>mythtv-users[at]snowman.net <br><a href="http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users"target="top">http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users</a> <br> <br>
|