Re: Bug in pcmcia-core

Adam Belay
2005-07-11T21:19:27Z

On Thu, Jun 16, 2005 at 11:37:30PM +0100, James Courtier-Dutton wrote:
> Hi,
>
> I have tried conacting the mailing list for the PCMCIA subsystem in
> Linux, but no-one seems to respond.
>
> PCMCIA SUBSYSTEM
> L: http://lists.infradead.org/mailman/listinfo/linux-pcmcia
> S: Unmaintained
>
> I am trying to write a Linux ALSA driver for the Creative Audigy 2 NX
> Notebook PCMCIA card.
> This is a cardbus card, that uses ioports.
> When it is inserted into the laptop, the entry appears in "lspci -vv "
> showing ioports used by the card.
> As soon as my driver uses "outb()" to anything in the address range
> shown in "lspci -vv" , the PC hangs.
>
> I can only conclude from this that ioport resources are not being
> allocated correctly to the PCMCIA card.

It's possible.

>
> Can anybody help me track this down. If someone could tell me which
> PCMCIA and PCI registers should be set for it to work, I could then find
> out which pcmcia registers have not been set correctly, and fix the bug.
>
> It seems that the PCMCIA specification is not open and free, so I cannot
> refer to it in order to fix this myself.
>
> Can anybody help me?
>
> James

Please provide more information. /proc/ioports, lspci -vv, the ranges
assigned to your driver, and your driver code if it's available. I'll try
to look into the problem.

Thanks,
Adam