BeardOverflow / msi-ec

GNU General Public License v2.0
145 stars 45 forks source link

GS66 11UE #9

Open jifarina opened 1 year ago

jifarina commented 1 year ago

Hi! First time Linux user trying to get stuff to work. I installed your repo on Mint and got this results:

/sys/devices/platform/msi-ec/battery_mode max

/sys/devices/platform/msi-ec/cooler_boost off

/sys/devices/platform/msi-ec/cpu cat: /sys/devices/platform/msi-ec/cpu: Is a directory

/sys/devices/platform/msi-ec/driver cat: /sys/devices/platform/msi-ec/driver: Is a directory

/sys/devices/platform/msi-ec/driver_override (null)

/sys/devices/platform/msi-ec/fan_mode unknown (41)

/sys/devices/platform/msi-ec/fn_key unknown (32)

/sys/devices/platform/msi-ec/fw_release_date 2022/01/04 13:53:21

/sys/devices/platform/msi-ec/fw_version 16V4EMS1.114

/sys/devices/platform/msi-ec/gpu cat: /sys/devices/platform/msi-ec/gpu: Is a directory

/sys/devices/platform/msi-ec/leds cat: /sys/devices/platform/msi-ec/leds: Is a directory

/sys/devices/platform/msi-ec/modalias platform:msi-ec

/sys/devices/platform/msi-ec/power cat: /sys/devices/platform/msi-ec/power: Is a directory

/sys/devices/platform/msi-ec/shift_mode unknown (112)

/sys/devices/platform/msi-ec/subsystem cat: /sys/devices/platform/msi-ec/subsystem: Is a directory

/sys/devices/platform/msi-ec/uevent DRIVER=msi-ec MODALIAS=platform:msi-ec

/sys/devices/platform/msi-ec/webcam unknown (11)

/sys/devices/platform/msi-ec/win_key unknown (32)

How should I proceed to change any of the settings? I'm particularly interested in battery thresholds and keyboard functionalities.

Thank you so much in advance

rottenpants466 commented 1 year ago

You can try to use this app for battery thresholds and other stuff:

https://github.com/dmitry-s93/MControlCenter

BeardOverflow commented 1 year ago

Summary

I will answer you in three parts:

Battery threshold

Your laptop seems to match with the values in the constants.h file for the battery threshold. You can adjust it by 4 ways:

Keyboard backlight

Again, you can adjust it in a similar way to the battery threshold.

Unknown values in your dump

You can contribute to support unknown values in the future. For this and if you are interested, you need dual boot and Dragon Center installed. Try to enable/disable them and copy/paste here the decimal value given. Also, a dmidecode output would be useful.

teackot commented 1 year ago

Hi! I made a couple of debug attributes in my fork, they should help with getting information about your model's EC configuration. Can I please ask you to run them on your laptop? Here's the instruction:

  1. Clone my repo: git clone -b debug https://github.com/teackot/msi-ec.git
  2. Build the module: make
  3. Load the module: sudo make reload
  4. If your keyboard has a backlight, turn it on
  5. Check the known EC addresses: cat /sys/devices/platform/msi-ec/debug > debug.txt
  6. Turn off the backlight
  7. (optional step) try to make your fan work by runnyng a game or some cpu intensive app. This should help determining the fan speed address. Then proceed to step 8 while your fan is working
  8. Run this to get an EC dump. It will take about 10 seconds for i in {1..10}; do echo "dump #$i:" >> ec_dump.txt; cat /sys/devices/platform/msi-ec/ec_dump >> ec_dump.txt; sleep 1; done
  9. Remove the module: sudo modprobe -r msi-ec
  10. Attach the debug.txt and ec_dump.txt files here
jifarina commented 1 year ago

Hi! I am really sorry for the delay but it has been a while since I booted into Linux because of work... This is what the debug.txt looks like (backlight does not turn on)

FW version: 16V4EMS1.114
FW release date: 2022/01/04 13:53:21

CC start threshold (0xef): 90
CC end threshold (0xef): 100
CC start threshold (0xd7): 50
CC end threshold (0xd7): 60

webcam: off

Fn (0xbf): left
Fn (0xe8): left

lid: open
AC: 1

CB: off

SM (0xf2): unknown (112)
SM (0xd2): comfort

FM (0xf4): unknown (46)
FM (0xd4): auto

