rework HAL LInux coldplug to work with future kernel changes

Kay Sievers kay.sievers at vrfy.org
Tue Sep 19 17:48:16 PDT 2006


This patch adapts the current HAL coldplug/hotplug logic to work with
future kernels, where sysfs will have all device in a unified tree
at /sys/devices.

We are currently doing a Linux kernel driver core rework, which will
not export kernel implementation details like the notion of "physical"
or "logical", "bus" or "class" device anymore. This unification will
allow the kernel developers to change kernel internals, without breaking
userspace tools that depend on sysfs.

In HAL, we must also get rid of properties in HAL like "*physical*" the
"bus"-namespace and the sysfs_path_device keys. They all don't make any
sense for userspace and are totally wrong in a virtualised environment.
Devices will be just classified by their "subsystem" string.

Thanks,
Kay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-new-sysfs-08.patch
Type: text/x-patch
Size: 36016 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060920/a4bb23a5/hal-new-sysfs-08-0001.bin


More information about the hal mailing list