Commit graph

75 commits

Author SHA1 Message Date
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
tuxedoxt 9f8def2643
Merge pull request #91 from ArlindoFNeto/patch-1
Add Avell A60 MUV as lightbar_supported
2021-06-24 10:06:09 +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
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 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 1beae3c5a9
Update license headers with outdated address 2020-12-09 13:20:42 +01:00
Christoffer Sandberg 6f14b22b33
clevo_keyboard: Basic modularization to allow for multiple interfaces
Basic working implementation, WIP

- Modularize clevo_keyboard, allowing interfaces to "register" themselves
- Add clevo_acpi interface to clevo_keyboard
- Prefer acpi interface
- Fixed some previously still coupled features on uniwill_keyboard side
to allow for the structure change
2020-12-02 17:32:09 +01:00
Christoffer Sandberg a95d0ecdd5
uw: Add keyboard brightness up/down mapping 2020-11-12 10:57:45 +01:00
Christoffer Sandberg eea83c3a37
uw: Fix touchpad toggle
Actually only returning notify stop on last key
messes up some platforms leading to that next toggle
does not register.

Should either stop all or none. From now stopping none.
2020-11-12 10:36:19 +01:00
Christoffer Sandberg d035d7afb0
uniwill: Refactor and simplify external symbol handling
tuxedo-cc-mwi symbols now used in many places. Until further
aggregation some wrappers are needed for clarity.
2020-10-30 12:17:17 +01:00
Christoffer Sandberg a28f8858ac uw_lightbar: Add compatible device check 2020-10-29 12:09:48 +01:00
Christoffer Sandberg 0d954602b5 uw_lightbar: Fix init structure 2020-10-28 17:08:32 +01:00
Christoffer Sandberg 50f8afdf75 Add uw lightbar "animation led" 2020-10-27 10:02:23 +01:00
Christoffer Sandberg a3e69ca8f9 Change uw lightbar led names for possible future compliance 2020-10-27 10:02:23 +01:00
Christoffer Sandberg 8db1b16c79 Fix uw kbd bl rgb sysfs removal 2020-10-27 10:02:23 +01:00
Christoffer Sandberg 839f13b350 Fix uw lightbar color comparison 2020-10-27 09:58:22 +01:00
Christoffer Sandberg 821c502823 Initial classdev lightbar support 2020-10-27 09:58:22 +01:00
Christoffer Sandberg 8c0a618f6b uw: fix module cleanup for non single rgb kbd bl 2020-10-27 09:38:08 +01:00
Christoffer Sandberg fbd1cd8e8a
Update to version 2.0.6
- Changelogs
- Update with final device names
2020-10-06 15:05:50 +02:00
Christoffer Sandberg cfac56be26
Add new uw kbd bl IDs 2020-09-18 17:37:02 +02:00
Christoffer Sandberg 9f05c50681
Reset uw kbd bl color on resume 2020-09-08 12:13:23 +02:00
Christoffer Sandberg 56cadb61de
Add uw kbd bl color device 2020-09-08 12:12:35 +02:00
Christoffer Sandberg ab29e5e392
Tweak reset timout 2020-09-03 10:43:53 +02:00
Christoffer Sandberg 0c2d597c22
Fix reset uw kbd bl on init 2020-09-03 10:27:19 +02:00
Christoffer Sandberg 0e1e4987ff
Add missing event defines 2020-09-01 16:03:59 +02:00
Christoffer Sandberg 2055fa5774
Fix: write uw kbd bl on cable switch 2020-09-01 10:37:11 +02:00
Christoffer Sandberg 8fdd6aea99
Add manual mode rfkill key mapping 2020-08-28 13:09:37 +02:00