Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Yamaha OPL3-SAx Soundcard With Alsa?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
16 posts • Page 1 of 1
Author
Message
HackerSp0rtZ
n00b
n00b
Posts: 20
Joined: Mon Jul 08, 2002 5:09 pm

Yamaha OPL3-SAx Soundcard With Alsa?

  • Quote

Post by HackerSp0rtZ » Fri Jul 12, 2002 1:16 am

how do i make my Yamaha OPL3-SAx sound card work with Alsa?
Top
alec
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Fri Apr 19, 2002 3:02 am
Location: Here
Contact:
Contact alec
Website

  • Quote

Post by alec » Fri Jul 12, 2002 1:08 pm

Head over to alsa-project.org and see if your sound card is supported. Then search the forum for how to set up alsa - it's been covered a few times.
Top
AutoBot
l33t
l33t
User avatar
Posts: 968
Joined: Mon Apr 22, 2002 7:04 am
Location: Usually Out

  • Quote

Post by AutoBot » Sun Jul 14, 2002 2:18 am

His card is supported.
This message self destructed a long time ago.
Top
HackerSp0rtZ
n00b
n00b
Posts: 20
Joined: Mon Jul 08, 2002 5:09 pm

  • Quote

Post by HackerSp0rtZ » Sun Jul 14, 2002 6:05 am

this is the command im useing:

snd-opl3sa2 snd_port=0x538 snd_sb_port=0x220 snd_wss_port=0x530 snd_midi_port=0x530 snd_fm_port=0x530 snd_irq=5 snd_dma1=1 snd_dma2=0

i get this:

/lib/modules/2.4.19-gentoo-r7/kernel/sound/isa/snd-opl3sa2.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.19-gentoo-r7/kernel/sound/isa/snd-opl3sa2.o: insmod /lib/modules/2.4.19-gentoo-r7/kernel/sound/isa/snd-opl3sa2.o failed
/lib/modules/2.4.19-gentoo-r7/kernel/sound/isa/snd-opl3sa2.o: insmod snd-opl3sa2 failed


this is the info from my bios:

WSS I/O Address = 530H
Sbpro I/O Address = 220H
Synthisizer I/O Address = 530H
WSS/SBpro/MPU401 Address = 530H
WSS(Play) DMA = Channel 1
WSS(REC) DMA = Channel 2
Control I/O = 538H
MPU401 (MIDI I/O) = 530H

its a portege 7010CT.. any suggestions? :cry:
Top
HackerSp0rtZ
n00b
n00b
Posts: 20
Joined: Mon Jul 08, 2002 5:09 pm

  • Quote

Post by HackerSp0rtZ » Mon Jul 15, 2002 2:15 am

anyone? :cry:
Top
skwirlmaster
n00b
n00b
Posts: 1
Joined: Mon Jul 15, 2002 1:33 am
Location: Arcata, California
Contact:
Contact skwirlmaster
Website

Similar problems here

  • Quote

Post by skwirlmaster » Mon Jul 15, 2002 2:54 am

I have a similar problem I'm trying to fix. My setup is 1.2, on a toshiba tecra 8000, 192MB, 6GB, NeoMagic 256av, tulip PCI nic in deskstation v

I've tried building in oss support for the OPL3sa for the kernel, and as a module as well, currently installing alsa... I will touch back when I get a stab at it.
Top
HackerSp0rtZ
n00b
n00b
Posts: 20
Joined: Mon Jul 08, 2002 5:09 pm

  • Quote

Post by HackerSp0rtZ » Mon Jul 15, 2002 6:13 am

cool its got the same card... if u get it running lemme know :)
Top
zentek
n00b
n00b
User avatar
Posts: 41
Joined: Wed Jul 03, 2002 5:47 pm
Contact:
Contact zentek
Website

  • Quote

Post by zentek » Wed Nov 06, 2002 11:14 pm

I have the same card, whit different settings in the bios. Ususaly when you have those settings in the Bios its because you have a non-pnp ISA based card. Its even a toshiba laptop ( 460cdx )

I can get the snd-opl3sa2 module to load whit alsa no problem using the following:

Code: Select all

aliase snd-opl3sa2
options snd-opl3sa3
snd_port=0x370 \
snd_sb_port=0x220 \
snd_wss_port=0x530 \
snd_midi_port=0x330 \
snd_fm_port=0x388\
snd_irq=7 \
snd_dma1=1 \
snd_dma2=0 \
snd_isapnp=0 
The driver is loading all fine, i can unmute Master and PCM no problem but i wont get any sound. mpg123 is not even giving a error message !! but the only thing you where missing is the snd_isapnp=0 option. Im not sure yet if its an hardware problme for me, try this out and tell me if its working for you.
Top
nuance9
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 85
Joined: Mon Sep 09, 2002 11:39 pm

  • Quote

Post by nuance9 » Thu Nov 07, 2002 4:05 am

I have a Toshiba Portege 660CDT. It also uses the Yamaha OPL3-SA2. But I have not had any success getting the sound to work.

If anyone has got this working, step-by-step instructions would be most appreciated.

Thanks!

