Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Activate sound< Next Oldest | Next Newest >
Grisen Offline





Group: Members
Posts: 1
Joined: Nov. 2006
Posted: Nov. 18 2006,02:52 QUOTE

Thanks to Andrew B !!!!! for clearly posting which file to change and the exact code to write.....  This solved my problem with this card that many posts on the net said was unusable with Linux:  Neomagic 3DX

>For the opl3 sound system on my Libretto 100CT I use the following in >/opt/bootlocal.sh :
>
>modprobe opl3 io=0x388
>
>modprobe opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 >dma2=0 ymode=2 isapnp=0 multiple=0

I only needed the second line of code.  Someone else on the forums had said to use this code as modprobe from the command line which was good for each session, but at every reboot the card wouldn't work again.  Andrew got it here!

Gateway Solo 2500 laptop, 36 mb ram, Pentium 1 233mhz, 2GB hdrive

What a great OS for this solid little machine!!
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: Nov. 19 2006,22:40 QUOTE

JohnJS,

You need to execute the two 'modprobe' lines in my earlier post.:

modprobe opl3 io=0x388

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

The ymode & isapnp items may need changed. To get more info on the modules type 'modinfo <modulename>' in a terminal window. This will give you more info on what the various items do. The modulenames you are interested in are opl3 & opl3sa2. There isn't an opl3sa3 module included for DSL - perhaps you can get things running with the opl3sa2 module though as the description of the module says it works with both -sa2 & -sa3 cards.
Back to top
Profile PM 
JohnJS Offline





Group: Members
Posts: 200
Joined: Oct. 2006
Posted: Nov. 21 2006,20:35 QUOTE

Thanks andrewb.
Had the sound working once but lost it on re-boot.
Now trying to figure out what I had done to get it to work.
Is there a way to save the setting once I get it working again?.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 21 2006,20:52 QUOTE

Place the commands in a startup script, i.e. /opt/bootlocal.sh should do it.
Back to top
Profile PM 
JohnJS Offline





Group: Members
Posts: 200
Joined: Oct. 2006
Posted: Nov. 21 2006,21:20 QUOTE

Thanks andrewb and thehatsrule.
Sound now working. Had to change ymode and isapnp as suggested by andrewb.
Will put commands in bootlocal.
Back to top
Profile PM 
9 replies since Nov. 15 2006,17:20 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Activate sound

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code