Commit graph

443 commits

Author SHA1 Message Date
Owen Williams
4afa25ab96 Fix missing-prototypes warnings/errors. 2024-11-04 23:02:22 -05:00
Owen Williams
f566db3fa8 Update for kernel 6.12: Switch to the new Intel CPU defines.
Kernel 6.12 changed the Intel CPU define names and removed the
X86_MATCH_VENDOR_FAM_MODEL; update tuxedo_keyboard.c to match.
2024-11-04 22:37:41 -05:00
Owen Williams
1da421c5fc Update clevo-keyboard for Linux 6.11
In the 6.11 kernel, platform::remove was changed to return void instead
of int (0edb555a65).
Change the corresponding `remove` methods to return void. Since they
previously did not return a nonzero error code, this is not a behavior
change.
2024-10-07 22:07:41 -04:00
Owen Williams
ceaab21231
Update clevo_acpi.c for Linux 6.10
The upstream kernel removed the owner field of `struct acpi_driver` in version 6.10 (cc85f9c05b). Fix the resulting compile error by removing the now-obsolete assignment to `.owner` in kernel 6.10 and later.
2024-07-24 21:59:47 -04:00
Wessel klein Snakenborg
403dc6a283
Update tuxedo_keyboard.c 2023-09-19 11:08:21 +02:00
Wessel klein Snakenborg
213ac1d095
Update tuxedo_keyboard.c 2023-09-12 13:42:49 +02:00
Christoffer Sandberg
e236eec63a
Update version to 3.2.10 + changelog 2023-08-10 13:41:12 +00:00
munix9
fe7aebc243
Fix "error: label at end of compound statement" 2023-08-05 21:50:32 +02:00
Christoffer Sandberg
f6f547870c
Update version to 3.2.9 + changelog 2023-08-01 17:38:51 +00:00
Christoffer Sandberg
c3776fed99 uw: Add IBP16G8 mk2 romid quirk 2023-08-01 18:52:05 +02:00
Christoffer Sandberg
8b8f18ecc5 uw: Add IBP16G8 mk1 romid quirk 2023-08-01 14:30:08 +02:00
Christoffer Sandberg
2b04cbc60a
Update version to 3.2.8 + changelog 2023-07-21 15:06:23 +00:00
Christoffer Sandberg
2432f550e5 clevo_leds: Sub identification for white only (direct id new interface case) 2023-07-17 17:03:08 +02:00
Christoffer Sandberg
5b4b26836e clevo_keyboard: Add missing event bits 2023-07-17 17:02:20 +02:00
Christoffer Sandberg
7e2f1eb2c3 clevo_keyboard: Map alternative kbd backlight events + special handle cycle on white 2023-07-17 16:02:10 +02:00
Christoffer Sandberg
c22c4c3c76 clevo_leds: Only use enable/disable switch for the rgb keyboard variants
- Move set_enable_cmd to clevo_leds
- Add suspend/resume hooks
- Rename set_enable_cmd to clevo_evaluate_set_status
2023-07-17 13:58:47 +02:00
Christoffer Sandberg
31a25e2e37
Update version to 3.2.7 + changelog 2023-06-28 11:46:22 +00:00
Christoffer Sandberg
d86df4196f Merge remote-tracking branch 'origin/rework_white_only_kbl' 2023-06-28 08:53:52 +02:00
Christoffer
bcc05d249d Merge branch 'retry_clevo_check_kbd_type' into 'master'
Add retry when no keyboard backlight is recognized as this is probably wrong

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!55
2023-06-28 06:24:49 +00:00
Werner Sembach
5ad584ca12 Fix leds brightness not getting updated on firmware controlled brightness change 2023-06-20 18:36:26 +02:00
Werner Sembach
0845466b0b Finish implementation of notify hw changed for Clevo 2023-06-20 18:35:47 +02:00
Werner Sembach
7ea3a0ac13 Add new command 2023-06-20 18:15:48 +02:00
Werner Sembach
d13eaeb043 Fix return types 2023-06-19 17:56:50 +02:00
Werner Sembach
e66e2b1fb3 Fix compiler warning 2023-06-19 17:55:30 +02:00
Werner Sembach
81d6fe0e10 Prepare clevo skeleton 2023-06-19 16:09:59 +02:00
Christoffer Sandberg
04112f65ec
tuxedo_io: Adjust class_create call for kernel 6.4 compatibility
Implements #82
2023-06-19 15:49:48 +02:00
Werner Sembach
91a69bab8c TF: KBL: Add additional event code for FW brightness change event 2023-06-19 10:15:43 +02:00
Werner Sembach
319d7b14a1 Don't send key event for firmware controlled TF white only backlights, but only notify userspace of change 2023-06-19 10:15:43 +02:00
Werner Sembach
52cf510303 Add unused attributes to avoid compiler warnings 2023-06-19 10:15:43 +02:00
Werner Sembach
06f0798162 Slim down state restore by not rewriting unchanged values in led_cdev struct 2023-06-19 10:15:43 +02:00
Werner Sembach
46b9753437 Make keycodes human readable 2023-06-19 10:15:43 +02:00
Christoffer Sandberg
c51c01e3f2
Update version to 3.2.6 + changelog 2023-06-13 13:07:04 +00:00
Werner Sembach
33208b8359 Add definitions 2023-06-13 14:59:29 +02:00
Werner Sembach
e1d1e1349a Fix retry logic 2023-06-13 14:56:16 +02:00
Werner Sembach
3d7d74a565 Remove unused define 2023-06-12 19:16:11 +02:00
Werner Sembach
587b95eb1b Automatically correct ROMID 2023-06-12 19:06:59 +02:00
Werner Sembach
cef0d4a74a Fix variable type 2023-06-12 19:05:53 +02:00
Werner Sembach
3784ff5eb2 Add retry when no keyboard backlight is recognized as this is probably wrong 2023-05-24 17:16:37 +02:00
Christoffer Sandberg
08502a6904
Update version to 3.2.5 + changelog 2023-05-19 09:15:16 +00:00
Werner Sembach
fb574edbf4 KBL/UW: Fix immediate brightness value not set to 0 on init 2023-05-17 18:36:57 +02:00
Werner Sembach
d289adea61 Merge remote-tracking branch 'origin/master' into fix_debug_message 2023-05-15 19:55:07 +02:00
Werner Sembach
3b9a6b89e4 Fix debug message 2023-05-15 19:54:48 +02:00
Christoffer
a9df75b12f Merge branch 'color-scaling-cl-onezone' into 'master'
More color scaling

Closes #79

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!51
2023-05-15 11:06:46 +00:00
Christoffer
bef6df9bba Merge branch 'add_ibp_gen8_leds_support' into 'master'
Add ibp gen8 leds support

Closes #77

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!50
2023-05-15 11:06:14 +00:00
Christoffer Sandberg
24e6f19b55
Add TDP def for IBPG8MK1 2023-05-12 16:01:58 +02:00
Christoffer Sandberg
5c9ca122cc Add color scaling to cl kbd bl driver
Modify scaling for one-zone rgb

Implements #79
2023-05-10 10:29:38 +02:00
Werner Sembach
2fb6977b4b Add IBP14 Gen8 to white only keyboard backlight device list 2023-05-09 20:45:35 +02:00
Werner Sembach
6e140060e2 Add debug print 2023-05-09 20:44:20 +02:00
Christoffer Sandberg
c202a4d671 Update version to 3.2.3 + changelog 2023-04-25 13:38:46 +00:00
Werner Sembach
cdd3f5656a Add defines that might be missing on older kernel headers 2023-04-25 13:49:32 +02:00