- Justin
Top
zentek
n00b
n00b
User avatar
Posts: 41
Joined: Wed Jul 03, 2002 5:47 pm
Contact:
Contact zentek
Website

  • Quote

Post by zentek » Thu Nov 07, 2002 3:55 pm

He Guys, IT IS WORKING :-) !!!!!!

I have sound !! I reboot, made sure evrything was ok in the bios, made sure that the sound was not muted ( function keys on the laptop ) Made sure the volume was on ( the knob on the laptop )
Double check my config ( the one from the last post i made ) Loaded up alsa, unmuted evrything whit alsamixer and Boom sound :-)
Top
mingnut
n00b
n00b
Posts: 11
Joined: Sun Apr 28, 2002 8:25 pm
Location: Surburbiton

Toshiba Satellite 4000CDT

  • Quote

Post by mingnut » Thu Nov 07, 2002 7:00 pm

I found out, that I needed isapnp compiled into the kernel, because that's what the ALSA driver required when I loaded the necessary modules. If you compiled isapnp as a module, load it before you load the ALSA modules.
Hope that helps.
Mingnut
Gentoo slaptop: P4 2.53, 512 MB DDR2100, 40 GB, GeForce 4 Go 64 MB, Realtek 8139 10/100 NIC.
Top
zentek
n00b
n00b
User avatar
Posts: 41
Joined: Wed Jul 03, 2002 5:47 pm
Contact:
Contact zentek
Website

  • Quote

Post by zentek » Thu Nov 07, 2002 8:52 pm

If you can see the card's settings in the bios its because its a non-pnp card. Then isapnp is not usefull. Try to pass the "snd_isapnp=0" option to the alsa driver it will skip all the pnp stuff and load the driver.
Top
TheZog
n00b
n00b
User avatar
Posts: 57
Joined: Sat Aug 17, 2002 4:29 pm
Location: Sunny Seattle

  • Quote

Post by TheZog » Wed Jan 01, 2003 3:58 am

I'm posting this info in the hope that it will maybe help someone.
I've got a Toshiba 490CDT (sad I know) with the Yamaha OPL3SA2 chip.
I finally managed to get ALSA to work with it using ideas from above, Google and lot's of trial and error. This is with kernel 2.4.19-gentoo-r10 and Alsa 0.9.0_rc6 and the kernel OSS audio drivers compiled as modules.
Here's a copy of my /etc/modules.d/alsa file:

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-opl3sa2
options snd-opl3sa2 \
isapnp=0 \
port=0x538 \
sb_port=0x220 \
wss_port=0x530 \
midi_port=0x330 \
fm_port=0x388 \
irq=5 \
dma1=1 \
dma2=0

## alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - 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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1
Top
Moled
l33t
l33t
User avatar
Posts: 635
Joined: Wed Jul 09, 2003 2:44 am

  • Quote

Post by Moled » Sat Nov 29, 2003 1:08 am

its a rather old thread but I may as well add to this

using a toshiba 440 cdt

from the bios:
WSS I/O Address = 530H
SBPro I/O Address = 220H
Synthesizer I/O Address =388H
WSS & SBPro && MPU401 IRQ Level = IRQ 5
WSS (Play) DMA = Channel 1
WSS (Rec.) & SBPro DMA = Channel 0
Control I/O Address =370H
MPU 401 (MIDI I/F) = 330H
and to get it to work I used:

options snd-opl3sa2 isapnp=0 port=0x370 sb_port=0x220 wss_port=0x530 midi_port=0x388 fm_port=0x530 irq=5 dma1=1 dma2=0
Top
rsevero
n00b
n00b
Posts: 33
Joined: Wed Sep 01, 2004 11:57 am

Yamaha OPL3SA2 (3) on a Toshiba Tecra 8000 with kernel 2.6

  • Quote

Post by rsevero » Wed Sep 01, 2004 12:01 pm

Yes, this tread is old but...

I managed to make the Yamaha OPL3SA3 work on my Toshiba Tecra 8000 with kernel 2.6.7 with the following command:

Code: Select all

modprobe snd-opl3sa2 isapnp=0 port=0x538 sb_port=0x220 wss_port=0x530 midi_port=0x388 fm_port=0x530 irq=5 dma1=1 dma2=0
I hope this is of some use to someone.
Top
bbroeksema
Tux's lil' helper
Tux's lil' helper
Posts: 78
Joined: Fri Feb 27, 2004 11:38 am
Location: Groningen, The Netherlands
Contact:
Contact bbroeksema
Website

  • Quote

Post by bbroeksema » Wed Jan 19, 2005 8:12 pm

Hi, does anyone know how i can find out on which addresses the specific options are?

I tried some of the above configurations but they al don't work. A couple of things i'm sure of for my configuration and that are:

irq = 11
dma1=3
dma2=0
isapnp=1

For the rest of the option i don't have clue. The driver loads, give's no erros but when i try to play sound i get only distortion. I've not an onboard card and when my computer boots i see it's an pnp card.

How can i find out the next addresses

WSS I/O Address
SBPro I/O Address
Synthesizer I/O Address
Control I/O Address
MPU 401 (MIDI I/F)
Top
Post Reply

16 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy