[ltp] Re: pcmcia on the T42p

Aaron Mulder linux-thinkpad@linux-thinkpad.org
Thu, 15 Jul 2004 12:28:52 -0400 (EDT)


Dax,
	I'm confused -- does hotplug currently work for you or do you need 
to "cardctl insert", and is that with default BIOS settings or with 
interrupts spread around?

	On a T40p with SuSE 9.1 and APM (kernels in the 2.6.4 to 2.6.5
series), hotplug worked correctly (that is, I put in a compact flash card
w/PCMCIA adapter and it beeped and became hde1 automatically).  On a T42p
with SuSE 9.1, I see the same behavior (this one only tested with SuSE's
2.6.5-7.95-default).  I don't really have any other PCMCIA devices to test
with.  Also, APM suspend doesn't work while the flash card is in (though
that could probably be solved with a suspend script).

	The other weird thing is that if I put in a USB keychain, it is 
mounted automatically, whereas when I put in the compact flash PCMCIA card 
I have to mount it manually.  I guess that's an idiosyncracy of SuSE 9.1.

Aaron

On Mon, 12 Jul 2004, Dax Kelson wrote:
> On Sun, 2004-07-11 at 00:27, Rasmus Lerdorf wrote:
> > You mentioned you couldn't get your T42 to see any pcmcia events with a
> > Cisco Aironet 350 card.  I just tried it on mine and it worked fine.  I
> > didn't boot with it and plugged it in and it came right up.  cardctl eject
> > and re-inserted it about 10 times and each time it came back up fine.
> 
> More details and resolution.
> 
> When I tried Debian stable (with a 2.4 kernel), everything worked great
> including audible "beeps" when I inserted/removed PCMCIA cards.
> 
> I upgraded to Debian testing and then unstable with the 2.6.7 kernel and
> PCMCIA devices would only work if inserted prior to booting. This
> matched my Fedora Core v2 experience with the latest errata kernel, or
> with 2.6.7-mm.
> 
> With Debian testing/unstable using the Debian stable 2.4 kernel
> everything was peachy.
> 
> I found that loading the BIOS default setting that made everything work
> (minus the audible beeps). The default BIOS settings has a screen where
> all IRQs are *forced* to be IRQ 11, and sure enough, cat
> /proc/interrupts showed everything on 11. I had changed it to "Auto"
> instead of "11" and cat /proc/interrupts showed everything spread
> around. Everything seemed to work great, except PCMCIA.
> 
> Resetting my BIOS back to defaults and now PCMCIA hotplug is working.
> 
> It seems that it *should* work with interrupts not all clumped up on
> IRQ 11 (and indeed, Windows does work with that config), but for now
> at least, my PCMCIA slots are working.
> 
> Dax Kelson
> 
> -- 
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>