CPU RT temp: 46
CPU RT fan speed (0x71): 66
CPU RT fan speed (0xc9): ERR
CPU RT fan speed (0xcd): ERR
CPU BS fan speed: 0

GPU RT temp: 46
GPU RT fan speed (0x89): 0
GPU RT fan speed (0xcb): 0

KBD BL (0xf3): 0
KBD BL (0xd3): 2

I run gpu_burn for a couple of minutes and while still running executed the code on step 8 and got this on the dump txt:

dump #1:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 34 00 37 3c 41 46 5a 5f 
0x70 | 64 2d 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 3d 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4a 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b8 00 9b 00 9c 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 36 64 00 00 64 00 03 c0 00 00 02 00 
dump #2:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 34 00 37 3c 41 46 5a 5f 
0x70 | 64 2d 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 3e 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4c 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b8 00 9e 00 9c 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 36 64 00 00 64 00 03 c0 00 00 02 00 
dump #3:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 34 00 37 3c 41 46 5a 5f 
0x70 | 64 2d 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 3e 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4b 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b8 00 9c 00 9c 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 36 64 00 00 64 00 03 c0 00 00 02 00 
dump #4:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b cb 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 34 00 37 3c 41 46 5a 5f 
0x70 | 64 2d 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 3e 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4a 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 9d 00 9d 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 36 64 00 00 64 00 03 c0 00 00 02 00 
dump #5:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 35 00 37 3c 41 46 5a 5f 
0x70 | 64 2d 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 3c 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4a 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 9d 00 9c 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 37 64 00 00 64 00 03 c0 00 00 02 00 
dump #6:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b cb 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 35 00 37 3c 41 46 5a 5f 
0x70 | 64 2d 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 3c 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4c 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 9b 00 9b 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 37 64 00 00 64 00 03 c0 00 00 02 00 
dump #7:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 35 00 37 3c 41 46 5a 5f 
0x70 | 64 2d 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 3a 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4c 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b8 00 9c 00 9d 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 37 64 00 00 64 00 03 c0 00 00 02 00 
dump #8:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 35 00 37 3c 41 46 5a 5f 
0x70 | 64 2d 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 38 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4c 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 9e 00 9d 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 37 64 00 00 64 00 03 c0 00 00 02 00 
dump #9:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 34 00 37 3c 41 46 5a 5f 
0x70 | 64 2d 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 38 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4c 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 a2 00 a0 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 37 64 00 00 64 00 03 c0 00 00 02 00 
dump #10:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 34 00 37 3c 41 46 5a 5f 
0x70 | 64 2d 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 38 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4b 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 a6 00 a2 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 37 64 00 00 64 00 03 c0 00 00 02 00 
dump #1:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b cb 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 3a 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 91 00 92 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #2:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 39 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 92 00 92 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #3:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 3a 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b8 00 91 00 91 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #4:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 3a 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 91 00 92 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #5:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c8 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 3a 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 91 00 91 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #6:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b ca 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 3a 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 91 00 93 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #7:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 3a 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 91 00 92 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #8:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 3a 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 93 00 91 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #9:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 3a 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4e 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 92 00 91 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #10:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c8 3b d3 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 3b 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 92 00 92 00 00 
0xd0 | 00 00 c1 82 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #1:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c8 3b d4 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 39 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4e 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 95 00 94 00 00 
0xd0 | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3b 64 00 00 64 00 03 c0 00 01 02 00 
dump #2:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b cb 3b d4 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 39 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4e 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 96 00 95 00 00 
0xd0 | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3b 64 00 00 64 00 03 c0 00 01 02 00 
dump #3:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d4 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 39 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b5 00 94 00 94 00 00 
0xd0 | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3b 64 00 00 64 00 03 c0 00 01 02 00 
dump #4:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d4 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 39 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4e 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 94 00 94 00 00 
0xd0 | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3b 64 00 00 64 00 03 c0 00 01 02 00 
dump #5:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d4 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 39 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4e 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 93 00 92 00 00 
0xd0 | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3b 64 00 00 64 00 03 c0 00 01 02 00 
dump #6:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c8 3b d4 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 39 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 50 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 91 00 93 00 00 
0xd0 | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3b 64 00 00 64 00 03 c0 00 01 02 00 
dump #7:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d4 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 39 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4e 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 92 00 91 00 00 
0xd0 | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3b 64 00 00 64 00 03 c0 00 01 02 00 
dump #8:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d4 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 39 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 92 00 92 00 00 
0xd0 | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3b 64 00 00 64 00 03 c0 00 01 02 00 
dump #9:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d4 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 39 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4e 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b6 00 93 00 91 00 00 
0xd0 | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
dump #10:
       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0x00 | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x10 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x20 | 00 00 00 00 00 00 00 00 0a 05 00 80 80 04 09 4b 
