Somebody can tell me why on my Laptop Tecra 8000, i can`t configure Yamaha oplsa2/3 card using Alsa driver....
 
Alsa driver was compiled with: ./configure --with-isapnp=yes --with-sequencer --with-debug-full.
 
Also, i want to mention that on my laptop not exist /proc/isapnp, also no cards founded if i use pnpdump so in conclusion, no /etc/isapnp.conf file...
 
Also in BIOS i found this settings:
 
WSS I/O ADD 0x530
SBPRO I/O ADD 0x220
Synthesyzer I/O ADD 0x388
WSS & SB PRO & MPU401 IRQ Level = IRQ5
WSS Play DMA = Channel 1
WSS Rec & SB Pro DMA = Channel 0
Control I/O Address = 538H
MPU401(MIDI I/F) = 0x330
 
I use kernel 2.4.16 on RedHat 7.2 . See below my /etc/modules.conf. For conformity you will se 3 sections, for my souncard, each of this sections using a different driver.
 
#Activare portul paralel
alias parport_lowlevel parport_pc
#End Activare portul paralel
 
#Activare USB bus
alias usb-controller usb-uhci
#End Activare USB bus
 
#Activare WebCam Philips 750k
alias char-major-81-0 pwc
post-install pwc /sbin/insmod --force /lib/modules/2.4.16/kernel/drivers/usb/pwcx-i386.o >/dev/null 2>&1  || :
alias dsp1 audio
alias mixer1 audio
#End Activare WebCam Philips 750k
 
#Yamaha sound card using (Windows Sound System kernel driver)
#alias sound-slot-0 ad1848
#options ad1848 io=0x530 irq=5 dma=1 dma2=0
#post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
#pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
#options sound dmabuf=1
#alias synth0 opl3
#options opl3 io=0x388
#End Yamaha sound card using (Windows Sound System kernel driver)
 
 
#Yamaha sound card using (Yamaha-oplsa2/3 kernel driver)
#alias sound-slot-0 opl3sa2
#options opl3sa2 mss_io=0x530 irq=5 dma=1 dma2=0 mpu_io=0x330 io=0x538
#post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
#pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
#options sound dmabuf=1
#alias midi opl3
#options opl3 io=0x388
#End Yamaha sound card using (Yamaha-oplsa2/3 kernel driver)
 
 
#AND HERE IS THE PROBLEM
#Yamaha sound card using Alsa-driver OPLSA2/3
 
#Alsa
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666 snd_device_uid=0
 
alias snd-card-0 snd-card-opl3sa2
options snd-card-opl3sa2 snd_index=0 snd_id="Yamaha" \
 snd_port=0x538 snd_sb_port=0x220 snd_wss_port=0x530 \
 snd_midi_port=0x330 snd_fm_port=0x388 snd_irq=5 \
 snd_dma1=1 snd_dma2=0 snd_opl3sa3_ymode=2
#End Alsa
 
#OSS support
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-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
#End OSS support
 
#End Yamaha sound card using Alsa-driver OPLSA2/3
 
All the time i received error message : Invalid IO or irq parametters.......... I suspect that snd_port=0x538 is bad, but i`m not sure.........
 
Has anybody and idea what is wrong
 
Thanks in advance for your help,
 
Alexandru S.
 
PS: A retoric question: Why the documenbtation founded in Alsa driver source code is worst...........? Almost ALL EXAMPLES are depricated AND INCOMPLETED!!!!????? Never in my life i can read a worse documentation then this.....:-)
 
 
 
 

Reply via email to