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 >
JohnJS Offline





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

How do I activate my Yamaha sound?.

In SystemStats I get:

Hdwe:
sound fullname="opl3-sa3 snd system=unknown"
sound driver="ad1848"

Modules:
ad1848 20812 0 (unused)
sound 55276 0 (ad1848)
soundcore 3428 2 (sound).
TIA.
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: Nov. 15 2006,22:26 QUOTE

What system do you have?

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

You may need to change some of the addesses/dma channels for your system. If you've used windows & the sound worked OK you will be able to get the correct settings via the device manager in windows.

I found I didn't need the ad1848 module. Once you have the sound running check the output of 'umix -q'. On the Libretto the OPL3 system runs 2 sound mixer devices. The verison of DMIX in the latest releases of DSL (post v2.4) should cope with such a system OK, though there could be some confusion if your system has built-in & external microphones that you want to control independently. (both have the same name on separate mixer devices & the coding for DMIX will change both simultaneously).
Back to top
Profile PM 
JohnJS Offline





Group: Members
Posts: 200
Joined: Oct. 2006
Posted: Nov. 15 2006,23:23 QUOTE

Thanks andrewb.
Am using PII 233mhz 320mb ram.
Had Win2k on it and the sound worked. I removed Win2k. Only have DSL 3.0.1 now.
Tried your code. No success. Startup screen flashed too fast to record error "Pause/Break"  does not pause the screen as in Win.
Noticed in preferences for xmms there are setup options. Perhaps I should be changing something there.
Am a newbie at Linux.
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: Nov. 16 2006,02:19 QUOTE

As you don't have the port/address settings you may have to try some experimentation to find the correct settings. You can use the above commands at the command prompt & use 'rmmod opl3' (or opl3sa3) to remove the modules & try again if things don't go right. modprobing may load other drivers such as sound & soundcore. do 'lsmod' to see the full list. You need to remove modules in the order they appear in the list (top to bottom). All this will require superuser rights (right click the 'Aterminal' icon & select 'Aterm  as super user'. You might want to have a look at:

http://www.topology.org/linux/sound.html

this should point you in the right direction as to how to find the correct port/address numbers.

DSL has the opl3, opl3sa, & opl3sa2 modules included as standard. You might want to try the opl3sa one instead of the opl3sa2, or try to find a suitable opl3sa3 module.
Back to top
Profile PM 
JohnJS Offline





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

Re-installed Win2k and got info on sound from device manager.
Five i/o addresses
One irq
Two dma.
Where would I go to set these in DSL?.
Thanks.
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