0x30 | 03 01 00 0d 03 00 50 81 6a 18 60 3b 71 02 c0 00 
0x40 | 35 0c 3b 00 d8 12 00 00 13 0b c9 3b d4 0b f8 43 
0x50 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x60 | 00 00 00 00 00 00 00 00 3a 00 37 3c 41 46 5a 5f 
0x70 | 64 32 2d 32 3c 41 50 55 64 00 08 03 05 05 05 03 
0x80 | 41 00 32 3c 46 52 5a 5d 64 3c 00 2d 3c 46 50 55 
0x90 | 64 00 03 05 05 06 03 03 02 0f 78 02 0f 78 4f 00 
0xa0 | 31 36 56 34 45 4d 53 31 2e 31 31 34 30 31 30 34 
0xb0 | 32 30 32 32 31 33 3a 35 33 3a 32 31 00 00 00 20 
0xc0 | 00 00 06 22 00 00 00 00 00 b7 00 93 00 92 00 00 
0xd0 | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00 
0xe0 | e2 00 00 d8 12 00 00 c1 00 00 00 00 00 c5 00 e4 
0xf0 | 00 00 70 80 3c 64 00 00 64 00 03 c0 00 01 02 00 
teackot commented 1 year ago

Thank you!

Okay, so judging by your debug.txt I can see some of the addresses. And I also have a couple of questions

CC start threshold (0xef): 90 CC end threshold (0xef): 100 CC start threshold (0xd7): 50 CC end threshold (0xd7): 60

Both addresses contain a valid value. Does your laptop charge up to 60% or all the way up to 100% ?

webcam: off

0x2e and 0x2f seem correct. Just to be sure, was your webcam disabled?

Fn (0xbf): left Fn (0xe8): left

Can't tell. If you can switch Fn and Win buttons in the official Windows MSI app and run debug for me again we'll be able to see the right address.

CB: off

May be correct. This parameter's address seems universal.

SM (0xd2): comfort

Looks good to me

FM (0xd4): auto

Looks correct

CPU RT temp: 46 CPU RT fan speed (0x71): 66 CPU BS fan speed: 0 GPU RT temp: 46

These look correct. Looking at EC dump, my laptop has the same behavior as yours.

KBD BL (0xf3): 0 KBD BL (0xd3): 2 backlight does not turn on

I'm leaning towards 0xd3. I can see you run the dump several times and pressed the backlight button between the runs. Am I correct?

jifarina commented 1 year ago

CC start threshold (0xef): 90 CC end threshold (0xef): 100 CC start threshold (0xd7): 50 CC end threshold (0xd7): 60

Both addresses contain a valid value. Does your laptop charge up to 60% or all the way up to 100% ? Currently I have set a charging threshold of 50% (start charging) 60% (stop charging) in my Windows boot. That setting applies to Linux, but I can only set it on Windows.

webcam: off

0x2e and 0x2f seem correct. Just to be sure, was your webcam disabled? Yes, it is off.

Fn (0xbf): left Fn (0xe8): left

Can't tell. If you can switch Fn and Win buttons in the official Windows MSI app and run debug for me again we'll be able to see the right address.

CB: off

May be correct. This parameter's address seems universal. Yes, my guess is that it is the cooler boost Fn+F8 and it works as it should. That also means that the Fn key works, just not together with F10 and F11 to increase or decrease KB backlight.

SM (0xd2): comfort

Looks good to me

FM (0xd4): auto

Looks correct

CPU RT temp: 46 CPU RT fan speed (0x71): 66 CPU BS fan speed: 0 GPU RT temp: 46

These look correct. Looking at EC dump, my laptop has the same behavior as yours.

KBD BL (0xf3): 0 KBD BL (0xd3): 2 backlight does not turn on

I'm leaning towards 0xd3. I can see you run the dump several times and pressed the backlight button between the runs. Am I correct? You are correct

