Problems with GUS PnP: ad1848, pnp
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Andrey Panin
First, don't mix isapnptools and kernel level ISAPNP support.
Why? Both should set card parameters, shouldn't they? And when one sets parameters, the second should be able to read them (and read the same values).
Quoted 2 lines
Second, send a copy of
/proc/isapnpto lkml, may be we can add isapnp support for your card.
OK. But how do I learn if my card is supported or not?
Brain
--------------------------------
Petr `Brain' Kulhavy
<[email protected]>
http://artax.karlin.mff.cuni.cz/~brain
Faculty of Mathematics and Physics, Charles University Prague, Czech Republic
---
Never eat anything bigger than your head.
Quoted 7 lines · Petr Kulhavy
Quoted 1 line · Andrey Panin
First, don't mix isapnptools and kernel level ISAPNP support.
Why? Both should set card parameters, shouldn't they? And when one sets parameters, the second should be able to read them (and read the same values).
They both touch hardware at the same time and ISA PnP handling isn't simple.
Quoted 5 lines
Quoted 3 lines
Second, send a copy of
/proc/isapnpto lkml, may be we can add isapnp support for your card.OK. But how do I learn if my card is supported or not?
IIRC, Gravis Ultrasound PnP listed as supported in Hardware Compatibility HOWTO, but it can lack ISA PnP configuration support. So send us a copy of /proc/isapnp anyway :))
Signature · 2 lines
Andrey Panin | Embedded systems software engineer [email protected] | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
Quoted 3 lines · Andrey Panin
IIRC, Gravis Ultrasound PnP listed as supported in Hardware Compatibility HOWTO, but it can lack ISA PnP configuration support. So send us a copy of
/proc/isapnpanyway :))
OK. Here it is. It was set by isapnptools, so the values are a bit wild :-) But the resources are visible.
Brain
--------------------------------
Petr `Brain' Kulhavy
<[email protected]>
http://artax.karlin.mff.cuni.cz/~brain
Faculty of Mathematics and Physics, Charles University Prague, Czech Republic
---
I am looking for a honest man.
-- Diogenes the Cynic
Card 1 'GRV0001:Advanced Gravis InterWave Audio' PnP version 1.0 Product version 1.0
Logical device 0 'GRV0000:Synth & Codec'
Supported registers 0x2
Device is active
Active port 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff
Active IRQ 255 [0xff],255 [0xff]
Active DMA 255,255
Active memory 0xffffffff,0xffffffff,0xffffffff,0xffffffff
Resources 0
Priority preferred
IRQ 2/9,11,12,15 High-Edge
IRQ 2/9,11,12,15 High-Edge
DMA 0,1,3,5,6,7 8-bit&16-bit compatible
DMA 0,1,3,5,6,7 8-bit&16-bit compatible
Resources 1
Priority preferred
Port 0x220-0x220, align 0x0, size 0x10, 10-bit address decoding
Port 0x320-0x320, align 0x0, size 0x8, 10-bit address decoding
Port 0x32c-0x32c, align 0x0, size 0x4, 10-bit address decoding
Alternate resources 1:1
Priority acceptable
Port 0x240-0x240, align 0x0, size 0x10, 10-bit address decoding
Port 0x340-0x340, align 0x0, size 0x8, 10-bit address decoding
Port 0x34c-0x34c, align 0x0, size 0x4, 10-bit address decoding
Logical device 1 'GRV0001:ATAPI CD-ROM'
Supported registers 0x2
Compatible device PNP0600
Device is active
Active port 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff
Active IRQ 255 [0xff],255 [0xff]
Active DMA 255,255
Active memory 0xffffffff,0xffffffff,0xffffffff,0xffffffff
Resources 0
Priority preferred
IRQ 2/9,11,12,15 High-Edge
DMA 0,1,3,5,6,7 8-bit&16-bit compatible
Resources 1
Priority acceptable
Port 0x170-0x170, align 0x0, size 0x8, 10-bit address decoding
Port 0x376-0x376, align 0x0, size 0x2, 10-bit address decoding
Alternate resources 1:1
Priority acceptable
Port 0x168-0x168, align 0x0, size 0x8, 10-bit address decoding
Port 0x36e-0x36e, align 0x0, size 0x2, 10-bit address decoding
Alternate resources 1:2
Priority acceptable
Port 0x1e8-0x1e8, align 0x0, size 0x8, 10-bit address decoding
Port 0x3ee-0x3ee, align 0x0, size 0x2, 10-bit address decoding
Logical device 2 'GRV0002:Game Port'
Supported registers 0x2
Compatible device PNPb02f
Device is active
Active port 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff
Active IRQ 255 [0xff],255 [0xff]
Active DMA 255,255
Active memory 0xffffffff,0xffffffff,0xffffffff,0xffffffff
Resources 0
Priority preferred
Port 0x201-0x201, align 0x0, size 0x1, 10-bit address decoding
Logical device 3 'GRV0003:SB Digital Audio'
Supported registers 0x2
Device is active
Active port 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff
Active IRQ 255 [0xff],255 [0xff]
Active DMA 255,255
Active memory 0xffffffff,0xffffffff,0xffffffff,0xffffffff
Resources 0
Priority preferred
Port 0x388-0x388, align 0x0, size 0x2, 10-bit address decoding
IRQ 5,7 High-Edge Logical device 4 'GRV0004:GM Music'
Supported registers 0x2
Device is active
Active port 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff Active IRQ 255 [0xff],255 [0xff]
Active DMA 255,255
Active memory 0xffffffff,0xffffffff,0xffffffff,0xffffffff Resources 0
Priority preferred
IRQ 2/9 High-Edge
Alternate resources 0:1
Priority acceptable
IRQ 10 High-Edge
Alternate resources 0:2
Priority acceptable
IRQ 11 High-Edge
Resources 1
Priority preferred
Port 0x330-0x336, align 0x1, size 0x2, 10-bit address decoding
Quoted 9 lines · On Thu, Dec 20, 2001 at 08:25:44PM +0100, [email protected] wrote:
Quoted 3 lines · Andrey Panin
IIRC, Gravis Ultrasound PnP listed as supported in Hardware Compatibility HOWTO, but it can lack ISA PnP configuration support. So send us a copy of
/proc/isapnpanyway :))OK. Here it is. It was set by isapnptools, so the values are a bit wild :-) But the resources are visible.
Does the attached patch help you ?
Signature · 2 lines
Andrey Panin | Embedded systems software engineer [email protected] | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
linux.2.5.1/drivers/sound/ad1848.c renamed from linux.vanilla/drivers/sound/ad1848.c +6 -0
@@ -2965,6 +2965,10 @@ ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('Y','M','H'), ISAPNP_FUNCTION(0x0021), 1, 0, 0, 1, 1}, + {"Advanced Gravis InterWave Audio" , +ISAPNP_VENDOR ('G' ,'R' ,'V' ),ISAPNP_DEVICE (0x0001 ), +ISAPNP_VENDOR ('G' ,'R' ,'V' ),ISAPNP_FUNCTION (0x0000 ), + 0, 0, 0, 1, 0}, {0} };
@@ -2977,6 +2981,8 @@ ISAPNP_VENDOR('C','S','C'), ISAPNP_FUNCTION(0x0100), 0 }, {ISAPNP_ANY_ID ,ISAPNP_ANY_ID , ISAPNP_VENDOR('Y','M','H'), ISAPNP_FUNCTION(0x0021), 0 }, + { ISAPNP_VENDOR('G','R','V'), ISAPNP_DEVICE(0x0001), + ISAPNP_VENDOR('G','R','V'), ISAPNP_FUNCTION(0x0000), 0 }, {0} };
Quoted 1 line · Andrey Panin
Does the attached patch help you ?
Thanx. Now the ad1848 is able to detect the card. Ad1848 info about the card corresponds with /proc/isapnp (io, irq, dma). But the DMA/IRQ conflict persists.
Brain
--------------------------------
Petr `Brain' Kulhavy
<[email protected]>
http://artax.karlin.mff.cuni.cz/~brain
Faculty of Mathematics and Physics, Charles University Prague, Czech Republic
---
Wedding is destiny, and hanging likewise.
-- John Heywood