From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751330AbdILGmQ convert rfc822-to-8bit (ORCPT ); Tue, 12 Sep 2017 02:42:16 -0400 Received: from p3plsmtp22-04-2.prod.phx3.secureserver.net ([68.178.252.60]:53908 "EHLO p3plwbeout22-04.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbdILGmP (ORCPT ); Tue, 12 Sep 2017 02:42:15 -0400 X-SID: retEdnLlbhFC6 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="utf-8" X-Originating-IP: 24.196.106.86 User-Agent: Workspace Webmail 6.8.11 Message-Id: <20170911234143.669a95d04dbb6b53be537852cb8ecb8c.78944f3a28.wbe@email22.secureserver.net> From: "Gabriel M. Elder" To: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: keyboard backlight =?UTF-8?Q?max=5Fbrightness=20bug=20on=20Dell=20Latitud?= =?UTF-8?Q?e=20E=36=34=31=30?= Date: Mon, 11 Sep 2017 23:41:43 -0700 Mime-Version: 1.0 X-CMAE-Envelope: MS4wfIS3YcHuiUtNdIr3tXZrfywJnsDMaWwrIQ5rFBDk0SdZls3/q3QYfth2iNjU33IAhNdZGyU4X3y+oz5V0ZI/JV1WUxIMNdYjcKZry4v0ihM+mQmqaDL4 GWBXKTcnwSsA4xc0kiUhQyxP3nv/B0fxzo/CqHxOI96PzJsn4OiIJRRBsUPvYNCNTqGs95bbtc1CGt2WrmflQwA175C+JM05fQdzK346ZEjW9hBEAh8rjLhJ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Hans de Goede, one of the upower maintainers, suggested I alert you all to this bug: https://bugs.freedesktop.org/show_bug.cgi?id=100041 and the new one I filed via the kernel bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196913 "keyboard backlight max_brightness value outside allowable range on Dell Latitude E6410 laptop" Please check it out at your earliest convenience. thanks, - Gabriel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751471AbdINIHE (ORCPT ); Thu, 14 Sep 2017 04:07:04 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:45425 "EHLO mail-wr0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751162AbdINIHC (ORCPT ); Thu, 14 Sep 2017 04:07:02 -0400 X-Google-Smtp-Source: ADKCNb6kH6Pf0Z58qXlEttZq1GKgxwHDSXeSPhXMl6PHJzLTptwe9nrLnHA1vMidQK+kPo0QbUk4bQ== Date: Thu, 14 Sep 2017 10:06:59 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: "Gabriel M. Elder" Cc: dvhart@infradead.org, andy@infradead.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 Message-ID: <20170914080659.GL32278@pali> References: <20170911232527.669a95d04dbb6b53be537852cb8ecb8c.c30a078964.wbe@email22.secureserver.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170911232527.669a95d04dbb6b53be537852cb8ecb8c.c30a078964.wbe@email22.secureserver.net> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v8E879g2013012 On Monday 11 September 2017 23:25:27 Gabriel M. Elder wrote: >
Hi all,

Hans de Goede, one of the upower maintainers, suggested I alert you all to this bug:


and the new one I filed via the kernel bugzilla:


"keyboard backlight max_brightness value outside allowable range on Dell Latitude E6410 laptop"

Please check it out at your earliest convenience.

thanks,
- Gabriel
Hi Gabriel, please avoid sending such html emails to mailing list as it is hard to read them and also you have a very big chance that email would be eaten by spam filter or other developers would completely ignore it... To debug your problem, can you run smbios-keyboard-ctl tool from the libsmbios project? https://github.com/dell/libsmbios We would need output from --info parameter and also from --get-status. -- Pali Rohár pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751427AbdINNfs convert rfc822-to-8bit (ORCPT ); Thu, 14 Sep 2017 09:35:48 -0400 Received: from p3plsmtp22-05-2.prod.phx3.secureserver.net ([68.178.252.62]:35614 "EHLO p3plwbeout22-05.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbdINNfr (ORCPT ); Thu, 14 Sep 2017 09:35:47 -0400 X-SID: sUIWd49KgwEVx Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="utf-8" X-Originating-IP: 24.196.106.86 User-Agent: Workspace Webmail 6.8.12 Message-Id: <20170914063515.669a95d04dbb6b53be537852cb8ecb8c.39d3e774b5.wbe@email22.secureserver.net> From: "Gabriel M. Elder" To: "Pali =?UTF-8?Q?Roh=C3=A1r?=" Cc: dvhart@infradead.org, andy@infradead.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: RE: keyboard backlight =?UTF-8?Q?max=5Fbrightness=20bug=20on=20Dell=20Lat?= =?UTF-8?Q?itude=20E=36=34=31=30?= Date: Thu, 14 Sep 2017 06:35:15 -0700 Mime-Version: 1.0 X-CMAE-Envelope: MS4wfHdp0VG97+beRjQedxnmEIpKrpRP3yFNTzg2BuyDV3rEhBABvCwFVZYnxL/0gs4UoBts0fMvRlHsvVYEQ0AN35dedZXFeeneM+TDcXMk1FdnKioowTSr TtTURGExOHe+ovHH+dKkEdFAcV4dmGjCBtRVRQHKxcSdpPN5r/K2UBbOwhH44Ia+w/pM6y7+G70KvgVgA6Plbc4xtNhkpZMJv9kSVXEH055jUKfEPSVMoEkA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org output from smbios-keyboard-ctl --info: Libsmbios version : 2.3.0 smbios-keyboard-ctl version : 2.3.0 Capabilities of KeyBoard Illumination on your system: ------------------------------------------------------------------- Supported USER Selectable Modes : Always OFF Auto: ALS- and input-activity-based On; input-activity based Off Auto: Input-activity-based On; input-activity based Off Supported Keyboard illumination type : Backlight Supports Keyboard illumination on : Any Keystroke Touchpad activity Pointing stick Can configure Keyboard illumination timeout unit in : Seconds Minutes Hours Supported Keyboard light brightness levels : 10 Maximum acceptable seconds timeout value : 255 Maximum acceptable minutes timeout value : 255 Maximum acceptable hours timeout value : 12 Maximum acceptable days timeout value : 0 output from smbios-keyboard-ctl --get-status: Helper function to print current status of keyboard illumination Current status of KeyBoard Illumination setting on your system: ------------------------------------------------------------------- Configured mode state: Auto: Input-activity-based On; input-activity based Off Your Keyboard will illumination on: Any Keystroke Touchpad activity Pointing stick Keyboard illumination timeout has bee set at: 10 Seconds Current setting of ALS value that turns the light on or off: 18 Current ALS Reading : 16 Current keyboard light level : 9 -------- Original Message -------- Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 From: Pali Rohár Date: Thu, September 14, 2017 3:06 am To: "Gabriel M. Elder" Cc: dvhart@infradead.org, andy@infradead.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org On Monday 11 September 2017 23:25:27 Gabriel M. Elder wrote: > Hi all, > Hans de Goede, one of the upower maintainers, suggested I alert you all to this bug: > > https://bugs.freedesktop.org/show_bug.cgi?id=100041 > > and the new one I filed via the kernel bugzilla: > > https://bugzilla.kernel.org/show_bug.cgi?id=196913 > "keyboard backlight max_brightness value outside allowable range on Dell Latitude E6410 laptop" > > Please check it out at your earliest convenience. > > thanks, > - Gabriel Hi Gabriel, please avoid sending such html emails to mailing list as it is hard to read them and also you have a very big chance that email would be eaten by spam filter or other developers would completely ignore it... To debug your problem, can you run smbios-keyboard-ctl tool from the libsmbios project? https://github.com/dell/libsmbios We would need output from --info parameter and also from --get-status. -- Pali Rohár pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751433AbdINNyZ (ORCPT ); Thu, 14 Sep 2017 09:54:25 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:43571 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbdINNyX (ORCPT ); Thu, 14 Sep 2017 09:54:23 -0400 X-Google-Smtp-Source: AOwi7QDvp7CE7zRIxIKtxh8acmxDtpbRPeTJW5+H4R0oSc9KPXvMjO0C4+0zi67W8WvBz3nbLPR/lQ== Date: Thu, 14 Sep 2017 15:54:20 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: "Gabriel M. Elder" , Gabriele Mazzotta Cc: dvhart@infradead.org, andy@infradead.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 Message-ID: <20170914135420.GO32278@pali> References: <20170914063515.669a95d04dbb6b53be537852cb8ecb8c.39d3e774b5.wbe@email22.secureserver.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170914063515.669a95d04dbb6b53be537852cb8ecb8c.39d3e774b5.wbe@email22.secureserver.net> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding Gabriele to thread, IIRC you have machine which uses "supported keyboard light brightness levels" Can you look at this bug, if your machine is affected by it too? Important parts in ouptput: > ... --info > Supported Keyboard light brightness levels : 10 > ... --get-status > Current keyboard light level : 9 Gabriel, can you play with this tool, which values can be set via --set-level= parameter? Is 10 accepted? --get-status can be used to check if value was accepted. On Thursday 14 September 2017 06:35:15 Gabriel M. Elder wrote: > > output from smbios-keyboard-ctl --info: > > Libsmbios version : 2.3.0 > smbios-keyboard-ctl version : 2.3.0 > > Capabilities of KeyBoard Illumination on your system: > ------------------------------------------------------------------- > Supported USER Selectable Modes : > Always OFF > Auto: ALS- and input-activity-based On; input-activity based Off > Auto: Input-activity-based On; input-activity based Off > > Supported Keyboard illumination type : Backlight > > Supports Keyboard illumination on : > Any Keystroke > Touchpad activity > Pointing stick > > Can configure Keyboard illumination timeout unit in : > Seconds > Minutes > Hours > > Supported Keyboard light brightness levels : 10 > > Maximum acceptable seconds timeout value : 255 > > Maximum acceptable minutes timeout value : 255 > > Maximum acceptable hours timeout value : 12 > > Maximum acceptable days timeout value : 0 > > > output from smbios-keyboard-ctl --get-status: > > Helper function to print current status of keyboard illumination > > Current status of KeyBoard Illumination setting on your system: > ------------------------------------------------------------------- > > Configured mode state: > Auto: Input-activity-based On; input-activity based Off > > Your Keyboard will illumination on: > Any Keystroke > Touchpad activity > Pointing stick > > Keyboard illumination timeout has bee set at: 10 Seconds > > Current setting of ALS value that turns the light on or off: 18 > Current ALS Reading : 16 > Current keyboard light level : 9 > > > -------- Original Message -------- > Subject: Re: keyboard backlight max_brightness bug on Dell Latitude > E6410 > From: Pali Rohár > Date: Thu, September 14, 2017 3:06 am > To: "Gabriel M. Elder" > Cc: dvhart@infradead.org, andy@infradead.org, > platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org > > On Monday 11 September 2017 23:25:27 Gabriel M. Elder wrote: > > Hi all, > > Hans de Goede, one of the upower maintainers, suggested I alert you all to this bug: > > > > https://bugs.freedesktop.org/show_bug.cgi?id=100041 > > > > and the new one I filed via the kernel bugzilla: > > > > https://bugzilla.kernel.org/show_bug.cgi?id=196913 > > "keyboard backlight max_brightness value outside allowable range on Dell Latitude E6410 laptop" > > > > Please check it out at your earliest convenience. > > > > thanks, > > - Gabriel > > Hi Gabriel, please avoid sending such html emails to mailing list as it > is hard to read them and also you have a very big chance that email > would be eaten by spam filter or other developers would completely > ignore it... > > To debug your problem, can you run smbios-keyboard-ctl tool from the > libsmbios project? https://github.com/dell/libsmbios > > We would need output from --info parameter and also from --get-status. > -- Pali Rohár pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751707AbdINOcp convert rfc822-to-8bit (ORCPT ); Thu, 14 Sep 2017 10:32:45 -0400 Received: from p3plsmtp22-03-2.prod.phx3.secureserver.net ([68.178.252.58]:54951 "EHLO p3plwbeout22-03.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751524AbdINOco (ORCPT ); Thu, 14 Sep 2017 10:32:44 -0400 X-SID: sVBddv1BQb2FS Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="utf-8" X-Originating-IP: 24.196.106.86 User-Agent: Workspace Webmail 6.8.12 Message-Id: <20170914073212.669a95d04dbb6b53be537852cb8ecb8c.bb76a59c3e.wbe@email22.secureserver.net> From: "Gabriel M. Elder" To: "Pali =?UTF-8?Q?Roh=C3=A1r?=" , "Gabriele Mazzotta" Cc: dvhart@infradead.org, andy@infradead.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: RE: keyboard backlight =?UTF-8?Q?max=5Fbrightness=20bug=20on=20Dell=20Lat?= =?UTF-8?Q?itude=20E=36=34=31=30?= Date: Thu, 14 Sep 2017 07:32:12 -0700 Mime-Version: 1.0 X-CMAE-Envelope: MS4wfPSfxCkrFIsDtl9zt3F2UWFpBR4GFa5mb9j73BQ4ijtcxZLpRIAzb+Ybj2Um/V1mzo/49vWsNP/6NFuLBbx9Cd9otL8SNXT1sFdytQRldLmsuZ6bYRg5 wFa4gnqxT7Hrip7x3YYHztuQ5/sOPQh9nl747x1sNXqMJTVSMkQ5RYGYBpOlNFI9eMv70Dc8CqK8pui56nvUwAyD/83BAIGaXeHLROlIxiQg2cZLHaE0GYCo Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I've also been updating https://bugzilla.kernel.org/show_bug.cgi?id=196913 btw. What source file is responsible for setting this; led-class.c? I would like to know, so I can tell it to use the correct value: max_brightness = supported_brightness_levels-1; // !actual_max_brightness+1 :) # smbios-keyboard-ctl --set-level=10; echo $? Old Keyboard illumination level is: 9 Set Trigger Failed. Failed to write config Error Return Code : cbRES1: 0x-2 cbRES2: 0x93512 cbRES3: 0xCFFFF 0 # smbios-keyboard-ctl --get-status; echo $? Helper function to print current status of keyboard illumination Current status of KeyBoard Illumination setting on your system: ------------------------------------------------------------------- Configured mode state: Auto: ALS- and input-activity-based On; input-activity based Off Your Keyboard will illumination on: Any Keystroke Touchpad activity Keyboard illumination timeout has bee set at: 10 Seconds Current setting of ALS value that turns the light on or off: 18 Current ALS Reading : 45 Current keyboard light level : 9 0 -------- Original Message -------- Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 From: Pali Rohár Date: Thu, September 14, 2017 8:54 am To: "Gabriel M. Elder" , Gabriele Mazzotta Cc: dvhart@infradead.org, andy@infradead.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Adding Gabriele to thread, IIRC you have machine which uses "supported keyboard light brightness levels" Can you look at this bug, if your machine is affected by it too? Important parts in ouptput: > ... --info > Supported Keyboard light brightness levels : 10 > ... --get-status > Current keyboard light level : 9 Gabriel, can you play with this tool, which values can be set via --set-level= parameter? Is 10 accepted? --get-status can be used to check if value was accepted. On Thursday 14 September 2017 06:35:15 Gabriel M. Elder wrote: > > output from smbios-keyboard-ctl --info: > > Libsmbios version : 2.3.0 > smbios-keyboard-ctl version : 2.3.0 > > Capabilities of KeyBoard Illumination on your system: > ------------------------------------------------------------------- > Supported USER Selectable Modes : > Always OFF > Auto: ALS- and input-activity-based On; input-activity based Off > Auto: Input-activity-based On; input-activity based Off > > Supported Keyboard illumination type : Backlight > > Supports Keyboard illumination on : > Any Keystroke > Touchpad activity > Pointing stick > > Can configure Keyboard illumination timeout unit in : > Seconds > Minutes > Hours > > Supported Keyboard light brightness levels : 10 > > Maximum acceptable seconds timeout value : 255 > > Maximum acceptable minutes timeout value : 255 > > Maximum acceptable hours timeout value : 12 > > Maximum acceptable days timeout value : 0 > > > output from smbios-keyboard-ctl --get-status: > > Helper function to print current status of keyboard illumination > > Current status of KeyBoard Illumination setting on your system: > ------------------------------------------------------------------- > > Configured mode state: > Auto: Input-activity-based On; input-activity based Off > > Your Keyboard will illumination on: > Any Keystroke > Touchpad activity > Pointing stick > > Keyboard illumination timeout has bee set at: 10 Seconds > > Current setting of ALS value that turns the light on or off: 18 > Current ALS Reading : 16 > Current keyboard light level : 9 > > > -------- Original Message -------- > Subject: Re: keyboard backlight max_brightness bug on Dell Latitude > E6410 > From: Pali Rohár > Date: Thu, September 14, 2017 3:06 am > To: "Gabriel M. Elder" > Cc: dvhart@infradead.org, andy@infradead.org, > platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org > > On Monday 11 September 2017 23:25:27 Gabriel M. Elder wrote: > > Hi all, > > Hans de Goede, one of the upower maintainers, suggested I alert you all to this bug: > > > > https://bugs.freedesktop.org/show_bug.cgi?id=100041 > > > > and the new one I filed via the kernel bugzilla: > > > > https://bugzilla.kernel.org/show_bug.cgi?id=196913 > > "keyboard backlight max_brightness value outside allowable range on Dell Latitude E6410 laptop" > > > > Please check it out at your earliest convenience. > > > > thanks, > > - Gabriel > > Hi Gabriel, please avoid sending such html emails to mailing list as it > is hard to read them and also you have a very big chance that email > would be eaten by spam filter or other developers would completely > ignore it... > > To debug your problem, can you run smbios-keyboard-ctl tool from the > libsmbios project? https://github.com/dell/libsmbios > > We would need output from --info parameter and also from --get-status. > -- Pali Rohár pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751509AbdINOeB (ORCPT ); Thu, 14 Sep 2017 10:34:01 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:46166 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751255AbdINOd7 (ORCPT ); Thu, 14 Sep 2017 10:33:59 -0400 X-Google-Smtp-Source: AOwi7QCmQ0vN5CouGDewKwdKmqX9eGNpimcgX9TUe7HOHknPYMuvIafsZpamDOoxDYqxWWOZiK6gFq2h1wzPVkCnM1Q= MIME-Version: 1.0 In-Reply-To: <20170914135420.GO32278@pali> References: <20170914063515.669a95d04dbb6b53be537852cb8ecb8c.39d3e774b5.wbe@email22.secureserver.net> <20170914135420.GO32278@pali> From: Gabriele Mazzotta Date: Thu, 14 Sep 2017 16:33:57 +0200 Message-ID: Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: "Gabriel M. Elder" , Darren Hart , andy@infradead.org, "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v8EEY70t006092 2017-09-14 15:54 GMT+02:00 Pali Rohár : > Adding Gabriele to thread, IIRC you have machine which uses > "supported keyboard light brightness levels" > Can you look at this bug, if your machine is affected by it too? My keyboard has two brightness levels + off. The value of max_brightness is 2, as expected. Gabriele Yes, my laptop uses "supported keyboard light brightness levels". > > Important parts in ouptput: > >> ... --info >> Supported Keyboard light brightness levels : 10 > >> ... --get-status >> Current keyboard light level : 9 > > Gabriel, can you play with this tool, which values can be set via > --set-level= parameter? Is 10 accepted? --get-status can be used to > check if value was accepted. > > On Thursday 14 September 2017 06:35:15 Gabriel M. Elder wrote: >> >> output from smbios-keyboard-ctl --info: >> >> Libsmbios version : 2.3.0 >> smbios-keyboard-ctl version : 2.3.0 >> >> Capabilities of KeyBoard Illumination on your system: >> ------------------------------------------------------------------- >> Supported USER Selectable Modes : >> Always OFF >> Auto: ALS- and input-activity-based On; input-activity based Off >> Auto: Input-activity-based On; input-activity based Off >> >> Supported Keyboard illumination type : Backlight >> >> Supports Keyboard illumination on : >> Any Keystroke >> Touchpad activity >> Pointing stick >> >> Can configure Keyboard illumination timeout unit in : >> Seconds >> Minutes >> Hours >> >> Supported Keyboard light brightness levels : 10 >> >> Maximum acceptable seconds timeout value : 255 >> >> Maximum acceptable minutes timeout value : 255 >> >> Maximum acceptable hours timeout value : 12 >> >> Maximum acceptable days timeout value : 0 >> >> >> output from smbios-keyboard-ctl --get-status: >> >> Helper function to print current status of keyboard illumination >> >> Current status of KeyBoard Illumination setting on your system: >> ------------------------------------------------------------------- >> >> Configured mode state: >> Auto: Input-activity-based On; input-activity based Off >> >> Your Keyboard will illumination on: >> Any Keystroke >> Touchpad activity >> Pointing stick >> >> Keyboard illumination timeout has bee set at: 10 Seconds >> >> Current setting of ALS value that turns the light on or off: 18 >> Current ALS Reading : 16 >> Current keyboard light level : 9 >> >> >> -------- Original Message -------- >> Subject: Re: keyboard backlight max_brightness bug on Dell Latitude >> E6410 >> From: Pali Rohár >> Date: Thu, September 14, 2017 3:06 am >> To: "Gabriel M. Elder" >> Cc: dvhart@infradead.org, andy@infradead.org, >> platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org >> >> On Monday 11 September 2017 23:25:27 Gabriel M. Elder wrote: >> > Hi all, >> > Hans de Goede, one of the upower maintainers, suggested I alert you all to this bug: >> > >> > https://bugs.freedesktop.org/show_bug.cgi?id=100041 >> > >> > and the new one I filed via the kernel bugzilla: >> > >> > https://bugzilla.kernel.org/show_bug.cgi?id=196913 >> > "keyboard backlight max_brightness value outside allowable range on Dell Latitude E6410 laptop" >> > >> > Please check it out at your earliest convenience. >> > >> > thanks, >> > - Gabriel >> >> Hi Gabriel, please avoid sending such html emails to mailing list as it >> is hard to read them and also you have a very big chance that email >> would be eaten by spam filter or other developers would completely >> ignore it... >> >> To debug your problem, can you run smbios-keyboard-ctl tool from the >> libsmbios project? https://github.com/dell/libsmbios >> >> We would need output from --info parameter and also from --get-status. >> > > -- > Pali Rohár > pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751557AbdINPZo (ORCPT ); Thu, 14 Sep 2017 11:25:44 -0400 Received: from mail-wr0-f175.google.com ([209.85.128.175]:53754 "EHLO mail-wr0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751365AbdINPZm (ORCPT ); Thu, 14 Sep 2017 11:25:42 -0400 X-Google-Smtp-Source: ADKCNb4J1BVs+R2Q/CjuXoxH/YvksiqZsP+McszElTSBYLYP0ex+14mGoW9T0o0ENxuS/6d2DFxnrQ== Date: Thu, 14 Sep 2017 17:25:38 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Gabriele Mazzotta , Mario Limonciello Cc: "Gabriel M. Elder" , Darren Hart , andy@infradead.org, "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 Message-ID: <20170914152538.GQ32278@pali> References: <20170914063515.669a95d04dbb6b53be537852cb8ecb8c.39d3e774b5.wbe@email22.secureserver.net> <20170914135420.GO32278@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 14 September 2017 16:33:57 Gabriele Mazzotta wrote: > 2017-09-14 15:54 GMT+02:00 Pali Rohár : > > Adding Gabriele to thread, IIRC you have machine which uses > > "supported keyboard light brightness levels" > > Can you look at this bug, if your machine is affected by it too? > > My keyboard has two brightness levels + off. The value of > max_brightness is 2, as expected. Ah :-( So you have "Supported Keyboard light brightness levels : 2" and you can se value 0, 1 or 2. And Gabriel has "Supported Keyboard light brightness levels : 10" and can set only values 0..9. But not 10. Any idea how to solve this situation? CCing Mario from Dell. Can you recheck what is wrong here? Or why Dell Latitude E6410 behaves differently? > Gabriele > > Yes, my laptop uses "supported keyboard light brightness levels". > > > > Important parts in ouptput: > > > >> ... --info > >> Supported Keyboard light brightness levels : 10 > > > >> ... --get-status > >> Current keyboard light level : 9 > > > > Gabriel, can you play with this tool, which values can be set via > > --set-level= parameter? Is 10 accepted? --get-status can be used to > > check if value was accepted. > > > > On Thursday 14 September 2017 06:35:15 Gabriel M. Elder wrote: > >> > >> output from smbios-keyboard-ctl --info: > >> > >> Libsmbios version : 2.3.0 > >> smbios-keyboard-ctl version : 2.3.0 > >> > >> Capabilities of KeyBoard Illumination on your system: > >> ------------------------------------------------------------------- > >> Supported USER Selectable Modes : > >> Always OFF > >> Auto: ALS- and input-activity-based On; input-activity based Off > >> Auto: Input-activity-based On; input-activity based Off > >> > >> Supported Keyboard illumination type : Backlight > >> > >> Supports Keyboard illumination on : > >> Any Keystroke > >> Touchpad activity > >> Pointing stick > >> > >> Can configure Keyboard illumination timeout unit in : > >> Seconds > >> Minutes > >> Hours > >> > >> Supported Keyboard light brightness levels : 10 > >> > >> Maximum acceptable seconds timeout value : 255 > >> > >> Maximum acceptable minutes timeout value : 255 > >> > >> Maximum acceptable hours timeout value : 12 > >> > >> Maximum acceptable days timeout value : 0 > >> > >> > >> output from smbios-keyboard-ctl --get-status: > >> > >> Helper function to print current status of keyboard illumination > >> > >> Current status of KeyBoard Illumination setting on your system: > >> ------------------------------------------------------------------- > >> > >> Configured mode state: > >> Auto: Input-activity-based On; input-activity based Off > >> > >> Your Keyboard will illumination on: > >> Any Keystroke > >> Touchpad activity > >> Pointing stick > >> > >> Keyboard illumination timeout has bee set at: 10 Seconds > >> > >> Current setting of ALS value that turns the light on or off: 18 > >> Current ALS Reading : 16 > >> Current keyboard light level : 9 > >> > >> > >> -------- Original Message -------- > >> Subject: Re: keyboard backlight max_brightness bug on Dell Latitude > >> E6410 > >> From: Pali Rohár > >> Date: Thu, September 14, 2017 3:06 am > >> To: "Gabriel M. Elder" > >> Cc: dvhart@infradead.org, andy@infradead.org, > >> platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org > >> > >> On Monday 11 September 2017 23:25:27 Gabriel M. Elder wrote: > >> > Hi all, > >> > Hans de Goede, one of the upower maintainers, suggested I alert you all to this bug: > >> > > >> > https://bugs.freedesktop.org/show_bug.cgi?id=100041 > >> > > >> > and the new one I filed via the kernel bugzilla: > >> > > >> > https://bugzilla.kernel.org/show_bug.cgi?id=196913 > >> > "keyboard backlight max_brightness value outside allowable range on Dell Latitude E6410 laptop" > >> > > >> > Please check it out at your earliest convenience. > >> > > >> > thanks, > >> > - Gabriel > >> > >> Hi Gabriel, please avoid sending such html emails to mailing list as it > >> is hard to read them and also you have a very big chance that email > >> would be eaten by spam filter or other developers would completely > >> ignore it... > >> > >> To debug your problem, can you run smbios-keyboard-ctl tool from the > >> libsmbios project? https://github.com/dell/libsmbios > >> > >> We would need output from --info parameter and also from --get-status. > >> > > > > -- > > Pali Rohár > > pali.rohar@gmail.com -- Pali Rohár pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752391AbdI2OI6 convert rfc822-to-8bit (ORCPT ); Fri, 29 Sep 2017 10:08:58 -0400 Received: from p3plsmtp22-03-2.prod.phx3.secureserver.net ([68.178.252.58]:51257 "EHLO p3plwbeout22-03.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752113AbdI2OIz (ORCPT ); Fri, 29 Sep 2017 10:08:55 -0400 X-SID: xvxod6TYx598z Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="utf-8" X-Originating-IP: 24.196.106.86 User-Agent: Workspace Webmail 6.8.14 Message-Id: <20170929070823.669a95d04dbb6b53be537852cb8ecb8c.0314fabe33.wbe@email22.secureserver.net> From: "Gabriel M. Elder" To: "Pali =?UTF-8?Q?Roh=C3=A1r?=" , "Gabriele Mazzotta" , "Mario Limonciello" Cc: "Darren Hart" , andy@infradead.org, "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: keyboard backlight =?UTF-8?Q?max=5Fbrightness=20bug=20on=20Dell=20Lat?= =?UTF-8?Q?itude=20E=36=34=31=30?= Date: Fri, 29 Sep 2017 07:08:23 -0700 Mime-Version: 1.0 X-CMAE-Envelope: MS4wfNsY9oEAyUHN+LgHMEGt71WU0JXLbQpGu3cNSBlaIbK363DoTKytIwYCAh9cNvL+ELKdub+daRfOAvTDxTwa4cmWg+/Q5GglT8GD9nRdRd4KJOZNt52G laIJpB65LIO8gQN3DmQr+3D9hTFfsXdFIe0SxJZA89Xn5SEcbY+UikKlifG+8qMFLxiS6AOPM386SXWMMElqBamlO+Lla7PzwpcMC3fwK6Yw7C2jut4A1IYz Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org FYI, latest update and info relating to https://bugzilla.kernel.org/show_bug.cgi?id=196913 --- a/drivers/platform/x86/dell-laptop.c +++ a/drivers/platform/x86/dell-laptop.c @@ -1217,7 +1217,7 @@ static int kbd_get_info(struct kbd_info *info) static unsigned int kbd_get_max_level(void) { if (kbd_info.levels != 0) - return kbd_info.levels; + return kbd_info.levels - 1; if (kbd_mode_levels_count > 0) return kbd_mode_levels_count - 1; return 0; Finally had a chance to make this mod, compile and try it out. Based on my testing, it seems to completely correct the problem. Upon initially opening the power panel in gnome-control-center, the keyboard brightness slider is all the way over to the right, where one would expect it to be, as well as all of the brightness step levels. Closing the lid, putting it to sleep and waking it back up does not have the annoying keyboard backlight disabling side-effect that I previously described. - Gabriel -------- Original Message -------- Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 From: Pali Rohár Date: Thu, September 14, 2017 10:25 am To: Gabriele Mazzotta , Mario Limonciello Cc: "Gabriel M. Elder" , Darren Hart , andy@infradead.org, "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" On Thursday 14 September 2017 16:33:57 Gabriele Mazzotta wrote: > 2017-09-14 15:54 GMT+02:00 Pali Rohár : > > Adding Gabriele to thread, IIRC you have machine which uses > > "supported keyboard light brightness levels" > > Can you look at this bug, if your machine is affected by it too? > > My keyboard has two brightness levels + off. The value of > max_brightness is 2, as expected. Ah :-( So you have "Supported Keyboard light brightness levels : 2" and you can se value 0, 1 or 2. And Gabriel has "Supported Keyboard light brightness levels : 10" and can set only values 0..9. But not 10. Any idea how to solve this situation? CCing Mario from Dell. Can you recheck what is wrong here? Or why Dell Latitude E6410 behaves differently? > Gabriele > > Yes, my laptop uses "supported keyboard light brightness levels". > > > > Important parts in ouptput: > > > >> ... --info > >> Supported Keyboard light brightness levels : 10 > > > >> ... --get-status > >> Current keyboard light level : 9 > > > > Gabriel, can you play with this tool, which values can be set via > > --set-level= parameter? Is 10 accepted? --get-status can be used to > > check if value was accepted. > > > > On Thursday 14 September 2017 06:35:15 Gabriel M. Elder wrote: > >> > >> output from smbios-keyboard-ctl --info: > >> > >> Libsmbios version : 2.3.0 > >> smbios-keyboard-ctl version : 2.3.0 > >> > >> Capabilities of KeyBoard Illumination on your system: > >> ------------------------------------------------------------------- > >> Supported USER Selectable Modes : > >> Always OFF > >> Auto: ALS- and input-activity-based On; input-activity based Off > >> Auto: Input-activity-based On; input-activity based Off > >> > >> Supported Keyboard illumination type : Backlight > >> > >> Supports Keyboard illumination on : > >> Any Keystroke > >> Touchpad activity > >> Pointing stick > >> > >> Can configure Keyboard illumination timeout unit in : > >> Seconds > >> Minutes > >> Hours > >> > >> Supported Keyboard light brightness levels : 10 > >> > >> Maximum acceptable seconds timeout value : 255 > >> > >> Maximum acceptable minutes timeout value : 255 > >> > >> Maximum acceptable hours timeout value : 12 > >> > >> Maximum acceptable days timeout value : 0 > >> > >> > >> output from smbios-keyboard-ctl --get-status: > >> > >> Helper function to print current status of keyboard illumination > >> > >> Current status of KeyBoard Illumination setting on your system: > >> ------------------------------------------------------------------- > >> > >> Configured mode state: > >> Auto: Input-activity-based On; input-activity based Off > >> > >> Your Keyboard will illumination on: > >> Any Keystroke > >> Touchpad activity > >> Pointing stick > >> > >> Keyboard illumination timeout has bee set at: 10 Seconds > >> > >> Current setting of ALS value that turns the light on or off: 18 > >> Current ALS Reading : 16 > >> Current keyboard light level : 9 > >> > >> > >> -------- Original Message -------- > >> Subject: Re: keyboard backlight max_brightness bug on Dell Latitude > >> E6410 > >> From: Pali Rohár > >> Date: Thu, September 14, 2017 3:06 am > >> To: "Gabriel M. Elder" > >> Cc: dvhart@infradead.org, andy@infradead.org, > >> platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org > >> > >> On Monday 11 September 2017 23:25:27 Gabriel M. Elder wrote: > >> > Hi all, > >> > Hans de Goede, one of the upower maintainers, suggested I alert you all to this bug: > >> > > >> > https://bugs.freedesktop.org/show_bug.cgi?id=100041 > >> > > >> > and the new one I filed via the kernel bugzilla: > >> > > >> > https://bugzilla.kernel.org/show_bug.cgi?id=196913 > >> > "keyboard backlight max_brightness value outside allowable range on Dell Latitude E6410 laptop" > >> > > >> > Please check it out at your earliest convenience. > >> > > >> > thanks, > >> > - Gabriel > >> > >> Hi Gabriel, please avoid sending such html emails to mailing list as it > >> is hard to read them and also you have a very big chance that email > >> would be eaten by spam filter or other developers would completely > >> ignore it... > >> > >> To debug your problem, can you run smbios-keyboard-ctl tool from the > >> libsmbios project? https://github.com/dell/libsmbios > >> > >> We would need output from --info parameter and also from --get-status. > >> > > > > -- > > Pali Rohár > > pali.rohar@gmail.com -- Pali Rohár pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752131AbdI2OLb (ORCPT ); Fri, 29 Sep 2017 10:11:31 -0400 Received: from mail-wr0-f173.google.com ([209.85.128.173]:52714 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751224AbdI2OL3 (ORCPT ); Fri, 29 Sep 2017 10:11:29 -0400 X-Google-Smtp-Source: AOwi7QDG0vtPrtZSkQA+zYLA30Ge4tDn8/uAwU/s3Tlzbbt4+VtAUdPRlAh2wCyjLYIjJMhCWiP8bw== Date: Fri, 29 Sep 2017 16:11:25 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: "Gabriel M. Elder" Cc: Gabriele Mazzotta , Mario Limonciello , Darren Hart , andy@infradead.org, "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 Message-ID: <20170929141125.GO13546@pali> References: <20170929070823.669a95d04dbb6b53be537852cb8ecb8c.0314fabe33.wbe@email22.secureserver.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170929070823.669a95d04dbb6b53be537852cb8ecb8c.0314fabe33.wbe@email22.secureserver.net> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yes, that would fix problem for you and break other machines... On Friday 29 September 2017 07:08:23 Gabriel M. Elder wrote: > FYI, latest update and info relating to > https://bugzilla.kernel.org/show_bug.cgi?id=196913 > > > --- a/drivers/platform/x86/dell-laptop.c > +++ a/drivers/platform/x86/dell-laptop.c > @@ -1217,7 +1217,7 @@ static int kbd_get_info(struct kbd_info *info) > static unsigned int kbd_get_max_level(void) > { > if (kbd_info.levels != 0) > - return kbd_info.levels; > + return kbd_info.levels - 1; > if (kbd_mode_levels_count > 0) > return kbd_mode_levels_count - 1; > return 0; > > > Finally had a chance to make this mod, compile and try it out. Based on > my testing, it seems to completely correct the problem. > > Upon initially opening the power panel in gnome-control-center, the > keyboard brightness slider is all the way over to the right, where one > would expect it to be, as well as all of the brightness step levels. > Closing the lid, putting it to sleep and waking it back up does not have > the annoying keyboard backlight disabling side-effect that I previously > described. > > - Gabriel > > > -------- Original Message -------- > Subject: Re: keyboard backlight max_brightness bug on Dell Latitude > E6410 > From: Pali Rohár > Date: Thu, September 14, 2017 10:25 am > To: Gabriele Mazzotta , Mario Limonciello > > Cc: "Gabriel M. Elder" , Darren Hart > , andy@infradead.org, > "platform-driver-x86@vger.kernel.org" > , "linux-kernel@vger.kernel.org" > > > On Thursday 14 September 2017 16:33:57 Gabriele Mazzotta wrote: > > 2017-09-14 15:54 GMT+02:00 Pali Rohár : > > > Adding Gabriele to thread, IIRC you have machine which uses > > > "supported keyboard light brightness levels" > > > Can you look at this bug, if your machine is affected by it too? > > > > My keyboard has two brightness levels + off. The value of > > max_brightness is 2, as expected. > > Ah :-( > > So you have "Supported Keyboard light brightness levels : 2" and you > can se value 0, 1 or 2. > > And Gabriel has "Supported Keyboard light brightness levels : 10" and > can set only values 0..9. But not 10. > > Any idea how to solve this situation? > > CCing Mario from Dell. Can you recheck what is wrong here? Or why > Dell Latitude E6410 behaves differently? > > > Gabriele > > > > Yes, my laptop uses "supported keyboard light brightness levels". > > > > > > Important parts in ouptput: > > > > > >> ... --info > > >> Supported Keyboard light brightness levels : 10 > > > > > >> ... --get-status > > >> Current keyboard light level : 9 > > > > > > Gabriel, can you play with this tool, which values can be set via > > > --set-level= parameter? Is 10 accepted? --get-status can be used to > > > check if value was accepted. > > > > > > On Thursday 14 September 2017 06:35:15 Gabriel M. Elder wrote: > > >> > > >> output from smbios-keyboard-ctl --info: > > >> > > >> Libsmbios version : 2.3.0 > > >> smbios-keyboard-ctl version : 2.3.0 > > >> > > >> Capabilities of KeyBoard Illumination on your system: > > >> ------------------------------------------------------------------- > > >> Supported USER Selectable Modes : > > >> Always OFF > > >> Auto: ALS- and input-activity-based On; input-activity based Off > > >> Auto: Input-activity-based On; input-activity based Off > > >> > > >> Supported Keyboard illumination type : Backlight > > >> > > >> Supports Keyboard illumination on : > > >> Any Keystroke > > >> Touchpad activity > > >> Pointing stick > > >> > > >> Can configure Keyboard illumination timeout unit in : > > >> Seconds > > >> Minutes > > >> Hours > > >> > > >> Supported Keyboard light brightness levels : 10 > > >> > > >> Maximum acceptable seconds timeout value : 255 > > >> > > >> Maximum acceptable minutes timeout value : 255 > > >> > > >> Maximum acceptable hours timeout value : 12 > > >> > > >> Maximum acceptable days timeout value : 0 > > >> > > >> > > >> output from smbios-keyboard-ctl --get-status: > > >> > > >> Helper function to print current status of keyboard illumination > > >> > > >> Current status of KeyBoard Illumination setting on your system: > > >> ------------------------------------------------------------------- > > >> > > >> Configured mode state: > > >> Auto: Input-activity-based On; input-activity based Off > > >> > > >> Your Keyboard will illumination on: > > >> Any Keystroke > > >> Touchpad activity > > >> Pointing stick > > >> > > >> Keyboard illumination timeout has bee set at: 10 Seconds > > >> > > >> Current setting of ALS value that turns the light on or off: 18 > > >> Current ALS Reading : 16 > > >> Current keyboard light level : 9 > > >> > > >> > > >> -------- Original Message -------- > > >> Subject: Re: keyboard backlight max_brightness bug on Dell Latitude > > >> E6410 > > >> From: Pali Rohár > > >> Date: Thu, September 14, 2017 3:06 am > > >> To: "Gabriel M. Elder" > > >> Cc: dvhart@infradead.org, andy@infradead.org, > > >> platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org > > >> > > >> On Monday 11 September 2017 23:25:27 Gabriel M. Elder wrote: > > >> > Hi all, > > >> > Hans de Goede, one of the upower maintainers, suggested I alert you all to this bug: > > >> > > > >> > https://bugs.freedesktop.org/show_bug.cgi?id=100041 > > >> > > > >> > and the new one I filed via the kernel bugzilla: > > >> > > > >> > https://bugzilla.kernel.org/show_bug.cgi?id=196913 > > >> > "keyboard backlight max_brightness value outside allowable range on Dell Latitude E6410 laptop" > > >> > > > >> > Please check it out at your earliest convenience. > > >> > > > >> > thanks, > > >> > - Gabriel > > >> > > >> Hi Gabriel, please avoid sending such html emails to mailing list as it > > >> is hard to read them and also you have a very big chance that email > > >> would be eaten by spam filter or other developers would completely > > >> ignore it... > > >> > > >> To debug your problem, can you run smbios-keyboard-ctl tool from the > > >> libsmbios project? https://github.com/dell/libsmbios > > >> > > >> We would need output from --info parameter and also from --get-status. > > >> > > > > > > -- > > > Pali Rohár > > > pali.rohar@gmail.com > -- Pali Rohár pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752545AbdI2PUC (ORCPT ); Fri, 29 Sep 2017 11:20:02 -0400 Received: from mail-qk0-f180.google.com ([209.85.220.180]:46319 "EHLO mail-qk0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752242AbdI2PUA (ORCPT ); Fri, 29 Sep 2017 11:20:00 -0400 X-Google-Smtp-Source: AOwi7QBiovBpgtx/lZt4C8Vgq+nlY5oas7LNzEtOz4Bilt5zOye70s5Nhfoqsy1ykKcH6Udar3YlCJGZGLpnABnbdWs= MIME-Version: 1.0 In-Reply-To: <20170929141125.GO13546@pali> References: <20170929070823.669a95d04dbb6b53be537852cb8ecb8c.0314fabe33.wbe@email22.secureserver.net> <20170929141125.GO13546@pali> From: Andy Shevchenko Date: Fri, 29 Sep 2017 18:19:59 +0300 Message-ID: Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: "Gabriel M. Elder" , Gabriele Mazzotta , Mario Limonciello , Darren Hart , Andy Shevchenko , "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v8TFLA6A029120 On Fri, Sep 29, 2017 at 5:11 PM, Pali Rohár wrote: > Yes, that would fix problem for you and break other machines... I dunno what happened to you guys to use top-posting... >> FYI, latest update and info relating to >> https://bugzilla.kernel.org/show_bug.cgi?id=196913 Quick solution is to apply DMI to that. -- With Best Regards, Andy Shevchenko From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751430AbdJBLwv (ORCPT ); Mon, 2 Oct 2017 07:52:51 -0400 Received: from mail-wr0-f173.google.com ([209.85.128.173]:51511 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750788AbdJBLwt (ORCPT ); Mon, 2 Oct 2017 07:52:49 -0400 X-Google-Smtp-Source: AOwi7QCWYef7Bt3Ti8U3G1z4z3p8oLtELngwZeyJJoZhSUis3XYJtujjpIkc4lA8zJt1bpsomh64jQ== Date: Mon, 2 Oct 2017 13:52:47 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Andy Shevchenko Cc: "Gabriel M. Elder" , Gabriele Mazzotta , Mario Limonciello , Darren Hart , Andy Shevchenko , "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 Message-ID: <20171002115247.GB10938@pali> References: <20170929070823.669a95d04dbb6b53be537852cb8ecb8c.0314fabe33.wbe@email22.secureserver.net> <20170929141125.GO13546@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 29 September 2017 18:19:59 Andy Shevchenko wrote: > >> FYI, latest update and info relating to > >> https://bugzilla.kernel.org/show_bug.cgi?id=196913 > > Quick solution is to apply DMI to that. It is only the Dell Latitude E6410 affected? Mario, do you have any information about that API from Dell? -- Pali Rohár pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751318AbdJBNGu (ORCPT ); Mon, 2 Oct 2017 09:06:50 -0400 Received: from esa4.dell-outbound.iphmx.com ([68.232.149.214]:8391 "EHLO esa4.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbdJBNGs (ORCPT ); Mon, 2 Oct 2017 09:06:48 -0400 From: X-LoopCount0: from 10.166.132.195 X-IronPort-AV: E=Sophos;i="5.42,469,1500958800"; d="scan'208";a="1039106341" X-DLP: DLP_GlobalPCIDSS To: , CC: , , , , , Subject: RE: keyboard backlight max_brightness bug on Dell Latitude E6410 Thread-Topic: keyboard backlight max_brightness bug on Dell Latitude E6410 Thread-Index: AQHTOSzbTpiCJcsXHU+yuepgR1pf/6LMTkuAgAR9GoD//8BMgA== Date: Mon, 2 Oct 2017 13:06:46 +0000 Message-ID: <85b11afa464948a1abcede55b7f66a25@ausx13mpc120.AMER.DELL.COM> References: <20170929070823.669a95d04dbb6b53be537852cb8ecb8c.0314fabe33.wbe@email22.secureserver.net> <20170929141125.GO13546@pali> <20171002115247.GB10938@pali> In-Reply-To: <20171002115247.GB10938@pali> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.143.242.75] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id v92D6sn6018360 > -----Original Message----- > From: Pali Rohár [mailto:pali.rohar@gmail.com] > Sent: Monday, October 2, 2017 6:53 AM > To: Andy Shevchenko > Cc: Gabriel M. Elder ; Gabriele Mazzotta > ; Limonciello, Mario ; > Darren Hart ; Andy Shevchenko ; > platform-driver-x86@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 > > On Friday 29 September 2017 18:19:59 Andy Shevchenko wrote: > > >> FYI, latest update and info relating to > > >> https://bugzilla.kernel.org/show_bug.cgi?id=196913 > > > > Quick solution is to apply DMI to that. > > It is only the Dell Latitude E6410 affected? > > Mario, do you have any information about that API from Dell? > > -- > Pali Rohár > pali.rohar@gmail.com Pali, I believe this particular API shouldn't have changed over generations, so it's likely something that needs to be quirked for that generation. I haven't had a chance to check on this yet in detail though. For now could you guys quirk this one and if I find out there was something more systemic we can undo the quirk and do something more broad. Thanks, From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751241AbdJBNPp (ORCPT ); Mon, 2 Oct 2017 09:15:45 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:49084 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751065AbdJBNPn (ORCPT ); Mon, 2 Oct 2017 09:15:43 -0400 X-Google-Smtp-Source: AOwi7QDCRKafPho6hh7n1J8MfyLHqmilWQr+uegGicbe4EDjgoBgRILYt6VZq+FBzgZVwOqXD0HdAA== Date: Mon, 2 Oct 2017 15:15:40 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: gabriel@tekgnowsys.com Cc: andy.shevchenko@gmail.com, gabriel@tekgnowsys.com, gabriele.mzt@gmail.com, dvhart@infradead.org, andy@infradead.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Mario.Limonciello@dell.com Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 Message-ID: <20171002131540.GE10938@pali> References: <20170929070823.669a95d04dbb6b53be537852cb8ecb8c.0314fabe33.wbe@email22.secureserver.net> <20170929141125.GO13546@pali> <20171002115247.GB10938@pali> <85b11afa464948a1abcede55b7f66a25@ausx13mpc120.AMER.DELL.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <85b11afa464948a1abcede55b7f66a25@ausx13mpc120.AMER.DELL.COM> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 02 October 2017 13:06:46 Mario.Limonciello@dell.com wrote: > > -----Original Message----- > > From: Pali Rohár [mailto:pali.rohar@gmail.com] > > Sent: Monday, October 2, 2017 6:53 AM > > To: Andy Shevchenko > > Cc: Gabriel M. Elder ; Gabriele Mazzotta > > ; Limonciello, Mario ; > > Darren Hart ; Andy Shevchenko ; > > platform-driver-x86@vger.kernel.org; linux-kernel@vger.kernel.org > > Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 > > > > On Friday 29 September 2017 18:19:59 Andy Shevchenko wrote: > > > >> FYI, latest update and info relating to > > > >> https://bugzilla.kernel.org/show_bug.cgi?id=196913 > > > > > > Quick solution is to apply DMI to that. > > > > It is only the Dell Latitude E6410 affected? > > > > Mario, do you have any information about that API from Dell? > > > > -- > > Pali Rohár > > pali.rohar@gmail.com > > Pali, > > I believe this particular API shouldn't have changed over generations, so it's > likely something that needs to be quirked for that generation. > I haven't had a chance to check on this yet in detail though. > For now could you guys quirk this one and if I find out there was something > more systemic we can undo the quirk and do something more broad. > > Thanks, Ok! Gabriel, can you provide us your DMI information about your machine? They are included in following files: /sys/class/dmi/id/sys_vendor /sys/class/dmi/id/product_name Beware that they may contain whitespace characters and it is important. -- Pali Rohár pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751174AbdJBNRd (ORCPT ); Mon, 2 Oct 2017 09:17:33 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:34698 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbdJBNRc (ORCPT ); Mon, 2 Oct 2017 09:17:32 -0400 X-Google-Smtp-Source: AOwi7QDSGlFh8TOKaqPkFVWLLP6Ue/thd64k8QflUEkfJ/jnQGmlL8MXbWoJCoMfhVNu8UtFCZa/u25lAuhS9UyITLo= MIME-Version: 1.0 In-Reply-To: <20171002131540.GE10938@pali> References: <20170929070823.669a95d04dbb6b53be537852cb8ecb8c.0314fabe33.wbe@email22.secureserver.net> <20170929141125.GO13546@pali> <20171002115247.GB10938@pali> <85b11afa464948a1abcede55b7f66a25@ausx13mpc120.AMER.DELL.COM> <20171002131540.GE10938@pali> From: Andy Shevchenko Date: Mon, 2 Oct 2017 16:17:31 +0300 Message-ID: Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: "Gabriel M. Elder" , Gabriele Mazzotta , "dvhart@infradead.org" , Andy Shevchenko , Platform Driver , "linux-kernel@vger.kernel.org" , Mario Limonciello Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v92DHdHx018443 On Mon, Oct 2, 2017 at 4:15 PM, Pali Rohár wrote: > On Monday 02 October 2017 13:06:46 Mario.Limonciello@dell.com wrote: > Ok! Gabriel, can you provide us your DMI information about your machine? > > They are included in following files: > /sys/class/dmi/id/sys_vendor > /sys/class/dmi/id/product_name > > Beware that they may contain whitespace characters and it is important. I would usually suggest to run dmidecode and attach an output somewhere. (Just my 2 cents :-) ) -- With Best Regards, Andy Shevchenko From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751442AbdJBTKg convert rfc822-to-8bit (ORCPT ); Mon, 2 Oct 2017 15:10:36 -0400 Received: from p3plsmtp22-06-2.prod.phx3.secureserver.net ([68.178.252.64]:41188 "EHLO p3plsmtp22-06.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751354AbdJBTKe (ORCPT ); Mon, 2 Oct 2017 15:10:34 -0400 X-SID: z66NdGyWwR1gN Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="utf-8" X-Originating-IP: 24.196.106.86 User-Agent: Workspace Webmail 6.8.14 Message-Id: <20171002121000.669a95d04dbb6b53be537852cb8ecb8c.7af7edfd14.wbe@email22.secureserver.net> From: "Gabriel M. Elder" To: "Pali =?UTF-8?Q?Roh=C3=A1r?=" Cc: andy.shevchenko@gmail.com, gabriele.mzt@gmail.com, dvhart@infradead.org, andy@infradead.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Mario.Limonciello@dell.com Subject: RE: keyboard backlight =?UTF-8?Q?max=5Fbrightness=20bug=20on=20Dell=20Lat?= =?UTF-8?Q?itude=20E=36=34=31=30?= Date: Mon, 02 Oct 2017 12:10:01 -0700 Mime-Version: 1.0 X-CMAE-Envelope: MS4wfF2QP7EmVCW/LIBspp4YfdIcXnSDyqEq2tFzmFZDR3tSjmLVqdu4WhgFRZCPVDYv+FcTlZi+VYv2E6yObgS7xEUxrJzo3GWQrDvvRUUVAmqVlYTrS8oB tosP9Y4p7kScHKKWib1+P5Py5S7YvRK4PT1p4Z2ZV3bo2b2Hb+laAKJbALh5tvT7rPG5uO2WiOVR4x9w8PcYGeYfh3IBGvctioGc7LU/dYq9xAcysbXLyQB2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org -------- Original Message -------- Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 From: Pali Rohár Date: Mon, October 02, 2017 8:15 am To: gabriel@tekgnowsys.com Cc: andy.shevchenko@gmail.com, gabriel@tekgnowsys.com, gabriele.mzt@gmail.com, dvhart@infradead.org, andy@infradead.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Mario.Limonciello@dell.com On Monday 02 October 2017 13:06:46 Mario.Limonciello@dell.com wrote: > > -----Original Message----- > > From: Pali Rohár [mailto:pali.rohar@gmail.com] > > Sent: Monday, October 2, 2017 6:53 AM > > To: Andy Shevchenko > > Cc: Gabriel M. Elder ; Gabriele Mazzotta > > ; Limonciello, Mario ; > > Darren Hart ; Andy Shevchenko ; > > platform-driver-x86@vger.kernel.org; linux-kernel@vger.kernel.org > > Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 > > > > On Friday 29 September 2017 18:19:59 Andy Shevchenko wrote: > > > >> FYI, latest update and info relating to > > > >> https://bugzilla.kernel.org/show_bug.cgi?id=196913 > > > > > > Quick solution is to apply DMI to that. > > > > It is only the Dell Latitude E6410 affected? > > > > Mario, do you have any information about that API from Dell? > > > > -- > > Pali Rohár > > pali.rohar@gmail.com > > Pali, > > I believe this particular API shouldn't have changed over generations, so it's > likely something that needs to be quirked for that generation. > I haven't had a chance to check on this yet in detail though. > For now could you guys quirk this one and if I find out there was something > more systemic we can undo the quirk and do something more broad. > > Thanks, Ok! Gabriel, can you provide us your DMI information about your machine? They are included in following files: /sys/class/dmi/id/sys_vendor /sys/class/dmi/id/product_name Beware that they may contain whitespace characters and it is important. -- Pali Rohár pali.rohar@gmail.com ------------------------------------------------------------------------------- # cat -v /sys/class/dmi/id/sys_vendor Dell Inc. # cat -v /sys/class/dmi/id/product_name Latitude E6410 # cat -v /sys/class/dmi/id/sys_vendor | hexdump 0000000 6544 6c6c 4920 636e 0a2e 000000a # cat -v /sys/class/dmi/id/product_name | hexdump 0000000 614c 6974 7574 6564 4520 3436 3031 000a 000000f Also updated https://bugzilla.kernel.org/show_bug.cgi?id=196913 with this info - Gabriel ------------------------------------------------------------------------------- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753727AbdJNNua (ORCPT ); Sat, 14 Oct 2017 09:50:30 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:57138 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753026AbdJNNu2 (ORCPT ); Sat, 14 Oct 2017 09:50:28 -0400 X-Google-Smtp-Source: ABhQp+QxDZyEozq7kTKdJYQ/Z6WGmHlok/a6VWG8dxRM0SPhwXlyhN0voGMDI83rl0+qjjNHxpH4nsgWZlVlNPfAdXM= MIME-Version: 1.0 In-Reply-To: <20170914152538.GQ32278@pali> References: <20170914063515.669a95d04dbb6b53be537852cb8ecb8c.39d3e774b5.wbe@email22.secureserver.net> <20170914135420.GO32278@pali> <20170914152538.GQ32278@pali> From: Andy Shevchenko Date: Sat, 14 Oct 2017 16:50:27 +0300 Message-ID: Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Gabriele Mazzotta , Mario Limonciello , "Gabriel M. Elder" , Darren Hart , Andy Shevchenko , "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v9EDoafp000682 On Thu, Sep 14, 2017 at 6:25 PM, Pali Rohár wrote: > On Thursday 14 September 2017 16:33:57 Gabriele Mazzotta wrote: >> 2017-09-14 15:54 GMT+02:00 Pali Rohár : >> > Adding Gabriele to thread, IIRC you have machine which uses >> > "supported keyboard light brightness levels" >> > Can you look at this bug, if your machine is affected by it too? >> >> My keyboard has two brightness levels + off. The value of >> max_brightness is 2, as expected. > > Ah :-( > > So you have "Supported Keyboard light brightness levels : 2" and you > can se value 0, 1 or 2. > > And Gabriel has "Supported Keyboard light brightness levels : 10" and > can set only values 0..9. But not 10. > > Any idea how to solve this situation? > > CCing Mario from Dell. Can you recheck what is wrong here? Or why > Dell Latitude E6410 behaves differently? To be clear, am I waiting for new version? In any case I mark it as Changes Requested in my patchwork queue. Feel free to send a new version. -- With Best Regards, Andy Shevchenko From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753885AbdJNPY7 (ORCPT ); Sat, 14 Oct 2017 11:24:59 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:56611 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753666AbdJNPY5 (ORCPT ); Sat, 14 Oct 2017 11:24:57 -0400 X-Google-Smtp-Source: ABhQp+QjBBJRvhZ5ffwVcqMtPx8Yyo6BKWX6z0/i1gpe8vFQeletqlRMEWD8mBGdaaFBjf9utPNm/w== Date: Sat, 14 Oct 2017 17:24:52 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Andy Shevchenko Cc: Gabriele Mazzotta , Mario Limonciello , "Gabriel M. Elder" , Darren Hart , Andy Shevchenko , "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: keyboard backlight max_brightness bug on Dell Latitude E6410 Message-ID: <20171014152452.de52udwez6bezyw4@pali> References: <20170914063515.669a95d04dbb6b53be537852cb8ecb8c.39d3e774b5.wbe@email22.secureserver.net> <20170914135420.GO32278@pali> <20170914152538.GQ32278@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 14 October 2017 16:50:27 Andy Shevchenko wrote: > To be clear, am I waiting for new version? > > In any case I mark it as Changes Requested in my patchwork queue. > > Feel free to send a new version. > Hi, I would prepare a new version based on DMI system check. -- Pali Rohár pali.rohar@gmail.com