How to setup opl3sa2?


Forum: Other Help Topics
Topic: How to setup opl3sa2?
started by: woverin

Posted by woverin on Nov. 29 2003,20:55
Sorry I'm complete noob
please explain in details

Toshiba Tecra780DVD
I believe it use OPL3sa2 irq=5 dma=1 dma2=0
1) How to config modprobe ?
2) How to make it auto load module during startup?

Thanks in advance

Posted by woverin on Nov. 30 2003,03:34
Finally i got it work
add these lines to aliases and actions

/etc/modutils/aliases
alias char-major-14 opl3sa2
alias sound-slot-0 opl3sa2
options opl3sa2 io=0x538 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0
options opl3 io=0x388

/etc/modutils/actions:
pre-install opl3sa2 modprobe -k ad1848
post-install opl3sa2 modprobe -k opl3

then type modprobe opl3sa2 io=0x538 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0
Another question is How do I make kernel load this modules automatically without type modprobe every time when i boot?

Posted by ursixc9 on Dec. 09 2003,22:09
I have an old Acer 370PCX laptop and I think i have the same sound card as yours but I still can't get it to work yet. My question is where did you get the opl3sa2 driver?  I don't think it is included in the DSL.  Thanks.
Posted by woverin on Dec. 10 2003,03:51
The driver is included in DSL.
You need to change the irq and dma setting by look in the bios setting.

Posted by ursixc9 on Dec. 10 2003,23:14
Did you try just using 'modprobe opl3sa2'  ??  That's what i did as root and it worked.  I didn't put any other setting.
Posted by woverin on Dec. 11 2003,18:04
It did not work for me without irq and dma parameter.
Posted by caulktel on Dec. 11 2003,21:41
I also had to add the io,dma, and irg settings, before mine would work. You guys might want to checkout my post entitled "Startup Files", with Jogi's help, I was able to write s shell script that loads it at boot. I also found out through this whole process that I didn't need one of the io's that I had been putting in the modprobe line, io=370.

Joel

Posted by caulktel on Dec. 11 2003,21:45
Laptop keyboards are hard to type on. I meant to say io=0x370.

Joel

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.