Commit graph

66 commits

Author SHA1 Message Date
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
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
Werner Sembach e92bbccbe0 Make sure full fan mode is (un-)set correctly 2022-09-29 15:16:04 +02:00
Werner Sembach d3a8c76aa6 Fix wrong address 2022-09-29 15:15:14 +02:00
Werner Sembach 5055221eea Implement new fan control 2022-09-28 19:23:16 +02:00
Christoffer Sandberg b9b6f240c8
Add Stellaris AMD Gen4 TDP ranges + threeprofile leds id 2022-09-27 15:13:13 +02:00
Christoffer Sandberg e6ecf69560
Add TDP ranges for IBPGen7 2022-09-27 15:06:23 +02:00
Christoffer Sandberg 44801d689f
Add Pulse 15 Gen 2 defs (tdp + id) 2022-08-19 17:12:34 +02:00
Christoffer Sandberg dd26ff6100
Change min selectable TDP for all impl. devices to 5 W 2022-08-12 15:26:18 +02:00
Christoffer Sandberg a8a934b4f1
Add polaris intel gen 4 power defs 2022-07-27 12:27:14 +02:00
Christoffer Sandberg a3f73cc502 ioctl: Add uw model id getter 2022-07-27 11:47:10 +02:00
Christoffer Sandberg e9b429ccea Fix build on older kernel 2022-07-27 11:47:10 +02:00
Christoffer Sandberg 0d4a633c65 Add IBP14gen6 id and refactor model numbers 2022-07-27 11:47:10 +02:00
Christoffer Sandberg b6dea7ac2e Update uw tdp defs for polaris/stellaris
Changes according to reported original table values
- Min TDPs changed to 10W
- Intel PL4 now max 200W resulting in 120/120/200
- AMD max defs lowered to 80/80/95
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 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 Sandberg 5173c0fc33 Add TDP support for stellaris/polaris gen 2/3 2022-07-27 11:47:10 +02:00
Christoffer Sandberg f08b9af714 Add three profiles to polaris/stellaris gen2/3 for the LEDs 2022-07-27 11:47:10 +02:00
Christoffer Sandberg 55022eb636 Add BA15 with two power profiles 2022-07-27 11:47:10 +02:00
Christoffer Sandberg feca6dbcf4 tuxedo_io: Add uw perf prof ioctl interface 2022-07-27 11:47:10 +02:00
Christoffer Sandberg ad8d42454e Add PH4TQX 2022-07-27 11:47:10 +02:00
Christoffer Sandberg 7593dd33ee Add uw min/max TDP interface
- Min/max TDP interface prototype
- Identification structure for "old style"
  uw perf. profiles
2022-07-27 11:47:10 +02:00
Christoffer Sandberg dd5e48fb09 Add uw TDP ioctl interface 2022-07-27 11:47:10 +02:00
Christoffer Sandberg cc4c1445b9 Fix whitespace 2022-07-27 11:47:10 +02:00
Christoffer Sandberg 0c07dfcba4 Move old now unused io structs to debug def 2021-10-18 20:03:02 +02:00
Christoffer Sandberg 0747e94f89 tuxedo_io: Update id check data for uw on ioctl id check request
Should fix failing to identify uniwill device if tuxedo_io module
loaded before interface registration.
2021-10-04 14:59:15 +02:00
Christoffer Sandberg df3df09c10 Remove rest of tongfang_wmi.h
- Reference includes
- Move remaining unions to interfaces
- Remove remaining uniwill_exit from tuxedo_io
2021-09-18 00:37:46 +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 f8bd16ca68 Move uw fan ctrl helper funcs 2021-09-18 00:03:49 +02:00
Christoffer Sandberg 4fa915fcc3 Change use of uw if read/write to new ones
- For tuxedo_io
2021-09-17 23:50:16 +02:00
Christoffer Sandberg de124948ab Change use of uw if read/write to new ones
- For fan control
2021-09-17 20:19:58 +02:00
Christoffer Sandberg cf4d9967b7 tuxedo_io: Add new uw interfaces header 2021-09-17 20:16:39 +02:00
Christoffer Sandberg 56b5c5461d Move uw manual mode set/remove 2021-09-17 19:17:10 +02:00
Christoffer Sandberg aae9f01feb
Update version to 3.0.7 + changelog
- tuxedo-io to 0.2.4
- clevo-wmi to 0.0.3
2021-06-24 13:07:00 +02:00
Christoffer Sandberg d7f358a778
Update version to 3.0.6 + changelog 2021-06-07 17:06:27 +02:00
Christoffer Sandberg 1f292258d5
Add cl perf profile set ioctl 2021-05-19 18:40:27 +02:00
Christoffer Sandberg b7a0b23db1
Merge branch '38-tuxedo-io-breaks-device-default-silent-fan-mode-on-tongfang-devices'
- Conflicts => Included everything (init of uw dev fan curves & perf prof)
- Removed comments and unneeded "uninitialized check" as per WSE
  recommendation
2021-03-19 15:31:53 +01:00
Werner Sembach d24f698dd0 Remove minimum version defines for single ioctl 2021-03-16 14:24:18 +00:00
Werner Sembach f2b722c7b6 Don't reset fan speed on disable full-fan-mode because it gets reset automatically 2021-03-03 12:09:52 +01:00
Werner Sembach 6519645696 Fix typo and use bool type 2021-02-25 15:11:19 +01:00
Werner Sembach cbb258e13d Always initialize custom fan curve to prevent inconsistencies 2021-02-25 14:40:47 +01:00
Werner Sembach b8cb3ed34b Bump version and add defines to check for minimum version with new ioctl 2021-02-24 20:35:02 +01:00
Werner Sembach 96a9485a84 Set balanced profile on init for the time being until we have a way to switch it while tuxedo_io is loaded 2021-02-24 19:56:58 +01:00