Epia MII 10000, 2.6.13-mm2,
cs: pcmcia_socket0: unable to apply power
Dominik Brodowski
linux at dominikbrodowski.net
Tue Sep 13 13:58:53 EDT 2005
Hi Sander,
On Tue, Sep 13, 2005 at 11:20:41AM +0200, Sander wrote:
> > Do you use pcmcia-cs? If so, what is the output of
> > cardctl ident
> > cardctl status
> > cardctl config
> > ? Is the "cardmgr" daemon running?
>
> I've installed pcmciautils-008, as kernel 2.6.13-mm2 says:
>
> "PCMCIAutils replaces pcmcia-cs (see below). It properly sets up
> PCMCIA sockets at system startup and loads the appropriate modules
> for 16-bit PCMCIA devices if the kernel is modularized and the hotplug
> subsystem is used."
>
> I believe there is no such thing as 'cardmgr' in pcmciautils, correct?
Yes. However, I thought you were upgrading from an earlier kernel, and as
pcmciautils is really new, I thought you might still have a pcmcia-cs based
setup...
> # dmesg | tail
> [42949462.930000] Yenta: CardBus bridge found at 0000:00:0a.0 [1106:aa01]
> [42949463.070000] Yenta: ISA IRQ mask 0x0c08, PCI irq 5
> [42949463.070000] Socket status: 30000410
> [42949463.070000] ACPI: PCI Interrupt 0000:00:0a.1[B] -> Link [LNKB] -> GSI 12 (level, low) -> IRQ 12
> [42949463.070000] Yenta: CardBus bridge found at 0000:00:0a.1 [1106:aa01]
> [42949463.210000] Yenta: ISA IRQ mask 0x0c08, PCI irq 12
> [42949463.210000] Socket status: 30000006
> [42949541.030000] cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xdffff 0xf0000-0xfffff
> [42949541.040000] cs: memory probe 0x60000000-0x60ffffff: clean.
> [42949541.040000] cs: memory probe 0xa0000000-0xa0ffffff: clean.
>
>
> Now that seems good news!! But pcmcia-socket-startup is not mentioned at
> http://kernel.org/pub/linux/utils/kernel/pcmcia/howto.html
> or
> http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
>
> and not even in the pcmciautils-008 source.
Actually, it should be called by the hotplug system automagically upon
modprobe yenta_socket, with the socket number as argument.
> Do you happen to know how I should use it? It is kinda strange that it
> doens't work without argument, and seems to make the system move with a
> seemingly unrelated argument.
Actually, it expects one argument, the socket number. It doesn't do any
argument checking, so it simply tries to convert "--help" to a number. That
results in the number "0", so the socket numbered "0" is started. I've fixed
pcmcia-socket-startup to start _all_ sockets if no argument is given.
This'll be part of pcmciautils-009 which I hope to release soon.
> Have to go now, but will test if the card works later today. It
> needs CIS so that might be another obstacle.
You need to get the CIS file from pcmcia-cs it's in etc/cis/, named ".dat",
and needs to be re-named to ".cis" and put into /lib/firmware, IIRC.
> Btw, if all works I'll be more than happy to provide patches for
> http://kernel.org/pub/linux/utils/kernel/pcmcia/howto.html
> and
> http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
>
> I'm not a coder, but can update the docs :-)
Excellent, thanks!
Dominik
More information about the linux-pcmcia
mailing list