teackot commented 1 year ago

Okay, I added your laptop

If you wish to check it, then:

  1. cd into the project directory
  2. git checkout main
  3. git pull
  4. make
  5. sudo make reload (it may say that "module msi_ec is not currently loaded", you can ignore that)

Here is the list of supported features:

That also means that the Fn key works, just not together with F10 and F11 to increase or decrease KB backlight

Not sure why. My laptop's backlight button is controlled by hardware, so if yours' too then your backlight may be broken. But if it works in windows then it is something on the software side.

jifarina commented 1 year ago

OK. So i succesfully changed my battery threshold using:

echo max >/sys/devices/platform/msi-ec/battery_mode
echo medium >/sys/devices/platform/msi-ec/battery_mode
echo min >/sys/devices/platform/msi-ec/battery_mode

Still no luck with my keyboard BL... Tried using echo 3 > /sys/class/leds/msiacpi::kbd_backlight/brightness But nothing happened. Same thing using Fn+F10. Any suggestions here?

teackot commented 1 year ago

OK. So i succesfully changed my battery threshold using

Great!

But nothing happened. Same thing using Fn+F10. Any suggestions here?

Are you sure your backlight works itself? Pressing Fn+F10 changes [0xd3], so the shortcut works.

jifarina commented 1 year ago

Are you sure your backlight works itself? Pressing Fn+F10 changes [0xd3], so the shortcut works.

Everything works fine on Windows... the issue has to be software related then. Not even through CLI was I able to turn it on.

teackot commented 1 year ago

Then I don't know what the problem is :(

Probably needs more than toggling a single ec address... but I don't know what exactly

jifarina commented 1 year ago

:( is there something I could do while on windows to see what happens under the hood when I turn the backlight on?

On Sat, Feb 18, 2023, 19:05 teackot @.***> wrote:

Then I don't know what the problem is :(

Probably needs more than toggling a single ec address... but I don't know what exactly

— Reply to this email directly, view it on GitHub https://github.com/BeardOverflow/msi-ec/issues/9#issuecomment-1435729723, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYXPENU5AS24TF7RFSDK53WYEFOVANCNFSM6AAAAAARTHY3GQ . You are receiving this because you authored the thread.Message ID: @.***>

teackot commented 1 year ago

Hmm actually there is a Windows app to view EC memory. Its developer commented here. You can switch the backlight and see what changes. You can also play around with different settings in the official MSI Center / MSI Dragon Center / MSI Creator Center and see how it reflects on EC memory

jifarina commented 1 year ago

Can you make sense of this? I started with BL off, opened app, turned BL on and saved the dump.

image

teackot commented 1 year ago

Some of your dump's patterns are very similar to those of MSI Summit E16 Flip laptop, so everything points to [0xd3] being the backlight parameter.

But I have an idea. Several people with RGB laptops reported this parameter not having any effect, so my theory is, maybe this parameter controls the backlight of non-RGB laptops, and RGB laptops have it only for compability reasons. If it is true, then it is out of scope of this driver :frowning_face:. If you want to control it on Linux, try OpenRGB, you might have some luck with it

jifarina commented 1 year ago

Makes sense... I will try my luck with Open RGB then! They don't have support out of the box for my KB but maybe I can find another kind soul like you and make it work!

Thank you very much for your help and time!

El dom, 19 feb 2023 a las 18:11, teackot @.***>) escribió:

Some of your dump's patterns are very similar to those of MSI Summit E16 Flip laptop, so everything points to [0xd3] being the backlight parameter.

But I have an idea. Several people with RGB laptops reported this parameter not having any effect, so my theory is, maybe this parameter controls the backlight of non-RGB laptops, and RGB laptops have it only for compability reasons. If it is true, then it is out of scope of this driver ☹️. If you want to control it on Linux, try OpenRGB, you might have some luck with it

— Reply to this email directly, view it on GitHub https://github.com/BeardOverflow/msi-ec/issues/9#issuecomment-1436041379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYXPEJUZCWZCLV4KIFFPATWYJH5VANCNFSM6AAAAAARTHY3GQ . You are receiving this because you authored the thread.Message ID: @.***>

jifarina commented 1 year ago

Update: got the backlight working flawlessly with msi-perkeyrgb solution

BUT now I can't install msi-ec on Fedora 38, apparently firmware is not supported.