Nigel Cunningham wrote:
In general, you're right because we don't have perfect hardware hotplugging
yet. But cpu hotplugging is one area we do have, so it should work.
Well, it seems to me the general problem is generating the proper
hotplug events. If you actually pull, say, a USB device, the usb
subsystem will tell you about it as it happens. But if you can suspend
the machine and then arbitrarily rearrange the hardware, then on resume
you'd have to go over the current hardware state and compare it to the
pre-suspend state and generate all those events. Or I guess you could
just generate unplug events for everything at suspend and re-plug
anything you find on resume. Sounds pretty heavyweight though.
J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]