[fpc-pascal] Linux udev messages

Henry Vermaak henry.vermaak at gmail.com
Wed Feb 7 11:32:43 CET 2018


On 7 Feb 2018 09:54, "Mark Morgan Lloyd" <markMLl.fpc-pascal at telemetry.co.uk>
wrote:

Has anybody used NETLINK_KOBJECT_UEVENT on linux to get messages relating
to device hotplugging and removal? It seems like the sort of thing that
could be monitored by a TIdleTimer event handler for at least cosmetic
purposes.


This is what libudev is for. I've used it successfully to monitor USB
hotplugging for many years now.

Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180207/707f0291/attachment.html>


More information about the fpc-pascal mailing list