From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@alsa-project.org Subject: [ALSA - utils 0001326]: ISA cards (opl3sa2 in particular) are not detected properly on 2.6 kernels Date: Fri, 12 Aug 2005 15:36:22 +0200 Message-ID: <771c97c54555df6da468d6a75dfdb340@bugtrack.alsa-project.org> 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 F251C1C7 for ; Fri, 12 Aug 2005 15:36:22 +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: ahaning Assigned To: perex ====================================================================== Project: ALSA - utils Issue ID: 1326 Category: alsaconf Reproducibility: always Severity: major Priority: normal Status: assigned ====================================================================== Date Submitted: 08-10-2005 03:39 CEST Last Modified: 08-12-2005 15:36 CEST ====================================================================== Summary: ISA cards (opl3sa2 in particular) are not detected properly on 2.6 kernels Description: When brute-force detecting my OPL3SA2 card, the IRQ and DMA1/DMA2 settings are incorrectly detected by alsaconf from alsa-utils. For example, the default BIOS settings are IRQ=11, DMA1=0, DMA2=1, but alsaconf detects IRQ=5, DMA1=1, DMA2=0. No matter the BIOS settings, alsaconf always detects those settings (IRQ=5, DMA1=1, DMA2=0). If I set the BIOS settings to that, then the card will make sound (after touching the mixer while playing audio). According to perex (author of the opl3sa2 driver): "The alsaconf tries to gather free resources (irq/dma/ports) from the /proc filesystem. It might be extended to gather this information also from /sys filesystem." ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0000879 (snd_)opl3sa2 (isa) doesn't work (fails... ====================================================================== ---------------------------------------------------------------------- tiwai - 08-12-05 15:35 ---------------------------------------------------------------------- Neomagic MaigcWae 3D has a PnP card id NMX200. The device is YMH2210. If the device is really an ISA PnP, you can run "modprobe snd-opl3sa2" without any module parameters. Even you should *not* define any parameters regarding resources. OTOH, if the device is a non PnP, only brute-force configuration is possible, i.e. checking /sys won't help. In this case, check alsaconf log with -l option to see what it tried to detect correct parameters. ---------------------------------------------------------------------- ahaning - 08-12-05 15:36 ---------------------------------------------------------------------- Well, this is very depressing, because when I installed Windows XP on this machine, it had sound support out-of-the box. I did nothing. Sound just worked. Is it out of the question to redesign the ISAPNP code in ALSA or the OPL3SA2 driver so that this actually works? I know very few people will have this card anymore, but it will still be distressing for them when they find that their *5+ YEAR OLD* sound card doesn't work without a lot of work and won't ever work without lots of work on a NEWER version of Linux, unlike Windows which detects the card and happily uses it. Or maybe it would be better fixed by kernel people? Issue History Date Modified Username Field Change ====================================================================== 08-10-05 03:39 ahaning New Issue 08-10-05 03:39 ahaning Distribution => Slackware 9.1 (but it's not distribution-specific) 08-10-05 03:39 ahaning Kernel Version => 2.6.12.2 08-10-05 13:26 perex Status new => assigned 08-10-05 13:26 perex Assigned To => perex 08-10-05 13:26 perex File Added: alsaconf 08-10-05 13:28 perex Note Added: 0005747 08-10-05 13:29 perex Project ALSA - driver => ALSA - utils 08-10-05 13:30 perex Relationship added related to 0000879 08-10-05 13:31 perex Category 1_OTHERS => alsaconf 08-10-05 14:55 ahaning Note Added: 0005748 08-11-05 00:24 ahaning Note Added: 0005752 08-11-05 23:59 ahaning Note Added: 0005763 08-12-05 00:00 ahaning Note Edited: 0005763 08-12-05 03:09 ahaning Note Added: 0005764 08-12-05 09:29 perex Note Added: 0005766 08-12-05 12:54 ahaning Note Added: 0005767 08-12-05 15:11 perex Summary ISAPNP cards (opl3sa2 in particular) are not detected properly on 2.6 kernels => ISA cards (opl3sa2 in particular) are not detected properly on 2.6 kernels 08-12-05 15:14 perex Note Added: 0005768 08-12-05 15:35 tiwai Note Added: 0005769 08-12-05 15:36 ahaning Note Added: 0005770 ====================================================================== ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf