* Yamaha opl3
@ 1998-09-07 20:15 Catalin Marinescu
1998-09-08 2:36 ` llornkcor
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Catalin Marinescu @ 1998-09-07 20:15 UTC (permalink / raw)
To: linux-sound
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Yamaha opl3
1998-09-07 20:15 Yamaha opl3 Catalin Marinescu
@ 1998-09-08 2:36 ` llornkcor
1998-09-08 15:48 ` zewei chen
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: llornkcor @ 1998-09-08 2:36 UTC (permalink / raw)
To: linux-sound
Any log messages or details might help.
On 07-Sep-98 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Yamaha opl3
1998-09-07 20:15 Yamaha opl3 Catalin Marinescu
1998-09-08 2:36 ` llornkcor
@ 1998-09-08 15:48 ` zewei chen
1998-09-08 20:05 ` Bill Nottingham
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: zewei chen @ 1998-09-08 15:48 UTC (permalink / raw)
To: linux-sound
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Yamaha opl3
1998-09-07 20:15 Yamaha opl3 Catalin Marinescu
1998-09-08 2:36 ` llornkcor
1998-09-08 15:48 ` zewei chen
@ 1998-09-08 20:05 ` Bill Nottingham
1998-09-10 2:01 ` DFalt
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Bill Nottingham @ 1998-09-08 20:05 UTC (permalink / raw)
To: linux-sound
Catalin Marinescu (escu@ines.ro) said:
> 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.
If you've got just a plain OPL3 (doubtful, but possible), just use the
OPL3 driver in the kernel.
If you've got an OPL3-SA1, use the OPL3-SA1 driver, available in the
2.1.x kernels, or in Alan Cox's modular sound backport to 2.0.3x.
If you've got an OPL3-SA2/3, you can use the ALSA drivers,
available at http://alsa.jcu.cz/
Alternatively, you could try the OSS/Linux drivers, available for
a free trial at http://www.opensound.com/linux.html - it supports
all the OPL3-SAx versions, according to the web site.
Bill
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Yamaha opl3
1998-09-07 20:15 Yamaha opl3 Catalin Marinescu
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: DFalt @ 1998-09-10 2:01 UTC (permalink / raw)
To: linux-sound
i have the yamaha opl3sax on a gw2k 9100 xl laptop and my card works whenever i
warm boot from win/dos into linux...this can be accomplished via lilo or loadlin
but with this procedure the i/o 'defaults' are kept the same...and oss or any of
that other shit to let u do what u should be able to do is not necessary cause
linux wants to send the irq number to a different number(my os's r gaywin95/gaynt
4/ and linux)
zewei chen wrote:
> 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Yamaha opl3
1998-09-07 20:15 Yamaha opl3 Catalin Marinescu
` (3 preceding siblings ...)
1998-09-10 2:01 ` DFalt
@ 1999-01-12 5:36 ` Eric Barendt
1999-01-13 16:18 ` Bill Nottingham
5 siblings, 0 replies; 7+ messages in thread
From: Eric Barendt @ 1999-01-12 5:36 UTC (permalink / raw)
To: linux-sound
Ok... I've been fighting with this on-board sound card since I installed
linux a few months ago.. It's on my Tyan 1696 motherboard. What do I
need to do to get this sound card working? I've found things about
compiling the opti something or other drivers into the kernel, but that
didn't work (unless I did it wrong). I also had some 3rd party
software, which worked.. but I'd prefer to just have the kernel control
everything.
Please help!
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Yamaha opl3
1998-09-07 20:15 Yamaha opl3 Catalin Marinescu
` (4 preceding siblings ...)
1999-01-12 5:36 ` Eric Barendt
@ 1999-01-13 16:18 ` Bill Nottingham
5 siblings, 0 replies; 7+ messages in thread
From: Bill Nottingham @ 1999-01-13 16:18 UTC (permalink / raw)
To: linux-sound
Eric Barendt (ebarendt@speedchoice.com) said:
> Ok... I've been fighting with this on-board sound card since I installed
> linux a few months ago.. It's on my Tyan 1696 motherboard. What do I
> need to do to get this sound card working? I've found things about
> compiling the opti something or other drivers into the kernel, but that
> didn't work (unless I did it wrong). I also had some 3rd party
> software, which worked.. but I'd prefer to just have the kernel control
> everything.
Assuming it's an OPL3-SA2/3/x (most likely), you should be able
to configure the card with isapnptools and use the OPL3-SAx driver
in 2.1.late/2.2.0pre. (If you're using 2.2.0pre, you'd want to get
at least 2.2.0pre6, as that fixes bugs in the detection code, IIRC.)
Bill
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1999-01-13 16:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-07 20:15 Yamaha opl3 Catalin Marinescu
1998-09-08 2:36 ` llornkcor
1998-09-08 15:48 ` zewei chen
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox