Sound help...


Forum: Multimedia
Topic: Sound help...
started by: bigfoot2184

Posted by bigfoot2184 on Mar. 21 2007,06:15
I got a Nec ready 9625 with a Pentium 200 Non-mmx, 96MB Ram, 6 gig WD hard drive. Windows 2000 Report my sound card as Yamaha OPL3-SAx WDM. Is there any way I can get this to work in DSL 3.2? It finds my old ati-rage card and everything else fine... just no sound. I'm a Linux newbie... thats fed up with windows.

Thanks in advance for any help.

p.s. I've read the thread on the Toshiba laptops with a similar card but I'm not sure what command or anything to use, or even if that would work in my case.

Thanks.

Posted by ^thehatsrule^ on Mar. 21 2007,13:42
Try `sudo modprobe opl3sa2`

if this doesn't work, some reported that using the soundblaster driver works... try `sudo modprobe sb` (seems this works for sa3)

if both don't work, you can try using ALSA instead.

Example search: < http://damnsmalllinux.org/cgi-bin....t=14064 >

Posted by JohnJS on Mar. 21 2007,17:00
Hi Bigfoot,
My Yamaha opl3-sa2 wdm works with dsl 3.0.1 and 3.2 versions on my Compaq P3 600mhz:

modprobe opl3 io=0x388
modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0 ymode=0 isapnp=1 multiple=0

if works enter same in bootlocal.sh

Hope this helps.

I too am a recent convert to Linux/DSL.

Posted by bigfoot2184 on Mar. 22 2007,00:17
so I type them in on the terminal screen as root? I did this and it just went to another prompt. then i tried to play a cd and i heard nothing, but the xMMs player was playing. All I get from the speakers is a static fuzz when I move the mouse and I hear it also when the cd-rom is spinning up.... get a bit louder as the drive spins faster...

also my sound card is onboard... not an isa, eisa, or pci card.

Posted by curaga on Mar. 22 2007,10:58
Check the volume levels with cat /home/dsl/.umix
If the master volume is down, you can't hear anything..
Also edit the bass and discant values to 0, they being high caused fuzz on my opl3-sa2..

Posted by bigfoot2184 on Mar. 22 2007,16:42
I have checked the volume... turned them up to 100.... I heard the fuzz/buzz when i move the mouse before I even type in any modprob commands.... right after a fresh boot.i even hear it during bootup when the configuring devices bar is going accost. I don't know what you mean with cat /home/dsl/.umix

also, in my bios i did turn off plug n play os. and the large disk access mode was for DOS and Other (says to change to other for unix, novel netware and other operating systems) so I changed it to other.

Posted by ron on Mar. 22 2007,22:01
Hey guys, I was wondering about this OPL3 soundcard. Under Windoze, it's possible to choose internal FM synthesis to generate MIDI instrument sounds. Can you do this with Linux as well?
Posted by bigfoot2184 on Mar. 23 2007,02:07
ok... i give up. What sound card can I buy that will work out of the box? PCI or ISA.... I don't care.

thanks

Posted by ron on Mar. 23 2007,02:58
The soundcard was correctly autodetected you say. The fact that XMMS appeared to play the sound file suggests that you successfully added the sound modules. I trust you've checked a second time that all your volume levels (incl PCM/WAV/synth) are maxed out, and your audio hardware is correctly connected to your speakers.  This leaves 2 possibilities:

1) Hardware problem (never heard of any problem with a soundcard, but I suppose it could happen;
2) The settings you entered for interrupt and/or dma and/or "SB" address (given by the other guy as 388 and 380) are wrong.

Have you gone to Yamaha website and found the correct settings in the datasheet for OPL3-SA?

The other thing is that in some computers there is a BIOS setting "Enable/Disable Sound". If its disabled you will hear the hiss you described, when you try to play with the volume at 100%. I've made that mistake myself, so check your BIOS again. Is there an option to "Enable sound"?

Posted by curaga on Mar. 23 2007,06:33
True Creative Sound Blasters always work, but the older ones are better than the new ones (Audigy etc.)
Posted by JohnJS on Mar. 23 2007,16:24
Edit earlier post:
Sorry code for sound was for my clone P2 233mhz not for Compaq P3.

