JafarAkhondali / acer-predator-turbo-and-rgb-keyboard-linux-module

Linux kernel module to support Turbo mode and RGB Keyboard for Acer Predator notebook series
GNU General Public License v3.0
337 stars 59 forks source link

Support for PT316-51s. RGB works, Turbo button doesn't #141

Open cacheeco opened 4 months ago

cacheeco commented 4 months ago

Model: sudo dmidecode | grep "Product Name" -B 2 -A 4

System Information Manufacturer: Acer Product Name: Predator PT316-51s Version: V1.08 Serial Number: NHQJBAL00233200C269Z00 UUID: c03439ce-ca18-6a73-22cf-0ccc47e4c93e Wake-up Type: Power Switch

Base Board Information Manufacturer: ADL Product Name: Roadster_ADH Version: V1.08 Serial Number: NBQGJ1100133100328MO00 Asset Tag: Type2 - Board Asset Tag Features:

Count of keyboard RGB zones: 3

Count of Cpu Fans: 1

Count of Gpu Fans: 1

RGB keyboard works? Yes

Turbo button turn on fans? No

Turbo button turn on LED? No

Turbo button activates overclock? No

Kernel version 6.1.0-18-amd64

I'm happy to help with further questions/test.

nidhoggr-nil commented 1 week ago

I'm stuck at trying to decode what the registers do in the micro-controller, I need to find a way to test this.

kenza@fedora:/var/home/kenza$ sudo $(which hexdump) -X -v /sys/kernel/debug/ec/ec0/io
0000000  00  00  00  00  00  00  00  00  00  00  c9  c9  c8  d2  20  c8
0000010  c6  20  00  00  02  d0  03  98  04  00  00  00  00  00  00  00
0000020  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00
0000030  00  00  00  00  00  00  00  00  00  00  00  00  02  14  f1  10
0000040  b1  00  c0  41  00  00  01  00  73  00  00  00  00  01  30  05
0000050  00  3d  3b  02  00  05  40  00  40  3b  00  3b  0a  79  33  47
0000060  c3  52  00  20  c1  00  00  01  06  00  0a  d7  03  08  00  00
0000070  01  2b  00  10  00  e0  00  64  2d  00  38  0c  7a  53  00  00
0000080  5f  16  db  41  00  00  00  00  5f  16  2d  06  b2  19  60  3b
0000090  0b  00  00  00  00  41  00  00  28  45  00  00  10  ce  44  7e
00000a0  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00
00000b0  00  00  00  00  00  00  00  00  00  00  00  00  00  00  08  04
00000c0  00  1e  01  80  ee  33  00  00  00  00  01  00  00  00  00  00
00000d0  08  04  1e  00  00  00  00  00  00  00  00  00  00  00  00  16
00000e0  00  00  00  00  00  00  00  00  56  00  00  00  00  00  00  00
00000f0  00  27  1e  00  00  6e  00  00  00  00  00  00  00  00  00  00
0000100