2007-05-04 00:10:21

by Chris Adams

[permalink] [raw]
Subject: ExpressCard hotswap support?

I've got a Thinkpad Z60m with an ExpressCard slot, and I got a Belkin
F5U250 GigE ExpressCard (Marvell 88E8053 chip using sky2 driver). It
appears that Linux only recognizes it if I insert the card with the
system powered off. If I hot-insert the card, nothing happens (no
messages logged, no PCI device shows up, nothing).

Does Linux support hotswapping ExpressCards?

This is with Fedora Core 6 with all updates, kernel 2.6.20-1.2948.fc6.
--
Chris Adams <[email protected]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


2007-05-04 10:04:33

by Daniel J Blueman

[permalink] [raw]
Subject: Re: ExpressCard hotswap support?

On 4 May, 01:20, Chris Adams <[email protected]> wrote:
> I've got a Thinkpad Z60m with an ExpressCard slot, and I got a Belkin
> F5U250 GigE ExpressCard (Marvell 88E8053 chip using sky2 driver). It
> appears that Linux only recognizes it if I insert the card with the
> system powered off. If I hot-insert the card, nothing happens (no
> messages logged, no PCI device shows up, nothing).

The BIOS initialises and powers up the downstream PCI express port
when it detects a card is present.

When Linux boots, it enumerates the bus and sees it, but does not do
prior configuration to enable, configure and cause link negotiation on
all PCI express ports I believe; this requires chipset and (sometimes
revision-) specific code, which wouldn't be so robust as the BIOS
doing the footwork.

I have the same problem on my Sony VGN-SZ240. The problem would be
addressed if the BIOS powered up all PCI express ports, but then this
would draw more power. Perhaps if just needs to do the hotplug
configuration correctly, but then older OSs may have problems?

> Does Linux support hotswapping ExpressCards?
>
> This is with Fedora Core 6 with all updates, kernel 2.6.20-1.2948.fc6.
--
Daniel J Blueman

2007-05-05 01:52:51

by Chris Adams

[permalink] [raw]
Subject: Re: ExpressCard hotswap support?

Once upon a time, Daniel J Blueman <[email protected]> said:
> On 4 May, 01:20, Chris Adams <[email protected]> wrote:
> >I've got a Thinkpad Z60m with an ExpressCard slot, and I got a Belkin
> >F5U250 GigE ExpressCard (Marvell 88E8053 chip using sky2 driver). It
> >appears that Linux only recognizes it if I insert the card with the
> >system powered off. If I hot-insert the card, nothing happens (no
> >messages logged, no PCI device shows up, nothing).
>
> The BIOS initialises and powers up the downstream PCI express port
> when it detects a card is present.
>
> When Linux boots, it enumerates the bus and sees it, but does not do
> prior configuration to enable, configure and cause link negotiation on
> all PCI express ports I believe; this requires chipset and (sometimes
> revision-) specific code, which wouldn't be so robust as the BIOS
> doing the footwork.

Actually, for me, loading pciehp with pciehp_force=1 set works.
--
Chris Adams <[email protected]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.