Commit graph

401 commits

Author SHA1 Message Date
BlackEagle 216899e1cf fix incompatible pointer type for linux 5.13
this fixes the following build issue:

```
src/clevo_wmi.c:149:19: error: initialization of ‘void (*)(struct wmi_device *)’ from incompatible pointer type ‘int (*)(struct wmi_device *)’ [-Werror=incompatible-pointer-types]
  149 |         .remove = clevo_wmi_remove,
      |                   ^~~~~~~~~~~~~~~~
```

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2021-06-23 22:51:53 +02:00
Christoffer Sandberg 4beb504569
Add new polaris devices
Add Polaris device to backlight driver
- Polaris AMD Gen 2
- Polaris Intel Gen 2
- Polaris AMD Gen 3
- Polaris Intel Gen 3
2021-06-16 15:39:22 +02:00
Christoffer Sandberg d7f358a778
Update version to 3.0.6 + changelog 2021-06-07 17:06:27 +02:00
Christoffer 356d157f25 Merge branch '45-set-performance-profile-cl' into 'master'
Resolve "Set performance profile (CL)"

Implements #45

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!20
2021-06-07 14:58:46 +00:00
Christoffer Sandberg 1f292258d5
Add cl perf profile set ioctl 2021-05-19 18:40:27 +02:00
Arlindo F. Neto cbc1813ef7
Add Avell A60 MUV as lightbar_supported
I've suggested this in #89 issue.
2021-05-14 16:31:03 -03:00
Christoffer Sandberg 8a965edb33
Update version to 3.0.5 + changelog 2021-04-23 18:33:53 +02:00
Christoffer Sandberg 5ff4174be9
Add XP gen 11 & 12 to perf. profile workaround 2021-04-23 18:30:04 +02:00
Christoffer Sandberg d7304b3170
Add EDUBOOK1502 to perf. profile workaround 2021-04-23 11:46:28 +02:00
Christoffer Sandberg bea182ed6d
Clean-up cl driver state init
- Ensure keyb bl state is initialized from params
- Unify state writing (directly from state struct)
- Use same state write on resume
- Don't attempt to init twice if already initialized (should prevent
  some double writing and make debugging easier)
2021-04-19 14:39:06 +02:00
Christoffer Sandberg c2061a9596
Comment out cl method debug prints per default 2021-04-19 14:04:58 +02:00
Christoffer Sandberg 6e65f2ea97
Add NS50MU to perf. profile workaround
Implements #44
2021-04-06 12:59:56 +02:00
Christoffer Sandberg fd683d410b
Update version to 3.0.4 + changelog 2021-03-19 16:35:40 +01:00
Christoffer Sandberg 67fb677d88
clevo_keyboard: Add mutex to interface operations 2021-03-19 16:34:34 +01: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
Christoffer 2e8e9d9195 Merge branch 'set_full_fan_mode_less_intrusive' into 'master'
Set full fan mode less intrusive

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!18
2021-03-19 13:46:51 +00:00
Christoffer Sandberg e53d4870ea
Add standard Aura (now new) board name to perf. profile workaround
- Convert remaining matches to string in for robustness
  (with occational space padding)
- Add missing device comment
2021-03-17 13:58:07 +01:00
Christoffer Sandberg afae768fda
Add IBS14v5 to perf. profile workaround 2021-03-17 13:49:10 +01:00
Werner Sembach d24f698dd0 Remove minimum version defines for single ioctl 2021-03-16 14:24:18 +00:00
Christoffer Sandberg f4622e28f1
tuxedo_keyboard: Fix possible race condition on driver init
Modified patch from https://github.com/ftufo

https://github.com/tuxedocomputers/tuxedo-keyboard/issues/75
2021-03-15 12:47:24 +01:00
Christoffer Sandberg 852c28cec4
Update version to 3.0.3 + changelog 2021-03-05 13:28:37 +01:00
Christoffer Sandberg 1e96de2c56
Add XP14 to perf. profile workaround 2021-03-05 13:27:55 +01: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 04756030d6 Ignore kdevelop project files 2021-02-24 20:33:59 +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
Werner Sembach 226a40b8fb Fix wrong macro call breaking compilation and add header guard 2021-02-22 20:12:58 +01:00
Werner Sembach 5b99255be8 Add ioctl to reset fanspeed to auto 2021-02-19 21:33:30 +01:00
Werner Sembach 4306a80513 Only set one bit required for full-fan-mode and not whole byte 2021-02-19 21:04:08 +01:00
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