Commit graph

120 commits

Author SHA1 Message Date
Christoffer Sandberg a0d14ebd03 Move uw universal fan check, add to feats structure 2023-03-27 12:51:38 +02:00
Christoffer Sandberg b963225cf7
Merge remote-tracking branch 'origin/generalize_keyboard_backlight_brightness' into upcoming-release 2023-02-23 09:45:58 +01:00
Christoffer ff34b5c6e4 Merge branch 'uw-if-tweaks' into 'master'
UW IF performance tweaks

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!36
2023-02-17 13:06:25 +00:00
Christoffer Sandberg 67e6d3cace Move feats loaded check to inside get features method
- Extend with checks on each IO for success
2023-02-16 18:14:52 +01:00
Christoffer Sandberg a14e6a0298 Fix return values of charging id funcs 2023-02-16 17:16:33 +01:00
Christoffer Sandberg 334bff5f30 Remove old comment remnants 2023-02-14 17:09:41 +01:00
Christoffer Sandberg 646abc0426 charging: Move event catch to appropriate place and tweak setting
- Charging profile prepared but not included (most likely not needed)
- Charging prio kept with slight delay to catch some timing issues

Note: Workaround not perfect but catches most cases where connecting
      barrel plug would make charging prio setting jump to charge battery
2023-02-14 17:01:51 +01:00
Christoffer Sandberg 4f9b49abe7
charging profile/prio: Change to remember last written state
To be able to re-write when necessary
2023-02-14 12:04:43 +01:00
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
Werner Sembach 700807df80 Use new keyboard type check instead of dummy value 2023-01-19 20:49:30 +01:00
Werner Sembach b751619983 Remove merge error 2023-01-19 20:25:20 +01:00
Werner Sembach 1ce7cef822 Merge remote-tracking branch 'origin/master' into generalize_keyboard_backlight_brightness 2023-01-17 14:33:15 +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
Werner Sembach b7f23c9fd9 Merge branch 'generalize_keyboard_backlight_brightness_clevo_working' into generalize_keyboard_backlight_brightness 2022-10-21 16:59:59 +02:00
Werner Sembach 39c1629f8f Merge remote-tracking branch 'origin/master' into generalize_keyboard_backlight_brightness_clevo_working 2022-10-20 19:04:23 +02: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
Werner Sembach b73152ba8b Fix resume behavior 2022-09-23 15:47:42 +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
Werner Sembach a0c9995518 First working but buggy implementation of leds interface for TongFang/Uniwill 2022-09-21 18:18:35 +02:00
Christoffer Sandberg cbc4267071 Add Stellaris AMD gen 4 ID for lightbar support 2022-09-15 16:05:00 +02:00
Werner Sembach 60cd77e01a Start rework for uniwill 2022-08-25 18:22:48 +02:00
Werner Sembach dbd467bcd4 Rework to switch from old platform sysfs interface to standardised leds sysfs interface 2022-08-24 10:57:20 +02:00
Werner Sembach ca72360c7d Add multi color interface for Uniwill single zone rgb keyboards 2022-08-19 12:34:26 +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