Skip to contentSkip to conversation

: (snd_)opl3sa2 (isa) doesn't work (fails on playback) on 2.6.x kernels

ALSA - driver 0000879 [email protected] 1 participant 1 message Aug 2, 2005

lore
Share & tools
lore
#0 lore raw

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:              08-02-2005 22:14 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 - 08-02-05 03:05
----------------------------------------------------------------------
FWIW, I tried 2.6.13-rc4 with ALSA 1.0.9 (driver 1.0.9b) and had no luck (surprise).

I tried having alsaconf brute force detect with several cs#### drivers and the opl3sa2 and it configured one of the cs#### drivers. It was wrong, though.

I think the problem might have something to do with IRQs/ISA and the way that 2.6 handles them versus previous kernels. However, I'm not a coder or a kernel hacker, so I could be way off here. When alsaconf has managed to configure something (like in one of my previous comments) the IRQs were completely wrong, which I thought was odd.

I'd also offer up a login to my notebook if someone would be willing to look into this. It would be the first time I'd done such a thing, though, so you'd probably have to tell me what software you need and how you'd like it set up.

If there's anything else I can do, someone please say so. Like iive, I'm getting frustrated that my notebook is over 5 years old and is having driver regression issues. All drivers for this machine should work like a charm.

-Andy

----------------------------------------------------------------------
perex - 08-02-05 22:14
----------------------------------------------------------------------
The alsaconf-isapnp-2.6.patch should fix the alsaconf probing problem. Please, confirm.

Also, could you try remove 'options snd-opl3sa2' line from your modprobe.conf and try the command 'modprobe snd-opl3sa2' on fresh system (after boot)?

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                          
07-09-05 11:14 jdthood        Note Added: 0005440                          
07-28-05 05:17 ahaning        Note Added: 0005577                          
08-02-05 00:02 iive           Note Added: 0005599                          
08-02-05 03:00 ahaning        Note Added: 0005600                          
08-02-05 03:05 ahaning        Note Added: 0005601                          
08-02-05 03:05 ahaning        Note Deleted: 0005600                        
08-02-05 22:08 perex          File Added: alsaconf-isapnp-2.6.patch             

08-02-05 22:14 perex Note Added: 0005607
======================================================================

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click