Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1275752

Re: [PATCH v2] toshiba_acpi: Fix keyboard backight sysfs entries not being updated

From Darren Hart <dvhart@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] toshiba_acpi: Fix keyboard backight sysfs entries not being updated
Date 2015-11-23 20:00 +0100
Message-ID <qy4vg-5JC-23@gated-at.bofh.it> (permalink)
References <qy3zc-55c-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Nov 23, 2015 at 10:51:30AM -0700, Azael Avalos wrote:
> Certain Toshiba models with the second generation keyboard backlight
> (type 2) do not generate the keyboard backlight changed event (0x92),
> and thus, the sysfs entries are never being updated.
> 
> This patch adds a workquee and a global boolean variable to address
> the issue.
> 
> For those models that do generate the event, the sysfs entries are
> being updated via the *notify function and the boolean is set to
> true to avoid a second call to update the entries.
> 
> For those models that do not generate the event, the workquee is
> used to update the sysfs entries and also to emulate the event via
> netlink, to make userspace aware of such change.
> 
> Signed-off-by: Azael Avalos <coproscefalo@gmail.com>

Queued to testing, thanks!

-- 
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] toshiba_acpi: Fix keyboard backight sysfs entries not being updated Azael Avalos <coproscefalo@gmail.com> - 2015-11-23 19:00 +0100
  Re: [PATCH v2] toshiba_acpi: Fix keyboard backight sysfs entries not  being updated Darren Hart <dvhart@infradead.org> - 2015-11-23 20:00 +0100

csiph-web