[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OPL3-Sax



On Thu, Oct 28, 1999 at 09:54:02AM +0200, Rune Linding Raun wrote:
> a lsmod here gives:
> 
> opl3sa2                 3400   1 
> ad1848                 15060   1  [opl3sa2]
> mpu401                 17676   1  [opl3sa2]
> 
> and in conf.modules:
> 
> options opl3sa2 io=0x100 io=0x201 io=0x220 mss_io=0x530 mpu_io=0x370
> irq=5 dma=0 dma2=1
> 

I prefer ALSA driver. Here is my /etc/conf.modules configuration:

alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
alias snd-card-0 snd-card-opl3sa2
options snd-card-opl3sa2 snd_port=0x240 snd_wss_port=0xe80 snd_midi_port=0x300 snd_fm_port=0x388 snd_irq=10 snd_dma1=1 snd_dma1_size=64 snd_dma2=3 snd_dma2_size=64 snd_isapnp=1 snd_id=YMF-719

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss

And my lsmod:

snd-mixer-oss           3592   0  (autoclean)
snd-pcm1-oss           12788   1  (autoclean)
snd-card-opl3sa2        8712   1
isapnp                 23169   0  [snd-card-opl3sa2]
snd-cs4231             15864   0  [snd-card-opl3sa2]
snd-mixer              25824   0  [snd-mixer-oss snd-card-opl3sa2
snd-cs4231]
snd-pcm1               16500   0  [snd-pcm1-oss snd-cs4231]
snd-opl3                1956   0  [snd-card-opl3sa2]
snd-timer               7500   0  [snd-cs4231 snd-pcm1 snd-opl3]
snd-hwdep               2484   0  [snd-card-opl3sa2 snd-opl3]
snd-pcm                 8696   0  [snd-pcm1-oss snd-card-opl3sa2
snd-cs4231 snd-pcm1]
snd-mpu401-uart         1692   0  [snd-card-opl3sa2]
snd-midi               12144   0  [snd-card-opl3sa2 snd-mpu401-uart]
snd                    32972   1  [snd-mixer-oss snd-pcm1-oss snd-card-opl3sa2 
                                   snd-cs4231 snd-mixer snd-pcm1 snd-opl3 
				   snd-timer snd-hwdep snd-pcm snd-mpu401-uart 
				   snd-midi]
soundcore               2444   4  [snd]

I'm playing now some mp3 files with 44.1kHz (using mpg123) without any problems.

I also use normal OSS drivers with such configuration:

alias char-major-14 opl3sa2
pre-install opl3sa2 modprobe "-k" "ad1848"
post-install opl3sa2 modprobe "-k" "opl3"
options opl3sa2 io=0x240 mss_io=0xe80 mpu_io=0x300 irq=10 dma=1 dma2=3
options opl3 io=0x388

And lsmod:

opl3                   10476   1  (autoclean)
opl3sa2                 3644   1
ad1848                 15420   1  [opl3sa2]
mpu401                 17964   1  [opl3sa2]
sound                  55388   0  [opl3 opl3sa2 ad1848 mpu401]
soundcore               2444   7  [sound]

With this configuration I've sometimes problems (but right now it works OK
also with 44.1kHz).

Maybe your problems are not configuration-specific but hardware specific
(I don't like built-in hardware since my strange problems with Matrox G200
on mainboard)?

Good luck!

-- 
o------------------o      ___
|Leszek Gerwatowski|    _/_|_\
o------------------o   (o\__/o)=)))))))))))))
"Don't fix it if it isn't broken"


Reply to: