On Tue, Dec 27, 2016 at 08:22:13PM +0100, Andrzej Telszewski wrote: > On 27/12/16 19:04, Paul Fertser wrote: > > I'm not trying to argue here but it would be useful to know what > > modern distros are not covered by both plugdev and uaccess combined? > > I would have to investigate what uaccess is all about.
Upstream udev includes 73-seat-late.rules [0] which basically calls uaccess builtin [1] that assigns permissions appropriately for the current "seat" (i.e., physical session), more documentation explaining seats is available at [2]. I have an impression this mechanism allows both access for the current user when hotplugging as well as access for another user after a new session is established [3]. > I'm using Slackware, which is non-systemd distribution. For OSes that do not run systemd, nothing should be changing by adding uaccess tag (I'm proposing to retain plugdev group assignment intact and to use the tag method in addition to it). So what libsigrok usecase on what particular OS won't be covered by doing all three of these: 1. plugdev group assignment 2. uaccess tag 3. ModemManager antidote? (as a sidenote, OpenOCD doesn't have to deal with MM because most JTAG adapters are not serial/ACM/etc ports, so MM doesn't try to probe them anyhow, and those it tries do not mind) I hope this clears it up a bit. [0] https://github.com/systemd/systemd/blob/master/src/login/73-seat-late.rules.in [1] https://github.com/systemd/systemd/blob/master/src/udev/udev-builtin-uaccess.c [2] https://www.freedesktop.org/wiki/Software/systemd/multiseat/ [3] https://github.com/systemd/systemd/blob/master/src/login/logind-acl.c -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel