: (snd_)opl3sa2 (isa) doesn't work (fails on playback) on 2.6.x kernels
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=879>
======================================================================
Reported By: iive
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 879 Category: ISA - opl3sa2 Reproducibility: always Severity: block Priority: normal Status: new Distribution: Slackware 10 Kernel Version: all 2.6.x kernel version (current 2.6.10) ====================================================================== Date Submitted: 02-03-2005 03:42 CET Last Modified: 07-09-2005 06:26 CEST
======================================================================
Summary: (snd_)opl3sa2 (isa) doesn't work (fails on playback)
on 2.6.x kernels
Description:
It doesn't work on all 2.6.x kernel I have tried (current 2.6.10) alsaconf doesn't detect the card as PnP, and fails to find it with bruteforce.
When module is loaded by hand it shows no error, but on aplay samle.wav I got
"ALSA /work/install/alsa-driver-1.0.5a/alsa-kernel/core/pcm_lib.c:2172:
playback
write error (DMA or IRQ trouble?"
on boot with 2.4.x kernel, everything magically works (alsaconf, aplay etc..)
the bug is reported 4 months ago on
http://bugzilla.kernel.org/show_bug.cgi?id=3117
that's why some versions are old (but I had tried alsa-1.0.8 before reposting this bug here)
======================================================================
----------------------------------------------------------------------
iive - 04-14-05 00:02
----------------------------------------------------------------------
Tell me what to do and I'll do it.
btw have you took a look of the attached file?
----------------------------------------------------------------------
ahaning - 07-09-05 06:26
----------------------------------------------------------------------
I was able to get alsa to brute-force detect my opl3sa2 card in linux 2.4 and then copy the modules.conf to modprobe.conf and then (after installing the drivers compiled for the currently-installed kernel) I can do 'alsasound start' and I get audio just fine in kernel 2.6(.12.2).
HTH.
FWIW, here is the modprobe.conf that was generated under kernel 2.6:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.9rc3 ---
alias snd-card-0 snd-opl3sa2
alias sound-slot-0 snd-opl3sa2
options snd-opl3sa2 fm_port=-1 midi_port=-1 port=0x370 wss_port=0x530 dma1=3 dma2=1 irq=9
# --- END: Generated by ALSACONF, do not edit. ---
and here is the configuration generated under 2.4 (that works in 2.6, too):
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.9 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-opl3sa2
alias sound-slot-0 snd-opl3sa2
options snd-opl3sa2 fm_port=-1 midi_port=-1 port=0x370 wss_port=0x530 dma1=0 dma2=1 irq=11 isapnp=0
# --- END: Generated by ALSACONF, do not edit. ---
HTH.
-Andy
Issue History
Date Modified Username Field Change
======================================================================
02-03-05 03:42 iive New Issue 02-03-05 03:42 iive File Added: isa_opl3sa2.tgz 02-03-05 03:42 iive Distribution => Slackware 10 02-03-05 03:42 iive Kernel Version => all 2.6.x kernel version (current 2.6.10) 04-13-05 21:59 jdthood Note Added: 0004478 04-14-05 00:02 iive Note Added: 0004485 07-09-05 06:26 ahaning Note Added: 0005438
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar