From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000879]: (snd_)opl3sa2 (isa) doesn't work (fails on playback) on 2.6.x kernels Date: Sat, 9 Jul 2005 11:13:13 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 4EA62170 for ; Sat, 9 Jul 2005 11:13:13 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== 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 11:13 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) ====================================================================== ---------------------------------------------------------------------- ahaning - 07-09-05 06:38 ---------------------------------------------------------------------- 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 (If you need any other information, I'm probably better reached via email: ahaning@gmail.com) ---------------------------------------------------------------------- jdthood - 07-09-05 11:13 ---------------------------------------------------------------------- > btw have you took a look of the attached file? I just looked at it now. I see that it contains a lot of information. jdthood@turmeric:/tmp/isa_opl3sa2$ ls fullog isapnp_after isapnp_before kernel/ lsmod proc/ sys/ 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 07-09-05 06:38 ahaning Note Edited: 0005438 07-09-05 11:13 jdthood Note Added: 0005439 ====================================================================== ------------------------------------------------------- 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