[systemd-devel] [PATCH] udev: Add keyboard leds helper app

Carlos Garnacho carlosg at gnome.org
Fri Jan 17 07:14:11 PST 2014


On vie, 2014-01-17 at 14:41 +0100, Lennart Poettering wrote:
> On Fri, 17.01.14 14:19, Carlos Garnacho (carlosg at gnome.org) wrote:
> 
> > > Hmm, so the idea here is to attach this information to the udev devices,
> > > so that it is available unprivileged?
> > 
> > Yeah, pretty much.
> 
> But it is already available in /sys unpriviled, no? See
> /sys/class/input/*/capabilities/led. Wouldn't that suffice?

Hmm, right. It's just capabilities what I'm checking in this case,
rather than current state. Checking sysfs would indeed suffice, I'll
play out with that in gnome-settings-daemon.

Cheers,
  Carlos



More information about the systemd-devel mailing list