Re: [PATCH] leds: triggers: send uevent when changing triggers

From: Greg KH
Date: Wed Jul 25 2012 - 10:36:09 EST


On Wed, Jul 25, 2012 at 02:11:30PM +0800, Bryan Wu wrote:
> On Wed, Jul 25, 2012 at 8:32 AM, Colin Cross <ccross@xxxxxxxxxxx> wrote:
> > Some triggers create sysfs files when they are enabled. Send a uevent
> > "change" notification whenever the trigger is changed to allow userspace
> > processes such as udev to modify permissions on the new files.
> >
>
> This looks like an workaround only for led trigger, can we fix this in
> sysfs level?

How do you propose doing that?

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/