Use the DEVICE_ATTR_* macros to reduce boiler plate.
Signed-off-by: Bastien Nocera
---
drivers/platform/x86/thinkpad_acpi.c | 72 ++--
1 file changed, 20 insertions(+), 52 deletions(-)
diff --git a/drivers/platform/x86/thinkpad_acpi.c
b/drivers/platform/x86/thin
On Mon, Mar 2, 2015, at 14:40, Bastien Nocera wrote:
> Use the DEVICE_ATTR_* macros to reduce boiler plate.
>
> Signed-off-by: Bastien Nocera
Reviewed-by: Henrique de Moraes Holschuh
Acked-by: Henrique de Moraes Holschuh
> ---
> drivers/platform/x86/thinkpad_acpi.c | 72
> ++
On Mon, Mar 2, 2015, at 10:45, Bastien Nocera wrote:
> Add a sysfs attribute to allow privileged users to change the keyboard
> mode. This could be used by desktop environments to change the keyboard
> mode depending on the application focused, as the Windows application
> does.
>
> Signed-off-by:
On Mon, Mar 2, 2015, at 10:45, Bastien Nocera wrote:
> Move the getting/setting of the adaptive keyboard mode to separate
> functions, so that we can reuse them later through sysfs attributes.
>
> Signed-off-by: Bastien Nocera
Acked-by: Henrique de Moraes Holschuh
> ---
> drivers/platform/x86
On Mon, Mar 2, 2015, at 10:45, Bastien Nocera wrote:
> This commit adds new elements to the ThinkPad keymaps, and
> will send key events for keys for which an input.h declaration
> exists.
>
> Signed-off-by: Bastien Nocera
Reviewed-by: Henrique de Moraes Holschuh
Acked-by: Henrique de Moraes Ho
On Mon, Mar 2, 2015, at 10:45, Bastien Nocera wrote:
> Rather than checking on each suspend and resume whether the laptop
> has an adaptive keyboard, check when the driver is initialised.
>
> Signed-off-by: Bastien Nocera
Acked-by: Henrique de Moraes Holschuh
> ---
> drivers/platform/x86/thin
On Thu, 2015-02-19 at 15:20 +1100, Jol Valentine wrote:
> Hi folks,
>
> I have a bug report for a Lenovo T440s. I know the "unsupported
> brightness interface" has been reported numerous times, but from an
> end user perspective I have two issues:
> 1. once I 'logon' to the Linux desktop and
On Thu, 2015-02-19 at 15:20 +1100, Jol Valentine wrote:
> Hi folks,
>
> I have a bug report for a Lenovo T440s. I know the "unsupported
> brightness interface" has been reported numerous times, but from an
> end user perspective I have two issues:
> 1. once I 'logon' to the Linux desktop and
On Sat, 2015-02-28 at 11:17 -0300, Henrique de Moraes Holschuh wrote:
> On Sun, 22 Feb 2015, Georges Giralt wrote:
> > I own a brand new Lenovo E540 (20C600JHFR) fitted with a full HD LCD
> > screen.
> >
> > I've installed Ubuntu 14.04 LTS and exploring the syslog file for
> > unsupported hardw
Rather than checking on each suspend and resume whether the laptop
has an adaptive keyboard, check when the driver is initialised.
Signed-off-by: Bastien Nocera
---
drivers/platform/x86/thinkpad_acpi.c | 37 ++--
1 file changed, 18 insertions(+), 19 deletions(-)
Add a sysfs attribute to allow privileged users to change the keyboard
mode. This could be used by desktop environments to change the keyboard
mode depending on the application focused, as the Windows application
does.
Signed-off-by: Bastien Nocera
---
Documentation/laptops/thinkpad-acpi.txt | 1
This commit adds new elements to the ThinkPad keymaps, and
will send key events for keys for which an input.h declaration
exists.
Signed-off-by: Bastien Nocera
---
drivers/platform/x86/thinkpad_acpi.c | 80 +++-
1 file changed, 79 insertions(+), 1 deletion(-)
dif
Move the getting/setting of the adaptive keyboard mode to separate
functions, so that we can reuse them later through sysfs attributes.
Signed-off-by: Bastien Nocera
---
drivers/platform/x86/thinkpad_acpi.c | 61 ++--
1 file changed, 38 insertions(+), 23 deletions
13 matches
Mail list logo