lkml.org 
[lkml]   [2007]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Pcihpd-discuss] [PATCH 1/3] pciehp: hotplug: deal with pre-inserted ExpressCards
Kenji Kaneshige wrote:
> Hi Mark,
>
> I still don't understand what the problems is very much.

If a PCIe ExpressCard34 is inserted into the slot *before*
I modprobe pciehp (with pciehp_force=1), then the card is not
detected nor enabled. The patch provided here fixes that.

> Could you give me answers against the following questions?
>
> (1) Did you try "echo 1 > /sys/bus/pci/slots/XXX/power"?
> (XXX is the slot number to which your card had been inserted)
> (2) If the answer against (1) is yes, did "echo 1 > ..." work?


After 1. inserting the card, and then 2. modprobing pciehp,
the value of /sys/bus/pci/slots/XXX/power is already "1".

But, yes, doing "echo 1" into it does trigger card detection
and things work afterwards. This doesn't really help,
because it doesn't happen automatically, unless the kernel patch
is applied.

> (6) I think your slot is surprise removable. Is it correct?

Yes, it's an externally accessible ExpressCard slot on a notebook,
which is intended to be fully hotpluggable by surprise or otherwise.

Cheers


-
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/

\
 
 \ /
  Last update: 2007-10-18 15:33    [W:0.171 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site