From: zewei chen <zchen@research.att.com>
To: linux-sound@vger.kernel.org
Subject: Re: Yamaha opl3
Date: Tue, 08 Sep 1998 15:48:05 +0000 [thread overview]
Message-ID: <marc-linux-sound-90528344324658@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-90522162401464@msgid-missing>
I'm not sure this helps, but I had the same problem a while ago.
Not quite resolved, yet. Here's my experience (in the hopes of
helping Catalin gather some data, and soliciting some insight
for my own situation) -
pnpdump detected nothing. may I assume the card is not plug-n-play?
I created a file /etc/conf.modules, following some instructions
from one of the FAQ/HOW-TOs, with these lines (parameters
copied from Win95 - yes the card works there):
alias sound sb
options -k sb io=0x220 irq=5 dma=0,5
alias midi opl3
options -k opl3 io=0x388
loaded the sound module by hand, now lsmod shows:
# lsmod
Module Pages Used by
3c589_cs 2 1
ds 2 [3c589_cs] 3
i82365 4 2
pcmcia_core 8 [3c589_cs ds i82365] 4
opl3 3 0
sb 6 0
uart401 2 [sb] 0
sound 16 [opl3 sb uart401] 0
I was able to play some mpeg sound files, though the sound
was terrible. When I tried to play some sound files in another
format using our own software, I get "can't open wave dev, -1"
as an error message. doing an strace on it shows:
open("/dev/dsp", O_WRONLY) = 3
ioctl(3, SOUND_PCM_WRITE_CHANNELS, 0xbfffd3e0) = 0
ioctl(3, SNDCTL_DSP_SETFMT, 0xbfffd3dc) = 0
write(2, "cant open wave dev, err -1\n", 27cant open wave dev, err -1
) = 27
Well, it seems that one of the ioctl syscall did not get the right value back.
perhaps I'm missing some sound drivers?
Would appreciate some insight.
Zewei
Catalin Marinescu wrote:
> Hi all !
> I have a sound card Yamaha opl3 and I can't make it work on my linux
> system.
> If anyone knows how can I fix this please help me.
> Thanks.
next prev parent reply other threads:[~1998-09-08 15:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-07 20:15 Yamaha opl3 Catalin Marinescu
1998-09-08 2:36 ` llornkcor
1998-09-08 15:48 ` zewei chen [this message]
1998-09-08 20:05 ` Bill Nottingham
1998-09-10 2:01 ` DFalt
1999-01-12 5:36 ` Eric Barendt
1999-01-13 16:18 ` Bill Nottingham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-sound-90528344324658@msgid-missing \
--to=zchen@research.att.com \
--cc=linux-sound@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox