OpenFirmware devices and hotplug events

Greg KH greg at
Wed Mar 17 09:09:28 EST 2004

On Tue, Mar 16, 2004 at 02:00:07PM -0800, Dave Hansen wrote:
> On Tue, 2004-03-16 at 13:49, Greg KH wrote:
> > First off, what are you "hotplugging"?  What type of devices are these?
> > And why are they not covered by the current hotplug interface in the
> > kernel?
> In general, do any of the devices in the OpenFirmware tree generate
> linux hotplug events?  When something happens to the tree, does
> /sbin/hotplug get called?

If that tree is in sysfs, yes.

> Greg, I think a large portion of the problem lies in the current way
> that the device tree is exported to userspace.  Take one look at
> /proc/device-tree, and I think you'll see what I mean.

Eeek!  Hm, I thought this tree was moved under /sys/firmware which is
where it rightly belongs.  If that is done, then you get all the hotplug
events you could ever ask for, for free :)

Is anyone working on moving this tree to sysfs?


greg k-h

** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list