Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GS66 11UE #9

Open
jifarina opened this issue Oct 31, 2022 · 17 comments
Open

GS66 11UE #9

jifarina opened this issue Oct 31, 2022 · 17 comments

Comments

@jifarina
Copy link

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
Copy link
Contributor

rottenpants466 commented Nov 1, 2022

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

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

@BeardOverflow
Copy link
Owner

Summary

I will answer you in three parts:

  • Battery threshold
  • Keyboard backlight
  • Unknown values in your dump

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:

  • From custom sysfs (see README.md)
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
  • From power_supply subsystem (see README.md)
echo 100 > /sys/class/power_supply/BAT0/charge_control_end_threshold
echo 80 > /sys/class/power_supply/BAT0/charge_control_end_threshold
echo 60 > /sys/class/power_supply/BAT0/charge_control_end_threshold
  • From your desktop environment with power_supply integration (e.g: KDE since 5.22)
  • From some GUIs as MControlCenter as suggets @rottenpants466 in the previous message

Keyboard backlight

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

  • From custom sysfs
    Not implemented
  • From led subsystem (see README.md):
echo 1 > /sys/class/leds/platform::led0/brightness
echo 2 > /sys/class/leds/msiacpi::kbd_backlight/brightness
  • From your desktop environment with led subsystem integration

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
Copy link
Collaborator

teackot commented Jan 27, 2023

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
Copy link
Author

jifarina commented Feb 9, 2023

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
Copy link
Collaborator

teackot commented Feb 9, 2023

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
Copy link
Author

jifarina commented Feb 9, 2023

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 added a commit to teackot/msi-ec that referenced this issue Feb 11, 2023
@teackot
Copy link
Collaborator

teackot commented Feb 11, 2023

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:

  • battery thresholds (charge_control_start_threshold and charge_control_end_threshold)
  • webcam (webcam)
  • webcam block (webcam_block), (if you block it, it can't be enabled by pressing a keyboard button)
  • cooler boost (cooler_boost)
  • eco, comfort and sport shift modes (shift_mode)
  • auto and silent fan modes (fan_mode)
  • CPU temperature (cpu/realtime_temperature)
  • GPU temperature (gpu/realtime_temperature)
  • not sure: GPU fan speed (gpu/realtime_fan_speed)
  • keyboard backlight

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
Copy link
Author

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
Copy link
Collaborator

teackot commented Feb 18, 2023

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
Copy link
Author

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
Copy link
Collaborator

teackot commented Feb 18, 2023

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
Copy link
Author

jifarina commented Feb 18, 2023 via email

@teackot
Copy link
Collaborator

teackot commented Feb 18, 2023

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
Copy link
Author

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

image

@teackot
Copy link
Collaborator

teackot commented Feb 19, 2023

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

@jifarina
Copy link
Author

jifarina commented Feb 19, 2023 via email

@jifarina
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants