jcnelson / vdev

A device-file manager for *nix
GNU General Public License v3.0
101 stars 13 forks source link

libudev-compat #13

Closed jcnelson closed 9 years ago

jcnelson commented 9 years ago

Go through the libudev API and make a device manager-agnostic libudev replacement. It doesn't look too hard, even if we have to punt on a couple of things.

Documentation: http://www.freedesktop.org/software/systemd/libudev/libudev-udev-device.html

jcnelson commented 9 years ago

We'll take libudev directly from udev, eudev, or uselessd and patch out the parts that expect to talk to the udevd daemon. We'll replace those methods with internals that do something a little bit more sane, like watching the filesystem for devices getting added or removed, and (on the Linux port) looking up their sysfs infos accordingly.

jcnelson commented 9 years ago

This is confirmed working. Libudev clients receive hotplug data and device data. We can boot to X.