PDA

View Full Version : Soundcard problem: Yamaha OPL3-Sax



IdroJ
07-03-2003, 11:15 PM
Hi there! It seems that I finally need help with my soundcard! Could someone help me? It seems that Knoppix does'nt recognize my soundcard, a Yamaha OPL3-Sax. A strange one, isn't it? Well, let's go step by step:

At boot the system shows the next message:


soundcard opl3-sax Sound Board: unknown. driver: ad1848

Then there is no sound, and sndconfig does'nt work: it simply quits after showing a similar message. Why is the soundboard "unknown" if it has been perfectly recognized?

I tried the "alsa" cheatcode, with no result. It seems that there's no specific driver for this card (Project Alsa site).

Changing pnp bios settings doesn't make any change to the problem.

The complete lspci output is:



0:00.0 Host bridge: VIA Technologies, Inc. VT8605 [ProSavage PM133] (rev 81)
Subsystem: Asustek Computer, Inc.: Unknown device 802c
Flags: bus master, medium devsel, latency 0
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8605 [PM133 AGP] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: f2000000-f5efffff
Prefetchable memory behind bridge: f5f00000-f7ffffff
Capabilities: [80] Power Management version 2

00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
Subsystem: Asustek Computer, Inc.: Unknown device 802c
Flags: bus master, stepping, medium devsel, latency 0

00:04.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 10) (prog-if 8a [Master SecP PriP])
Flags: bus master, stepping, medium devsel, latency 32
I/O ports at b800 [size=16]
Capabilities: [c0] Power Management version 2

00:04.2 USB Controller: VIA Technologies, Inc. USB (rev 10) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at b400 [size=32]
Capabilities: [80] Power Management version 2

00:04.3 USB Controller: VIA Technologies, Inc. USB (rev 10) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at b000 [size=32]
Capabilities: [80] Power Management version 2

00:04.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
Flags: medium devsel
Capabilities: [68] Power Management version 2

00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at a800 [size=256]
Memory at f1800000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

00:10.0 SCSI storage controller: Adaptec AHA-7850 (rev 03)
Subsystem: Adaptec AHA-2904/Integrated AIC-7850
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at a400 [size=256]
Memory at f1000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 1

01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01) (prog-if 00 [VGA])
Subsystem: 3Dfx Interactive, Inc. Voodoo3 AGP
Flags: 66Mhz, fast devsel, IRQ 11
Memory at f2000000 (32-bit, non-prefetchable) [size=32M]
Memory at f6000000 (32-bit, prefetchable) [size=32M]
I/O ports at d800 [size=256]
Expansion ROM at f5ff0000 [disabled] [size=64K]
Capabilities: [54] AGP version 1.0
Capabilities: [60] Power Management version 1



Another useful information: an older Suse 8.0 LiveCD detected (and made work) the soundcard as OPL3-Sax, but the sound driver used was opl3-sa2. Is it possible to "force" a sound driver at boot?


Thanks a lot for your help.

Ah, and excuse me if my grammar is'nt good enough, my english is v.0.9 beta :shock:

rickenbacherus
07-04-2003, 04:38 PM
Hi there! It seems that I finally need help with my soundcard! Could someone help me? It seems that Knoppix does'nt recognize my soundcard, a Yamaha OPL3-Sax. A strange one, isn't it? Well, let's go step by step:

At boot the system shows the next message:


soundcard opl3-sax Sound Board: unknown. driver: ad1848

Then there is no sound, and sndconfig does'nt work: it simply quits after showing a similar message. Why is the soundboard "unknown" if it has been perfectly recognized?

These cards are a PITA that's why. :shock:


I tried the "alsa" cheatcode, with no result. It seems that there's no specific driver for this card (Project Alsa site).

