Commit graph

102 commits

Author SHA1 Message Date
Christoffer Sandberg b35bc84de0 charging_priority: Remember state and re-write on power change event 2023-02-13 09:56:07 +01:00
Christoffer Sandberg 1bab01f93b charging_profile: Remember state and re-write on power change event 2023-02-10 16:12:50 +01:00
Christoffer 65ced4981e Merge branch 'uw-charging-settings' into 'master'
UW: charging priority/profiles

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!28
2022-12-19 16:36:20 +00:00
Werner Sembach c458c83767 Change activation sequence for faster apply 2022-12-19 15:30:14 +01:00
Christoffer Sandberg f2c37fcc06
Exclude devices where interface is known to be incompatible with feature 2022-12-16 18:07:05 +01:00
Werner Sembach e6659e4f6f Always enable Dynamic Boost 2022-12-06 17:06:26 +01:00
Christoffer Sandberg bb4885cb57
Fix feature check 2022-11-21 17:47:28 +01:00
Christoffer Sandberg 362e16e703
Remove attribute group name prefix 2022-11-21 17:00:04 +01:00
Christoffer Sandberg 97ddaed782
Add id check for charging profile 2022-11-21 14:47:55 +01:00
Christoffer Sandberg d6f32f7270 Add uw charging profile init 2022-11-18 19:45:03 +01:00
Christoffer Sandberg 32e16b49f3 Fix comment typo 2022-11-18 19:01:27 +01:00
Christoffer Sandberg ae58c0ddcb Add uw charging profiles interface structures 2022-11-18 18:58:01 +01:00
Christoffer Sandberg 7e03e3dfd9 Remove old copy comment 2022-11-18 18:38:03 +01:00
Christoffer Sandberg dcf9ec030c Fix list output whitespace 2022-11-18 18:36:40 +01:00
Christoffer Sandberg acc12d579f Add charging prio init 2022-11-18 18:23:57 +01:00
Christoffer Sandberg 0ba6d70c06
Add charging prio capability check
- Add uw features property
- Add ec has charging prio func
- Move uw device id func def
2022-11-17 10:42:14 +01:00
Christoffer Sandberg f5916ddc34
Add interface definition for charging prio 2022-11-15 18:53:30 +01:00
Christoffer Sandberg 197c25f359
Add uw charging prio and charging profile hw io methods 2022-11-15 17:19:11 +01:00
Christoffer Sandberg b6091ac302
Merge remote-tracking branch 'origin/uw-power-profiles' 2022-10-10 07:29:24 +00:00
Christoffer 89b299f69c Merge branch '60-add-lightbar-support-for-stellaris-amd-gen-4' into 'master'
Resolve "Add lightbar support for Stellaris AMD gen 4"

Closes #60

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!29
2022-10-10 07:27:49 +00:00
Werner Sembach 26a4a4b84a Merge remote-tracking branch 'origin/uw-power-profiles' into new_tf_fan_control 2022-10-07 10:51:49 +02:00
Werner Sembach 19642a2496 Add retries for ex write and move enable custom fan table to end because of possible external race condition 2022-10-05 16:25:37 +02:00
Christoffer Sandberg b9b6f240c8
Add Stellaris AMD Gen4 TDP ranges + threeprofile leds id 2022-09-27 15:13:13 +02:00
Christoffer Sandberg 67a80ca3a2 Remove XMG Fusion from three profiles list
Not compatible with current control mechanism
2022-09-23 11:45:40 +02:00
Christoffer Sandberg cbc4267071 Add Stellaris AMD gen 4 ID for lightbar support 2022-09-15 16:05:00 +02:00
Christoffer Sandberg a8a934b4f1
Add polaris intel gen 4 power defs 2022-07-27 12:27:14 +02:00
Christoffer Sandberg 0b6d0073b2 Assign three profiles to xmg fusion 2022-07-27 11:47:10 +02:00
Christoffer Sandberg 3fbc761cc9 Rearrange uw tdp identification + min/max getters
Support for a device now only depending on if min/max
definitions exist for chosen tdp parameter.
2022-07-27 11:47:10 +02:00
Christoffer Sandberg 50ea0bb09f Change model ID for some models 2022-07-27 11:47:10 +02:00
Christoffer Sandberg 68800661b4 Modify and add TDP device definitions
- Basic 120W upper limit over all
- Change min limit to 1W
- Add Polaris gen 2
- Add Polaris/Stellaris AMD gen 3
2022-07-27 11:47:10 +02:00
Christoffer Sandberg 91742ab1c5 Move and correct TDP device ids 2022-07-27 11:47:10 +02:00
Christoffer Sandberg bd56c1ecb9 Restrict fan-curve copy to "v1" profile devices only 2022-07-27 11:47:10 +02:00
Christoffer Sandberg 4903b89239 Split v1 three profile feature to include leds only version extra 2022-07-27 11:47:10 +02:00
Christoffer Sandberg d848111bb7 Move uw device features to interfaces struct 2022-07-27 11:47:10 +02:00
Christoffer dd774d8b0d Merge branch '57-stellaris-intel-gen-4-support' into 'master'
Resolve "Stellaris Intel gen 4 support"

Closes #57

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!26
2022-04-25 15:55:26 +00:00
Christoffer Sandberg 46ad491825
Add lightbar support for Stellaris Intel gen 4 2022-04-21 12:05:18 +02:00
Christoffer Sandberg abd6036eb9 Initialize uw lightbar to be "off" 2022-02-02 16:42:05 +01:00
Christoffer Sandberg 5b57ddbec1 Remove unused return statuses 2021-09-22 01:39:02 +02:00
Christoffer Sandberg 2440ed47b5 Remove old uw probe, notifys and event handlers 2021-09-22 00:02:49 +02:00
Christoffer Sandberg d2ff4e4b83 Add uniwill interface str id and read for tuxedo_io 2021-09-18 00:30:00 +02:00
Christoffer Sandberg ea720826e8 Fix some whitespace format issues 2021-09-18 00:17:30 +02:00
Christoffer Sandberg da31d09aad Check input device reference before using 2021-09-17 23:53:42 +02:00
Christoffer Sandberg 56b5c5461d Move uw manual mode set/remove 2021-09-17 19:17:10 +02:00
Christoffer Sandberg 64c47a6943 Change use of uw if read/write to new ones
- For uniwill_keyboard part
- Remove now unused uw_io.h
2021-09-16 21:36:35 +02:00
Christoffer Sandberg 931d3c7f30 Add visible error on missing uw interface read/write attempt 2021-09-16 20:34:06 +02:00
Christoffer Sandberg 9ec3dc927a Reorder uniwill driver init and remove 2021-09-15 22:23:29 +02:00
Christoffer Sandberg 0da37ce0ca Add uniwill wmi event callb hooks and handling
- Event/notify handling
- Actually adding interface
2021-09-10 22:57:43 +02:00
Christoffer Sandberg 13510d6fc2 Fix missing bracket 2021-09-10 00:16:03 +02:00
Christoffer Sandberg 54c6da280e Add uniwill interface methods 2021-09-08 21:14:56 +02:00
Christoffer Sandberg 0c929206bd
Add Stellaris devices for lightbar 2021-06-24 13:06:33 +02:00