On 20/06/17 10:59 +0200, Ferenc Wágner wrote:
> Digimer <li...@alteeve.ca> writes:
> 
>> On 19/06/17 11:40 PM, Andrei Borzenkov wrote:
>>> udev events are sent over netlink, not D-Bus.
>> 
>> I've not used that before. Any docs on how to listen for those events,
>> by chance? If nothing off hand, don't worry, I can search.
> 
> Or just configure udev to run appropriate programs on the events you're
> interested in.  Less efficient, but simpler.

FYI, in the past, I've experimented with ordinary-user-access based
filtering of the events as obtained from "udevadm monitor", which used
to work happily out of the box:
"https://fedorapeople.org/cgit/jpokorny/public_git/uudev.git/
(in that example, I was running a custom script when the particular
keyboard was attached, I believe).

It's rather a poor man's solution, but the advantage is that it
doesn't require root's privileges for anything, and may suffice for
some use cases (not sure if for yours, Digimer, as well).

-- 
Jan (Poki)

Attachment: pgpHyRnI7zS_N.pgp
Description: PGP signature

_______________________________________________
Users mailing list: Users@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to