Commit graph

220 commits

Author SHA1 Message Date
Werner Sembach ea23edca26 Use universal header guard 2021-02-18 20:18:05 +01:00
Werner Sembach 1b58247daf Use default values found elsewhere in the ec memory insted of hardcoded values 2021-02-16 16:50:44 +01:00
Werner Sembach 2d33628610 Proof of concept initialization of manual-mode fan-curve 2021-02-15 22:01:13 +01:00
Christoffer Sandberg 4296f75372
Update version to 3.0.2
- Update changelog
- Update tuxedo_keyboard to 3.0.2
- Update clevo_wmi to 0.0.2
- Update clevo_acpi to 0.0.2
2021-01-29 14:47:50 +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 7ad2c50d1f
Fix clevo keyboard init order 2021-01-29 14:34:23 +01:00
Christoffer Sandberg 4f763e9e74
Update version to 3.0.1
- tuxedo_io to 0.2.1
- changelogs
2020-12-21 17:33:50 +01:00
Christoffer Sandberg cb4bf91341
Deactivate method debug print cluttering 2020-12-21 17:18:57 +01:00
Christoffer Sandberg 5cfe11a29c
Merge branch 'trinity-support' 2020-12-21 17:17:31 +01:00
Christoffer Sandberg 1611244de9
tuxedo_io: Attempt workaround to reduce uw fan ramp-up 2020-12-21 17:12:21 +01:00
Christoffer Sandberg e61ea200a3
uw_keyboard: Map space brightness to kbd brightness toggle
Implements #34

Affects Trinity devices
2020-12-21 11:08:33 +01:00
Christoffer Sandberg b209a5b082
uw_keyboard: Add trinity IDs for lightbar ctrl
Implements #33
2020-12-21 11:04:55 +01:00
Christoffer Sandberg c25363c133
Update version to 3.0.0
- Update changelog
- Fix rpm spec tuxedo_io folder permission
2020-12-09 15:34:08 +01:00
Christoffer Sandberg 1beae3c5a9
Update license headers with outdated address 2020-12-09 13:20:42 +01:00
Christoffer Sandberg 39cc829a22
Update readme general description 2020-12-09 12:56:19 +01:00
Christoffer Sandberg 912c0ca109 Adjust some old references 2020-12-09 12:42:29 +01:00
Christoffer Sandberg 7cb2ccc59d
Merge branch 'cl-new-interface'
Implements #32
2020-12-09 11:39:02 +01:00
Christoffer Sandberg 4bbc290a8d
tuxedo_io: Convert ioctl spaces to tabs for consistency 2020-12-08 15:54:51 +01:00
Christoffer Sandberg 2c32684ee8
tuxedo_io: Prefix the clevo ioctls with CL for clarity 2020-12-08 15:50:25 +01:00
Christoffer Sandberg 51741558ed
tuxedo_io: Add clevo interface string read ioctl 2020-12-08 15:48:18 +01:00
Christoffer Sandberg 95a8097b0f
clevo_interfaces: Minor text clean-ups 2020-12-08 11:46:13 +01:00
Christoffer Sandberg 423e515121
Increase module versions 2020-12-08 10:51:45 +01:00
Christoffer Sandberg 3100646b69
packaging: Fix: explicitly unload old tuxedo_cc_wmi at rpm install 2020-12-08 10:46:11 +01:00
Christoffer Sandberg 4aa71e4ef0
clevo_keyboard: Remove non-error "error" output 2020-12-08 10:25:06 +01:00
Christoffer Sandberg 15cb908351
tuxedo_io: Fix build, remove leftover dummy variable 2020-12-08 09:30:27 +01:00
Christoffer Sandberg a8230d47f6
packaging: Add module restart/install logic
- For clevo interfaces
- For tuxedo_io from tuxedo_cc_wmi
2020-12-07 16:58:05 +01:00
Christoffer Sandberg 596212e17a
tuxedo_io: include tuxedo_cc_wmi as tuxedo_io
- Clevo part now using exported interface from clevo_interfaces
- Uniwill part still works as previously
- Additional module alias for ACPI interface needed and added
2020-12-07 16:57:32 +01:00
Christoffer Sandberg 597902a808
clevo_interfaces: Move module alias defines 2020-12-07 16:39:01 +01:00
Christoffer Sandberg bea8621bdb
clevo_interfaces: Export method and ID interface 2020-12-07 12:19:36 +01:00
Christoffer Sandberg 1f8b5a66b3
clevo_interfaces: Move resource ID defs 2020-12-07 11:00:24 +01:00
Christoffer Sandberg 8667006c4a
clevo_interfaces: Add clevo cmd defines
- Fix incl. guard "typo"
2020-12-07 10:01:18 +01:00
Christoffer Sandberg b484e47de0
clevo_wmi: Add explicit module alias "for older kernels" 2020-12-04 16:11:47 +01:00
Christoffer Sandberg 21c65b40b0
clevo_wmi: Fix device list end 2020-12-04 15:50:48 +01:00
Christoffer Sandberg 6e3ce9ca6a
clevo_keyboard: Remove/refactor leftover wmi references 2020-12-04 15:20:55 +01:00
Christoffer Sandberg d1f0a91334
Update build to include clevo_wmi 2020-12-04 13:18:11 +01:00
Christoffer Sandberg 14c37444e6
clevo_interfaces: Change event handling & use separate wmi module 2020-12-04 13:16:49 +01:00
Christoffer Sandberg bbc29f39fc
clevo_interfaces: Add decoupled clevo_wmi interface 2020-12-04 12:23:39 +01:00
Christoffer Sandberg b581e45ee0
clevo_interfaces: add missing licensing headers 2020-12-03 13:34:33 +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 6d76c68eb4 clevo_acpi: Add acpi evaluate and event enable functionality 2020-11-17 17:30:03 +01:00
Christoffer Sandberg fe41e0d039
Add basic driver structure for "new" clevo interface 2020-11-16 16:27:34 +01:00
Christoffer Sandberg 878a528223
Update version to 2.1.0 + changelog 2020-11-13 12:47:04 +01:00
Christoffer Sandberg f6a3c95018
Merge branch 'fusion-support'
Implements #30
2020-11-13 12:02:17 +01:00
Christoffer Sandberg a95d0ecdd5
uw: Add keyboard brightness up/down mapping 2020-11-12 10:57:45 +01:00
Christoffer Sandberg eea83c3a37
uw: Fix touchpad toggle
Actually only returning notify stop on last key
messes up some platforms leading to that next toggle
does not register.

Should either stop all or none. From now stopping none.
2020-11-12 10:36:19 +01:00
Christoffer Sandberg d035d7afb0
uniwill: Refactor and simplify external symbol handling
tuxedo-cc-mwi symbols now used in many places. Until further
aggregation some wrappers are needed for clarity.
2020-10-30 12:17:17 +01:00
Christoffer Sandberg ba104682f9 Merge branch 'uw_lightbar' 2020-10-30 10:45:47 +01:00
Christoffer Sandberg a28f8858ac uw_lightbar: Add compatible device check 2020-10-29 12:09:48 +01:00