Have a look here for ALSA (http://www.alsa-project.org/~valentyn/Alsa-sound-mini-HOWTO.html)
also here (http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php3)
and here (http://www.alsa-project.org/~valentyn/Alsa-sound-mini-HOWTO-5.html#ss5.2)

Changing pnp bios settings doesn't make any change to the problem.

Even though the card is on the ISA BUS it's not a PnP device. Now you see why they are a pain in the arse! So if you see an error about "no PnP devices found" don't worry about it- there simply aren't any.


Another useful information: an older Suse 8.0 LiveCD detected (and made work) the soundcard as OPL3-Sax, but the sound driver used was opl3-sa2. Is it possible to "force" a sound driver at boot?

Sure but you might have to do a little experimenting. These cards DO work in Linux- they're just temperamental. Go into the BIOS, note what resources the sound
device is assigned, then modprobe the opl3sa2 module appending the BIOS resources something like this:


modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0

So let's say you get it to work. Do you want to type all of that nonsense every time just for sound? Hell no- edit /etc/modules


opl3sa2
mpu401
sound
opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0

Be sure to list all the modules you need loaded before the line containing the BIOS settings!

If it works but not too well try turning dma and dma2 on/off in the BIOS and/or in your /etc/modules file (1=on 0=off).

Of course this is just an example. If you get it to work won't you please post back with exactly what you did to make it work? This seems to be a fairly common problem.


Ah, and excuse me if my grammar is'nt good enough, my english is v.0.9 beta :shock:

Your Engllish sounds stable enough to me to go ahead with the 1.0 release. :P gluck

IdroJ
07-10-2003, 06:40 PM
Well! Finally got it! The soundcard is working now. Thanks a lot, truly. I had some trouble gathering information about the modprobe parameters, but finally got it working with the following command:



modprobe opl3sa2 io=0x240 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=1


Thanks a lot, again. By the way, I have another problem... :oops: How do I write the /etc/modules file? I cannot write it since I'm user Knoppix . To have write permissions I should be root, shouldn't?

Well, I'll keep on searching... :D

See you soon

rickenbacherus
07-10-2003, 07:27 PM
Thanks a lot, again. By the way, I have another problem... :oops: How do I write the /etc/modules file? I cannot write it since I'm user Knoppix . To have write permissions I should be root, shouldn't?

Well, I'll keep on searching... :D

See you soon

Yes you need to be root so you can do this:

su
<password>

Then, after you become root do this:

adduser bob

Of course you can enter whatever username you like. Then just add your new user name into all the groups you want him to have access to in /etc/group so that Bob has permission to use those apps/devices.

Also add Bob to /etc/sudoers like so:


bob ALL=NOPASSWD: ALL

Then you can do this:


sudo xedit /etc/modules

Glad you got it working. :D

surf-uwe
02-26-2004, 09:53 PM
Hi to all knoppix users,

i am a totally beginner with knoppix (and linux).

I have tried today the modprobe command to install the soundcard opl3sa2 as explained above. I wasn't successful.

I had run this in a terminal (hope this is correct)

modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0

i tried it also with io=0x220 ..240

and the result is the following:

knoppix@ttyp0[knoppix]$ modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0
/lib/modules/2.4.23-xfs/kernel/drivers/sound/sound.o: create_module: Operation not permitted
/lib/modules/2.4.23-xfs/kernel/drivers/sound/sound.o: insmod /lib/modules/2.4.23-xfs/kernel/drivers/sound/sound.o failed
/lib/modules/2.4.23-xfs/kernel/drivers/sound/sound.o: insmod opl3sa2 failed


whatwent wrong ?

maybe someone is able to help me

regards

uwe

robco
03-03-2004, 09:58 AM
Hi to all knoppix users,

i am a totally beginner with knoppix (and linux).

I have tried today the modprobe command to install the soundcard opl3sa2 as explained above. I wasn't successful.

I had run this in a terminal (hope this is correct)

modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0

i tried it also with io=0x220 ..240

and the result is the following:

knoppix@ttyp0[knoppix]$ modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0
/lib/modules/2.4.23-xfs/kernel/drivers/sound/sound.o: create_module: Operation not permitted
/lib/modules/2.4.23-xfs/kernel/drivers/sound/sound.o: insmod /lib/modules/2.4.23-xfs/kernel/drivers/sound/sound.o failed
/lib/modules/2.4.23-xfs/kernel/drivers/sound/sound.o: insmod opl3sa2 failed


whatwent wrong ?

maybe someone is able to help me

regards

uwe

well fisrt of all you have to check your dma=? dma=? people above nicely explain but they used their own settings,,you have to check your bios or if you run windows check your hardware profiles and on "soundcard" check properties...play witht he tabs, (all this on the system icon under control panel" and you will see your IRQ, DMA1 DMA2 (THE DO NOT HAVE THE 1 AND 2 BUT YOU WILL SEE DMA, DMA)
ALSO YOU WILL SEE SOME ADRESSEs like 530, 240 (THESE ARE io (for the io=0x240)) eetc..etc correspondig to your own motherboard...get the values and try them in knoppix, open the shell, and type modprobe opl3....bla...bla..bla.....
and try your sound,,,if it works, then go to the root
(su root)...type passwd (enter and confirm a password)
then type sudo xedit /etc/modutils (this module will up date the rest)...a window opens there will be a path etc/modutils (name it i.e sound)..
and write
opl3sa2
mpu401
sound
opl3sa2 io=0x(your setting) mss_io=0x(your setting),,,irq,etc,,etc......

when this is done press save and load than go to the shell
(or open another shell) and type> update-modules
(your harddrive will slow and do some hard work and you are done..hopefully next tiem it load it will play a sound.
p