Posted by bigfoot2184 on Mar. 24 2007,18:08
Yep, sound is enabled in the bios. Due to time I had to work on this I was going to stick win2k on it.... but the guy that wants the machine said no hurry.... so i'm back with getting sound to work on it with dsl.... The only in the bios thats disabled is the game port. I don't think that will matter any, will it?? I did try with it on to no avail.

I also tried with DSL-N on LiveCD.... no luck there.

I did goto Yamaha's site and found nothing for sound cards... looks like there not making them anymore... or I just could not find it.

Posted by ^thehatsrule^ on Mar. 24 2007,21:48
What have you tried so far? (be explicit)

You can also check dmesg if you want to check logs.

Posted by ron on Mar. 24 2007,22:02
Quote (bigfoot2184 @ Mar. 24 2007,13:08)
I did goto Yamaha's site and found nothing for sound cards... looks like there not making them anymore... or I just could not find it.

They're not making ISA cards, but in some places OPL3 PCI cards may still be being sold (I don't know if some companies have been licensed to produce these).

I think I've figured it out. I had a look at the datasheet here:
< http://pdf1.alldatasheet.com/datashe....-S.html >

and it seems that this great soundcard has genuine Adlib addressable at 388h to 3F8h (best 388h), and SB at 220h to 280h (best 220h). So try the io settings for the SB instead.

If this doesn't work, try the addresses for different chip functions at page 17 of the datasheet.

I think it would be a big mistake to ditch this card - genuine OPL3 is becoming rare and I think FM is an underrated synthesis method.

Posted by bigfoot2184 on Mar. 25 2007,18:36
I have no idea how to put the address in... I've just been typing in what others have been saying. I'm a total Linux newbie... I tried to load the data sheet you linked to here but after 10 mins i gave up... I'm stuck with dialup here cause I live in the sticks... and I have the slowest allowable dialup in the country (Law states phone company must provide at least 14.4k... I connect at 16.6K... no cable internet, no dsl, trees are too high to get wireless, and same for sat. internet... my direct tv cuts in and out all the time.).  

Back on topic... If you could give me a line to type as a guide point and tell me witch variable to keep changing to try that'd be great.

just wanted to say thanks for everyone trying to help me getting this onboard sound to work.

Posted by ron on Mar. 25 2007,20:40
Hey bigfoot, that reminds me of old days :) In the 90s I had dialup, and having to wait for stuff was a big pain. It was an hour or so to retrieve one MP3. Hours get wasted with dialup.. You probably prefer the text-only Lynx browser (from DSL repository).

See what happens when you try this (first rmmod any sound modules if loaded):

modprobe mpu401
modprobe ad1848
modprobe opl3sa2 io=0x220 mss_io=0x530 mpu_io=0x330 irq=5 dma=0 dma2=1
modprobe opl3 io=0x388

I hope that what this will do is find the mpu and mss at the right place, but instead of using the OPL3 (Adlib) synth, find the normal SoundBlaster address at the usual 220h location. If it doesn't work, rmmod opl3, then do the same as above except change the last line to:

modprobe opl3 io=0x220

Good luck, and let us know what happens.

Posted by 7shadow on May 04 2007,01:40
Quote (^thehatsrule^ @ Mar. 21 2007,08:42)
Try `sudo modprobe opl3sa2`

if this doesn't work, some reported that using the soundblaster driver works... try `sudo modprobe sb` (seems this works for sa3)

if both don't work, you can try using ALSA instead.

Example search: < http://damnsmalllinux.org/cgi-bin....t=14064 >

Thanks, I have tried for two hours until see your post "sudo modprobe opl3sa2". Now my archaic opl3sax souns tremendous :ghostface: !!!

Posted by sankarv on May 09 2007,07:24
how can we configure sound for Realtek drivers. (it is for my 'via' based AMD PC)?
Posted by ^thehatsrule^ on May 09 2007,16:21
sankarv: does this have to do with the opl chipset at all?  I've seem most integrated chipsets by realtek to use ac97.  Please post more details.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.