Multichill
Group: Members
Posts: 3
Joined: Oct. 2004 |
|
Posted: Oct. 22 2004,23:11 |
|
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 )
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
|