Commit graph

443 commits

Author SHA1 Message Date
Christoffer Sandberg
0d548f7c2d
Merge branch 'clang_compat' of github.com:vincentdephily/tuxedo-keyboard into upcoming-release 2023-04-20 14:44:09 +00:00
Christoffer
a175c55aa9 Merge branch 'check_tuxedo_string_on_new_processor_generations' into 'upcoming-release'
Check tuxedo string on new processor generations

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!48
2023-04-20 14:32:38 +00:00
Werner Sembach
e3f6724532 Whitelist AMD Zen 3 instead of blacklisting Zen 4 2023-04-18 14:52:41 +02:00
Werner Sembach
3858c12f91 Add chassis vendor to TUXEDO string check 2023-04-17 16:35:42 +02:00
Werner Sembach
1f2944ee29 Fix missing ')' 2023-04-17 16:29:02 +02:00
Werner Sembach
2a164b6564 Better return value 2023-04-17 16:17:15 +02:00
Werner Sembach
ad6f2808f6 Make cutoff between Zen3 and Zen4 2023-04-17 15:44:58 +02:00
Christoffer Sandberg
ea1d2fb11b
Add tdp defs for stellaris intel gen 5 2023-04-17 10:18:27 +02:00
Vincent de Phily
619d4e22fd Fix uninitialized var 2023-04-15 21:14:22 +01:00
Vincent de Phily
d2ed92cb07 Fix function prototypes
Clang is stricter than gcc and refuses to build without this fix.
2023-04-15 21:13:48 +01:00
Werner Sembach
254e16714f Add check that enforces TUXEDO dmi string on the newest devices 2023-04-14 20:19:08 +02:00
Werner Sembach
5b770f9996 Fix Clevo devices changing keyboard backlight color on resume 2023-04-12 19:05:52 +02:00
Christoffer Sandberg
131af916be
Update version to 3.2.1 + changelog 2023-03-28 09:43:25 +00:00
Christoffer Sandberg
57455cfb9f uniwill_wmi: Tweak debug cycle view threshold 2023-03-27 13:19:07 +02:00
Christoffer Sandberg
9a3504750f Update changed module versions 2023-03-27 12:57:07 +02:00
Christoffer Sandberg
a0d14ebd03 Move uw universal fan check, add to feats structure 2023-03-27 12:51:38 +02:00
Christoffer Sandberg
77389fc262 uniwill_wmi: Add error print on ec timeout and debug verbose wait cycles 2023-03-27 12:50:08 +02:00
Christoffer Sandberg
4749901db2
Update version to 3.2.0 + changelog 2023-03-22 08:34:11 +00:00
Christoffer Sandberg
60414b1c79
Increase minor module versions according to changes 2023-02-23 10:01:33 +01: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 Sandberg
c3e03cbd7c
Update version to 3.1.4 + changelog 2023-02-17 14:32:04 +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
555a5a0424
Leave out BFLG but leave in debug for observing 2023-02-17 11:49:19 +01:00
Christoffer Sandberg
a2a7cbb8da Add address to BFLG debug output 2023-02-16 18:15:47 +01: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
852cba4523 uniwill_wmi: Zero BFLG according to wmi impl.
Note: weird behaviour but BFLG is always zeroed
2023-02-14 11:06:59 +01:00
Christoffer Sandberg
d231df67ff Avoid feature identification if already done 2023-02-13 15:35:25 +01:00
Christoffer Sandberg
44848558a0 uniwill_wmi: Tweak busy wait delay 2023-02-13 13:43:10 +01:00
Christoffer Sandberg
230acf3940 uniwill_wmi: Restructure busy wait loop to include delay before read 2023-02-13 12:26:39 +01:00
Christoffer Sandberg
2a3c59b06f uniwill_wmi: Add missing BFLG impl. according to original wmi methods 2023-02-13 11:57:54 +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
8fc1f5a345 Fix case where WMI 13 is presend, but backlight identification is still happening the old way 2023-01-25 14:36:37 +01:00
Werner Sembach
4324bb2042 Simplyfy init function 2023-01-25 14:29:47 +01:00
Werner Sembach
f880587a03 Fix comented function 2023-01-25 14:28:33 +01:00
tuxedoxt
34117c7c68
Merge pull request #155 from Buddy-Matt/pointer-type-fix
fix incompatible pointer error
2023-01-20 08:32:40 +01:00
Matt Gray
ec5fbfadc2 Added linux version check 2023-01-19 22:12:36 +00: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
Matt Gray
407ac12411 fix incompatible pointer error 2023-01-19 00:01:19 +00:00
Werner Sembach
1ce7cef822 Merge remote-tracking branch 'origin/master' into generalize_keyboard_backlight_brightness 2023-01-17 14:33:15 +01:00
Stoll
05a9fe7a01
fix typo 2023-01-13 20:13:41 +01:00
Christoffer Sandberg
cd907695b5
Update version to 3.1.3
- tuxedo-io to 0.3.2
- changelog
2023-01-11 09:52:20 +00:00
Werner Sembach
f99b283cec Fall back to old fancontrol on IBP 14 Gen 6 with H processor to fix 2nd fan not turning 2023-01-09 17:26:25 +01:00
Christoffer Sandberg
e8eeb35028
Avoid further feature identification if interface is missing 2022-12-23 09:52:20 +01:00
Christoffer Sandberg
88363ec030
Update version to 3.1.2 + changelog 2022-12-19 17:49:07 +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
ddf41635da Change default brightness to 0 2022-11-14 12:04:48 +01:00
Werner Sembach
6eb394bcc2 Use TF provided steps for white only keyboard 2022-11-11 18:55:41 +01:00
Werner Sembach
e8bb59c9ff Fixed missing semicolon 2022-11-09 17:50:19 +01:00
Werner Sembach
caf4fd41b0 Implement TF interface for white color keyboards 2022-11-09 17:33:02 +01:00
Werner Sembach
bbe7b1cbeb Remove leftover commented code 2022-11-09 17:31:38 +01:00
Werner Sembach
96fcac547b Add debug status print 2022-11-09 17:19:57 +01:00
Werner Sembach
a9ca7fae63 Revert switch to kbuild 2022-11-09 17:14:55 +01:00
Werner Sembach
099be56b62 Add keyboard type detection based on EC 2022-10-26 13:43:37 +02:00
Werner Sembach
8d67160ea8 Add missing error handling 2022-10-25 14:06:38 +02:00
Werner Sembach
69cdf54752 Restore led state on remove 2022-10-25 13:46:46 +02:00
Werner Sembach
b05e55e40f Merge branch 'generalize_keyboard_backlight_brightness_clevo_working' into generalize_keyboard_backlight_brightness 2022-10-24 16:37:07 +02:00
Werner Sembach
011ad1c556 Fix default brightness 2022-10-24 16:27:20 +02:00
Werner Sembach
4dbaa4a83d Check available steps for white only 2022-10-24 16:11:35 +02:00
Werner Sembach
3bf9f5059b Merge branch 'generalize_keyboard_backlight_brightness_clevo_working' into generalize_keyboard_backlight_brightness 2022-10-24 15:32:22 +02:00
Werner Sembach
fafba11817 Fix number of steps 2022-10-24 15:09:13 +02:00
Werner Sembach
55b6b5ce94 More debug output 2022-10-24 14:52:12 +02:00
Werner Sembach
8e2d526a8a Add missing ; 2022-10-24 14:33:50 +02:00
Werner Sembach
c4b7644f83 Fix if case logic 2022-10-24 14:32:43 +02:00
Werner Sembach
dd22af9924 Add keyboard type check for old devices 2022-10-24 14:21:54 +02: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
b46ca9ef44
Update version to 3.1.1 + changelog 2022-10-17 16:04:54 +00:00
Werner Sembach
ab675b1475 Add missing set fans auto implementation 2022-10-17 16:57:14 +02:00
Werner Sembach
493541f81c Reenable fan-off on all TF devices 2022-10-14 15:44:44 +02:00
Christoffer Sandberg
e8dc238ae1
Update version to 3.1.0 + changelog 2022-10-10 07:39:47 +00: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
5ee0e18335 Fix conflicting ioctl numbers and update api version 2022-10-07 10:52:56 +02: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
Christoffer Sandberg
824933fc70
Update version to 3.0.11 + changelog 2022-10-06 09:08:41 +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
Werner Sembach
a8b3cb6dc3 Fix define names 2022-10-04 19:00:27 +02:00
Werner Sembach
44f7fd0151 Expose fan control limitations to userspace 2022-10-04 13:59:13 +02:00
Werner Sembach
47bbd14ca0 Remove useless comment, there few to no error handling in the whole module 2022-09-29 15:16:43 +02:00