Heya,

I'm thinking of the way we could handle hotpluggable devices in fprintd.

- Make libfprint export an FDI file that tells us all the fingerprint
reader devices it supports (adding an internal function giving us back a
struct containing that)

- Monitor hal inside fprintd, and get told when fingerprint devices are
added/removed (graceful failure when removed and in use, make sure that
libusb re-reads the full list of usb devices when
libusb_get_device_list() is called)

- internally, IDs for devices should be gathered from their position on
the usb bus, rather than just incrementing (that would mean the path to
the devices would stay constant across runs, rather than being
reordered). We'd need to modify libfprint to give that to us from
libusb.

- DeviceAdded/DeviceRemoved in the manager (path to the object in the
signals)

What do you think?

_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to