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: (4) </ [1] 2 3 4 >/

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

reply to topic new topic new poll
Topic: Got sound working on Toshiba laptop< Next Oldest | Next Newest >
Multichill Offline





Group: Members
Posts: 3
Joined: Oct. 2004
Posted: Oct. 22 2004,23:11 QUOTE

Hi peepz,

Just reporting how i got the sound working on my Toshiba Satellite 310CDT laptop. Maybe someone can use it some time in the future.

When you boot the latop and hold the ESC key you get into the bios.
In the bios you can find a sorts of info about the soudcard, it's quite hidden (i didnt see it at first, thanks Clint for pointing out  :laugh: )

The info from the bios:
Code Sample

WSS I/O address = 530H
SBPRO I/O address = 220H
Synthesizer I/O address = 388H

WSS & SBPRO & MPU401 address IRQ level = IRQ 5
WSS(play) DMA = channel 1
WSS(rec) & sbpro DMA = channel 0
Control I/O address = 370 H
MPU 401 (midi I/F) = 330 H

Boot the laptop and become root.

After some googleing if found out i had to have the "opl3sa2" module.
When you type "modinfo opl3sa2" you get a lot of info about the driver.
Code Sample

filename:    /lib/modules/2.4.26/kernel/drivers/sound/opl3sa2.o
description: "Module for OPL3-SA2 and SA3 sound cards (uses AD1848 MSS driver)."
author:      "Scott Murray <scott@spiteful.org>"
license:     "GPL"
parm:        io int, description "Set I/O base of OPL3-SA2 or SA3 card (usually 0x370.  Address must be even and must be from 0x100 to 0xFFE)"
parm:        mss_io int, description "Set MSS (audio) I/O base (0x530, 0xE80, or other. Address must end in 0 or 4 and must be from 0x530 to 0xF48)"
parm:        mpu_io int, description "Set MIDI I/O base (0x330 or other. Address must be even and must be from 0x300 to 0x334)"
parm:        irq int
parm:        dma int, description "Set MSS (audio) first DMA channel (0, 1, 3)"
parm:        dma2 int, description "Set MSS (audio) second DMA channel (0, 1, 3)"
parm:        ymode int, description "Set Yamaha 3D enhancement mode (0 = Desktop/Normal, 1 = Notebook PC (1), 2 = Notebook PC (2), 3 = Hi-Fi)"
parm:        loopback int, description "Set A/D input source. Useful for echo cancellation (0 = Mic Rch (default), 1 = Mono output loopback)"
parm:        isapnp int, description "When set to 0, ISA PnP support will be disabled"
parm:        multiple int, description "When set to 0, will not search for multiple cards"

For some strange reason the bios uses WSS and the driver uses MSS, but who cares :P

I put those 2 together and got:
Code Sample

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


Now i have sound :)


--------------
Come join us at #DamnSmallLinux on freenode
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: Oct. 23 2004,01:25 QUOTE

woo-hoo! thanks for the info.

Got the info from my BIOS (didn't know how to get into 'em before) got the info, and manually set up the sb.o driver on my 420CDS, and now the sound works.
I can't play music and run X at the same time, but with mpg123, it sounds great.

thanks a lot!!

now if I can just figure how to get the text in runlevel 2 to not run past the bottom of the screen, it would be a perfect world.

-J.P.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Oct. 23 2004,02:41 QUOTE

Good Work, MultiChill !

Quote
now if I can just figure how to get the text in runlevel 2 to not run past the bottom of the screen, it would be a perfect world.


Usually, selecting the proper framebuffer at boottime solves this...
Perhaps the screen resolution is a non-standard size ?
How can I help?

73
ke4nt
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: Oct. 23 2004,04:01 QUOTE

hmm, dunno, x runs beautifuly at 800x600x16 with Xvesa. How do I switch to Xfbdev in an HD-install?

--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
l0st
Unregistered






Posted: Oct. 23 2004,07:15 QUOTE

Now here's a question; is it possible to automate this process? Are scripts capable of reading info off the BIOS?
Back to top
15 replies since Oct. 22 2004,23:11 < Next Oldest | Next Newest >

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

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: Got sound working on Toshiba laptop

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