Re: Problems with PCMCIA Compact Flash adapter in 2.5.72

Russell King (rmk@arm.linux.org.uk)
Fri, 20 Jun 2003 21:16:40 +0100


On Fri, Jun 20, 2003 at 10:18:46AM +0200, Eivind Tagseth wrote:
> I've got a Kingston Compact Flash adapter that I use to mount the flash
> card of my digital camera. I've had several problems with the kernel
> with this, both 2.4.20, 2.5.69 and 2.5.72.

Hmm, you mention pcmcia-cs 3.2.4 later in your mail. Are you trying to
get pcmcia-cs modules to work with the 2.5.72 pcmcia subsystem?

> I always seem to forget some vital information when reporting bugs,
> please don't hesitate to ask for more info. I'll be happy to try any
> patches to the kernel and/or cardmgr if needed.

There is this which fixes some people problems, and is already in Linus'
recent bk tree. Does this solve your problem?

--- orig/drivers/pcmcia/cs.c Tue Jun 17 12:56:30 2003
+++ linux/drivers/pcmcia/cs.c Wed Jun 18 09:47:39 2003
@@ -816,7 +816,8 @@
if ((skt->state & SOCKET_PRESENT) &&
!(status & SS_DETECT))
socket_shutdown(skt);
- if (status & SS_DETECT)
+ if (!(skt->state & SOCKET_PRESENT) &&
+ status & SS_DETECT)
socket_insert(skt);
}
if (events & SS_BATDEAD)

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/