Mailing List Archive

Sound problems, aplay /dev/dsp doesnt work?
Thanks to the quick and accurate suggestions about the AMD K6 issue, I am now closer to getting MythTV running, but sound problems persist.

Sound card is an AWE32 in a 16 bit ISQ slot
.
-----------------------------
modules.conf contains:

alias eth0 tulip
alias char-major-81 bttv
alias sound-slot-0 sb
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
alias char-major-195 nvidia

-------------------------------

I muted the line-in since my Hauppaug card has a line going into the line-in on the AWE card.

I can run XMMS and play an MP3 fine and get sound.

I have disabled aRts from the KDE Control Panel.

------------------------------
aplay /dev/dsp returns the following:

[root@localhost root]# aplay /dev/dsp
aplay: main:480: audio open error: No such device

-------------------------------------------
Trying to go to "Watch TV" in Myth frontend bails out with the following:

[root@localhost root]# mythfrontend
connecting to backend server: 127.0.0.1:6543
Changing from None to WatchingLiveTV
ERROR: something is currently using: /dev/dsp
Fix this, then run mythfrontend again
pure virtual method called
Aborted

-----------------------------------------------
Running fuser -v /dev/dsp doesnt return anything at all?

------------------------------------------------

Hopefully there is a nice, quick and easy solution like the last one I posted. Once again thanks to everyone that responded so quickly.

Cheers






<hr>
<b><font color=blue size=4>Open Enterprise Solutions</font>
<font color=red>Linux & Open Source Solutions for Business</font></b>

Johnny Stork, B.A.
Calgary, AB

<a href="http://www.openenterprise.ca">
www.openenterprise.ca</a>
Re: Sound problems, aplay /dev/dsp doesnt work? [ In reply to ]
torsdag 12 juni 2003 20:48 skrev Johnny Stork:
> Thanks to the quick and accurate suggestions about the AMD K6 issue, I am
> now closer to getting MythTV running, but sound problems persist.
>
> Sound card is an AWE32 in a 16 bit ISQ slot
> .

I got this tip on the list yesterday, and that was to start alsamixer and
mark line-in as capture. Then go furthest to the right, until you find a
device called capture and hit space over that to enable capture on it. That
fixed my problems ...
Re: Sound problems, aplay /dev/dsp doesnt work? [ In reply to ]
I did not have any success installing ALSA and running alsamixer returns

alsamixer: function snd_ctl_open failed for default: no such device

------ original message ------
From: =?iso-8859-1?q?=D6rn=20Hansen?= <orn.hansen@swipnet.se>
To: Discussion about mythtv <mythtv-users@snowman.net>
Sent: Thu Jun 12 13:26:59 MDT 2003
Subject: Re: [mythtv-users] Sound problems, aplay /dev/dsp doesnt work?

torsdag 12 juni 2003 20:48 skrev Johnny Stork:
<br>> Thanks to the quick and accurate suggestions about the AMD K6 issue, I am
<br>> 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> I got this tip on the list yesterday, and that was to start alsamixer and
<br>mark line-in as capture. Then go furthest to the right, until you find a
<br>device called capture and hit space over that to enable capture on it. That
<br>fixed my problems ...
<br>
<br>_______________________________________________
<br>mythtv-users mailing list
<br>mythtv-users@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>
Re: Sound problems, aplay /dev/dsp doesnt work? [ In reply to ]
Johnny Stork wrote:
> Thanks to the quick and accurate suggestions about the AMD K6 issue, I am now closer to getting MythTV running, but sound problems persist.
>
> Sound card is an AWE32 in a 16 bit ISQ slot
> .
> -----------------------------
> modules.conf contains:
>
> alias eth0 tulip
> alias char-major-81 bttv
> alias sound-slot-0 sb
> 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
> alias char-major-195 nvidia
>
> -------------------------------
>
> I muted the line-in since my Hauppaug card has a line going into the line-in on the AWE card.
>
> I can run XMMS and play an MP3 fine and get sound.
>
> I have disabled aRts from the KDE Control Panel.
>
> ------------------------------
> aplay /dev/dsp returns the following:
>
> [root@localhost root]# aplay /dev/dsp
> aplay: main:480: audio open error: No such device

"No such device" usually means the device file exists but
there is no driver associated with that file. /dev/dsp
is normally a sym link to dsp0 . For ALSA to associate
a sound card with dsp0, you need a line in modules.conf for:

alias snd-card-0 snd-XXX

but I don't see this in the modules.conf segment you sent.

Go to: http://www.mythtv.org/docs/mythtv-HOWTO-7.html#ss7.1
and look over the section on how to edit your modules.conf .

-- bjm
Re: Sound problems, aplay /dev/dsp doesnt work? [ In reply to ]
Based on the settings that I provided in the first posting (modules.conf) what would be the settings then that I should add into my modules.conf to get this to work?

Just adding

alias snd-card-0 snd-XXX

certainly doesnt work and going through those docs you mentioned is not clear (what should XXX be?) and I still cant get it to work. However, the original setting I provided does allow sound through xmms etc?

I would be very greatful if someone could provide/suggest the exact settings needed in my modules.conf, based on what is there now using the sb sound driver.

Thanks




------ original message ------
From: Bruce Markey <bjm@lvcm.com>
To: Discussion about mythtv <mythtv-users@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@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@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>
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@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@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@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@lvcm.com>
To: Discussion about mythtv <mythtv-users@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@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@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>
Re: Sound problems, aplay /dev/dsp doesnt work? [ In reply to ]
Hi,

On Thu, Jun 12, 2003 at 01:52:29PM -0600, Johnny Stork wrote:
> I did not have any success installing ALSA and running alsamixer returns
>
> alsamixer: function snd_ctl_open failed for default: no such device

Just a quick note -- I seem to remember getting a similar error when I
forgot to run "./snddevices" in the alsa-driver-0.9.4 directory.

...dave
Re: Sound problems, aplay /dev/dsp doesnt work? [ In reply to ]
Thanks. I have now moved the Hauppaug card into a Shuttle SN41G, which is where I eventualy want to run a 250 card, so next week I will be working on getting MythTv working on it. Already dealing with something I didnt expect, NO VIDEO IN on the Shuttle SN41G. ARGH. Been reading all sorts of posts elsewhere and cannot get the surround/center outs to act as line in and currently running the sound into the mic. Will try to rewire the cd in on the mb as a line in. Then I can return to installing MythTV on the Shuttle and we will se how far I get until I can get the pvr-250

------ original message ------
From: Dave Alden <alden@math.ohio-state.edu>
To: Discussion about mythtv <mythtv-users@snowman.net>
Sent: Sat Jun 14 14:02:27 MDT 2003
Subject: Re: [mythtv-users] Sound problems, aplay /dev/dsp doesnt work?

Hi,

On Thu, Jun 12, 2003 at 01:52:29PM -0600, Johnny Stork wrote:
> I did not have any success installing ALSA and running alsamixer returns
>
> alsamixer: function snd_ctl_open failed for default: no such device

Just a quick note -- I seem to remember getting a similar error when I
forgot to run "./snddevices" in the alsa-driver-0.9.4 directory.

...dave
_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users