All of lore.kernel.org
 help / color / mirror / Atom feed
* dell-laptop and separate AC timeouts on some Dell systems
@ 2017-04-07 19:33 Mario.Limonciello
  2017-04-07 21:55 ` Pali Rohár
  0 siblings, 1 reply; 6+ messages in thread
From: Mario.Limonciello @ 2017-04-07 19:33 UTC (permalink / raw)
  To: pali.rohar; +Cc: platform-driver-x86

Pali,

For some time there have been folks reporting some issues where keyboard backlight setting is failing on various Dell systems (https://github.com/dell/libsmbios/issues/3).  I've been circling around internally to find out what's going on.
This affects a number of systems from the last year or so.

What is happening is that some platforms support an alternate keyboard timeout while on AC.  The old "timeout" value is treated as just a battery timeout and the separate value is the AC timeout.
Unfortunately if the AC timeout is /not/ set in the timeout setting/update request, this will fail.

As a result I prototyped a few changes for this at the libsmbios branch here: https://github.com/dell/libsmbios/commits/fix-g8-keyboard-backlight
It's not yet requested for merging because I still don't know why the request to supported features returns "Always On" still (that shouldn't be supported).

As far as I can tell this doesn't really map well to how the keyboard backlight driver in the kernel works today, so I wanted to raise this to you to discuss what the best way to handle it is.
One of these systems can be detected by the presence of the token 0x451.  When that is found, the additional timeout unit and value should be sent with the requests.

Can you let me know your thoughts?

Thanks,

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-08  7:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-07 19:33 dell-laptop and separate AC timeouts on some Dell systems Mario.Limonciello
2017-04-07 21:55 ` Pali Rohár
2017-04-07 22:56   ` Mario.Limonciello
2017-04-07 23:22     ` Pali Rohár
2017-04-08  2:09       ` Mario.Limonciello
2017-04-08  7:19         ` Pali Rohár

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.