Re: [fpc-pascal] Linux udev messages

2018-02-07 Thread Henry Vermaak
On 7 Feb 2018 09:54, "Mark Morgan Lloyd" 
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
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Linux udev messages

2018-02-07 Thread Mark Morgan Lloyd
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.


Area of application is a configuration utility for a Logitech G600 mouse.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal