Re: [PATCH 1/3] backlight: Allow drivers to update the core, andgenerate events on changes

From: Matthew Garrett
Date: Mon Jul 13 2009 - 21:53:38 EST


On Tue, Jul 14, 2009 at 08:58:48AM +0800, ykzhao wrote:

> It will be better to send the event to user space only when the
> brightness is updated successfully.

That guarantees that we have to read back the brightness, which may be
expensive on some hardware.

> It seems that the acpi video driver will send the ACPI event to user
> space when updating the brightness.
> Is it necessary to send the udev-event again?

Yes. There's no reason to special-case the ACPI driver.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/