[alsa-devel] [PATCH] opti931: additional check for OPL3 device

Rene Herman rene.herman at gmail.com
Fri Sep 14 18:33:35 CEST 2007

On 09/14/2007 04:35 PM, Krzysztof Helt wrote:

> This patch adds additional check for OPL3 device. I found that PNP region
> returned by the card is 0x380 - 0x38f but the OPL3 device is located at
> 0x388 (standard FM device address). The driver checks start of the range
> (0x380) which is incorrect.

> The same problem appears on two cards I have with Opti chipset: opti931
> and opti933. If someone can test if the opti92x PnP has the same problem
> I would be grateful.

Yes, same for OPT0924/OPT0925 (928, 929 and 930 are Non-PnP).

I'd rather simply adjust the resource in snd_card_opti9xx_pnp though -- that 
way, you don't go second guessing a user-specified value.

Untested, but looks as though this should do it:

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: opti9xx-fm_port.diff
Url: http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20070914/1bb78f56/attachment.bat 

More information about the Alsa-devel mailing list