Commit graph

23 commits

Author SHA1 Message Date
Christoffer Sandberg 5ff4174be9
Add XP gen 11 & 12 to perf. profile workaround 2021-04-23 18:30:04 +02:00
Christoffer Sandberg d7304b3170
Add EDUBOOK1502 to perf. profile workaround 2021-04-23 11:46:28 +02:00
Christoffer Sandberg bea182ed6d
Clean-up cl driver state init
- Ensure keyb bl state is initialized from params
- Unify state writing (directly from state struct)
- Use same state write on resume
- Don't attempt to init twice if already initialized (should prevent
  some double writing and make debugging easier)
2021-04-19 14:39:06 +02:00
Christoffer Sandberg 6e65f2ea97
Add NS50MU to perf. profile workaround
Implements #44
2021-04-06 12:59:56 +02:00
Christoffer Sandberg 67fb677d88
clevo_keyboard: Add mutex to interface operations 2021-03-19 16:34:34 +01:00
Christoffer Sandberg e53d4870ea
Add standard Aura (now new) board name to perf. profile workaround
- Convert remaining matches to string in for robustness
  (with occational space padding)
- Add missing device comment
2021-03-17 13:58:07 +01:00
Christoffer Sandberg afae768fda
Add IBS14v5 to perf. profile workaround 2021-03-17 13:49:10 +01:00
Christoffer Sandberg 1e96de2c56
Add XP14 to perf. profile workaround 2021-03-05 13:27:55 +01:00
Christoffer Sandberg e38fe87fad
Aura perf. profile workaround
Explicitly sets the performance profile for Aura on keyboard init.
This has the effect of setting the state (previously not done by
firmware) to the relevant ACPI object. After this it should
restore the performance profile correctly on its own on power supply
change.
2021-01-29 14:34:49 +01:00
Christoffer Sandberg 1beae3c5a9
Update license headers with outdated address 2020-12-09 13:20:42 +01:00
Christoffer Sandberg 4aa71e4ef0
clevo_keyboard: Remove non-error "error" output 2020-12-08 10:25:06 +01:00
Christoffer Sandberg bea8621bdb
clevo_interfaces: Export method and ID interface 2020-12-07 12:19:36 +01:00
Christoffer Sandberg 6e3ce9ca6a
clevo_keyboard: Remove/refactor leftover wmi references 2020-12-04 15:20:55 +01:00
Christoffer Sandberg 14c37444e6
clevo_interfaces: Change event handling & use separate wmi module 2020-12-04 13:16:49 +01:00
Christoffer Sandberg 2c7eb248b1
clevo_interfaces: debug modifications & clarifications 2020-12-03 12:10:07 +01:00
Christoffer Sandberg 459a16de00
clevo_interfaces: remove/clean up headers 2020-12-03 10:15:38 +01:00
Christoffer Sandberg 6f14b22b33
clevo_keyboard: Basic modularization to allow for multiple interfaces
Basic working implementation, WIP

- Modularize clevo_keyboard, allowing interfaces to "register" themselves
- Add clevo_acpi interface to clevo_keyboard
- Prefer acpi interface
- Fixed some previously still coupled features on uniwill_keyboard side
to allow for the structure change
2020-12-02 17:32:09 +01:00
Christoffer Sandberg f90c513aad
Move brightness parameter in preparation for common use 2020-07-28 11:32:43 +02:00
Christoffer Sandberg 5f2db68a9b
Move static color definitions for use by multiple drivers 2020-07-27 11:36:49 +02:00
Christoffer Sandberg e74a3404a7
Add additional id check to existing driver 2020-05-29 13:19:28 +02:00
Christoffer Sandberg da7534772a
Additional decoupling 2020-05-29 11:41:05 +02:00
Christoffer Sandberg 955c683971
Further modularize drivers incl. probe/remove 2020-05-28 18:40:20 +02:00
Christoffer Sandberg 27841a685d
Split code for modularizing 2020-05-27 17:08:40 +02:00