YoyPa / isw

Ice-Sealed Wyvern
GNU General Public License v3.0
385 stars 78 forks source link

GS66 Stealth with rtx 2080 super max q #184

Open guidocalvano opened 3 years ago

guidocalvano commented 3 years ago

EC dump 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000020 00 00 00 00 00 00 00 00 00 00 00 80 c8 06 0b 4b >...............K< 000030 03 09 01 0d 50 0a 05 00 6a 18 60 3b 71 02 e0 00 >....P...j.`;q...< 000040 00 00 64 00 bc 16 00 00 bc 16 fd 41 15 0c 00 00 >..d........A....< 000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000060 00 00 00 00 00 00 00 00 5d 00 37 3c 41 46 5a 5f >........].7<AFZ< 000070 64 55 23 32 3c 48 50 55 64 00 08 07 05 05 05 03 >dU#2<HPUd.......< 000080 45 00 32 3c 46 52 5a 5d 64 48 00 32 3c 48 50 55 >E.2<FRZ]dH.2<HPU< 000090 64 00 03 05 05 06 03 03 02 00 7d 02 00 64 00 00 >d.........}..d..< 0000a0 31 36 56 31 45 4d 53 31 2e 31 31 32 30 35 30 35 >16V1EMS1.1120505< 0000b0 32 30 32 30 31 34 3a 30 35 3a 34 37 bc 16 00 00 >202014:05:47....< 0000c0 00 02 23 00 00 9e c0 00 01 29 00 80 00 5f 00 00 >..#......).....< 0000d0 00 00 00 00 70 00 00 00 00 00 00 80 00 00 00 00 >....p...........< 0000e0 e2 02 00 4b 10 00 00 00 00 00 00 00 00 84 00 80 >...K............< 0000f0 00 00 80 82 0d 00 05 00 00 7f 00 00 00 00 00 00 >................< 000100

Profile dump Value set @ address Fan mode 0xd(13) 0xf4(byte244) Unknown

Value set @ address Charging below - stop @ 0x80(128) 0xef(byte239) Nothing is set

-----------CPU----------- -----------GPU----------- Value set @ address Value set @ address 0x37(55°C) 0x6a(byte106) 0x32(50°C) 0x82(byte130) 0x3c(60°C) 0x6b(byte107) 0x3c(60°C) 0x83(byte131) 0x41(65°C) 0x6c(byte108) 0x46(70°C) 0x84(byte132) 0x46(70°C) 0x6d(byte109) 0x52(82°C) 0x85(byte133) 0x5a(90°C) 0x6e(byte110) 0x5a(90°C) 0x86(byte134) 0x5f(95°C) 0x6f(byte111) 0x5d(93°C) 0x87(byte135)

0x23(35%) 0x72(byte114) 0x0(0%) 0x8a(byte138) 0x32(50%) 0x73(byte115) 0x32(50%) 0x8b(byte139) 0x3c(60%) 0x74(byte116) 0x3c(60%) 0x8c(byte140) 0x48(72%) 0x75(byte117) 0x48(72%) 0x8d(byte141) 0x50(80%) 0x76(byte118) 0x50(80%) 0x8e(byte142) 0x55(85%) 0x77(byte119) 0x55(85%) 0x8f(byte143) 0x64(100%) 0x78(byte120) 0x64(100%) 0x90(byte144)

guidocalvano commented 3 years ago

I unplugged my power because I think I loaded isw in the ec

EC dump 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000020 00 00 00 00 00 00 00 00 00 00 00 80 c8 06 0b 4b >...............K< 000030 02 0d 01 0d 50 0a 05 00 6a 18 60 3b 71 02 e0 00 >....P...j.`;q...< 000040 00 00 64 00 bc 16 7c f3 bc 16 34 3f 18 0c 00 00 >..d...|...4?....< 000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000060 00 00 00 00 00 00 00 00 51 00 37 3c 41 46 5a 5f >........Q.7<AFZ_< 000070 64 50 23 32 3c 48 50 55 64 00 08 07 05 05 05 03 >dP#2<HPUd.......< 000080 45 00 32 3c 46 52 5a 5d 64 48 00 32 3c 48 50 55 >E.2<FRZ]dH.2<HPU< 000090 64 00 03 05 05 06 03 03 02 00 7d 02 00 64 00 00 >d.........}..d..< 0000a0 31 36 56 31 45 4d 53 31 2e 31 31 32 30 35 30 35 >16V1EMS1.1120505< 0000b0 32 30 32 30 31 34 3a 30 35 3a 34 37 bc 16 00 00 >202014:05:47....< 0000c0 00 02 23 00 00 9e 40 00 00 01 00 6f 00 65 00 00 >..#...@....o.e..< 0000d0 00 00 00 00 70 00 00 00 00 00 00 80 00 00 00 00 >....p...........< 0000e0 e2 02 00 4b 10 00 00 00 00 00 00 00 00 83 00 80 >...K............< 0000f0 00 00 80 82 0d 00 05 00 00 70 00 00 00 00 00 00 >.........p......< 000100

Profile dump Value set @ address Fan mode 0xd(13) 0xf4(byte244) Unknown

Value set @ address Charging below - stop @ 0x80(128) 0xef(byte239) Nothing is set

-----------CPU----------- -----------GPU----------- Value set @ address Value set @ address 0x37(55°C) 0x6a(byte106) 0x32(50°C) 0x82(byte130) 0x3c(60°C) 0x6b(byte107) 0x3c(60°C) 0x83(byte131) 0x41(65°C) 0x6c(byte108) 0x46(70°C) 0x84(byte132) 0x46(70°C) 0x6d(byte109) 0x52(82°C) 0x85(byte133) 0x5a(90°C) 0x6e(byte110) 0x5a(90°C) 0x86(byte134) 0x5f(95°C) 0x6f(byte111) 0x5d(93°C) 0x87(byte135)

0x23(35%) 0x72(byte114) 0x0(0%) 0x8a(byte138) 0x32(50%) 0x73(byte115) 0x32(50%) 0x8b(byte139) 0x3c(60%) 0x74(byte116) 0x3c(60%) 0x8c(byte140) 0x48(72%) 0x75(byte117) 0x48(72%) 0x8d(byte141) 0x50(80%) 0x76(byte118) 0x50(80%) 0x8e(byte142) 0x55(85%) 0x77(byte119) 0x55(85%) 0x8f(byte143) 0x64(100%) 0x78(byte120) 0x64(100%) 0x90(byte144)

guidocalvano commented 3 years ago

Some more interesting stuff:

I ran isw -b on and isw -b off and the fan did not change.

So I have this option on my keyboard to turn on the boost fan. And then I did a dump of the ec state for both off and on. This is the (interesting) result (differences highlighted in bold):

~/code/isw master P: C: 1 year, 2 months ago off EC dump 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000020 00 00 00 00 00 00 00 00 00 00 00 80 c8 06 0b 4b >...............K< 000030 03 09 01 0d 50 0a 05 00 6a 18 60 3b 71 02 e0 00 >....P...j.`;q...< 000040 00 00 62 00 bc 16 00 00 37 16 9c 41 d0 0b 00 00 >..b.....7..A....< 000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000060 00 00 00 00 00 00 00 00 5e 00 37 3c 41 46 5a 5f >........^.7<AFZ_< 000070 64 64 23 32 3c 48 50 55 64 00 08 07 05 05 05 03 >dd#2<HPUd.......< 000080 4a 00 32 3c 46 52 5a 5d 64 48 00 32 3c 48 50 55 >J.2<FRZ]dH.2<HPU< 000090 64 00 03 05 05 06 03 03 02 00 7d 02 00 64 00 00 >d.........}..d..< 0000a0 31 36 56 31 45 4d 53 31 2e 31 31 32 30 35 30 35 >16V1EMS1.1120505< 0000b0 32 30 32 30 31 34 3a 30 35 3a 34 37 bc 16 00 00 >202014:05:47....< 0000c0 00 02 23 00 00 9e c0 00 01 01 00 64 00 51 00 00 >..#........d.Q..< 0000d0 00 00 00 00 70 00 00 00 00 00 00 80 00 00 00 00 >....p...........< 0000e0 e2 02 00 4b 10 00 00 00 00 00 00 00 00 84 00 80 >...K............< 0000f0 00 00 80 82 0d 00 05 00 00 70 00 00 00 00 00 00 >.........p......< 000100

on

EC dump 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000020 00 00 00 00 00 00 00 00 00 00 00 80 c8 06 0b 4b >...............K< 000030 03 09 01 0d 50 0a 05 00 6a 18 60 3b 71 02 e0 00 >....P...j.`;q...< 000040 00 00 62 00 bc 16 00 00 37 16 9a 41 d7 0b 00 00 >..b.....7..A....< 000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< 000060 00 00 00 00 00 00 00 00 5f 00 37 3c 41 46 5a 5f >.........7<AFZ< 000070 64 64 23 32 3c 48 50 55 64 00 08 07 05 05 05 03 >dd#2<HPUd.......< 000080 4c 00 32 3c 46 52 5a 5d 64 48 00 32 3c 48 50 55 >L.2<FRZ]dH.2<HPU< 000090 64 00 03 05 05 06 03 03 82 00 7d 02 00 64 00 00 >d.........}..d..< 0000a0 31 36 56 31 45 4d 53 31 2e 31 31 32 30 35 30 35 >16V1EMS1.1120505< 0000b0 32 30 32 30 31 34 3a 30 35 3a 34 37 bc 16 00 00 >202014:05:47....< 0000c0 00 02 23 00 00 9e c0 00 01 11 00 34 00 33 00 00 >..#........4.3..< 0000d0 00 00 00 00 70 00 00 00 00 00 00 80 00 00 00 00 >....p...........< 0000e0 e2 02 00 4b 10 00 00 00 00 00 00 00 00 84 00 80 >...K............< 0000f0 00 00 80 82 0d 00 05 00 00 38 00 00 00 00 00 00 >.........8......< 000100

guidocalvano commented 3 years ago

OK one more experiment!

I did another dump, this time twice with the boost option turned off, looking for the values that changed anyway.

Changes on the 000040 row: 000040 00 00 62 00 bc 16 00 00 37 16 99 41 14 0c 00 00 >..b.....7..A....< 000040 00 00 62 00 bc 16 00 00 37 16 9a 41 14 0c 00 00 >..b.....7..A....<

No changes on the 000090 row: 000090 64 00 03 05 05 06 03 03 02 00 7d 02 00 64 00 00 >d.........}..d..< 000090 64 00 03 05 05 06 03 03 02 00 7d 02 00 64 00 00 >d.........}..d..<

Changes on the 0000c0 row: 0000c0 00 02 23 00 00 9e c0 00 00 fd 00 70 00 50 00 00 >..#........p.P..< 0000c0 00 02 23 00 00 9e c0 00 01 09 00 71 00 50 00 00 >..#........q.P..<

0000f0 00 00 80 82 0d 00 05 00 00 70 00 00 00 00 00 00 >.........p......< 0000f0 00 00 80 82 0d 00 05 00 00 71 00 00 00 00 00 00 >.........q......<

I also experimented sending values 130 and 2 with isw -s S S (which seem to be the values that my laptop button set) and that also doesn't change the fan speed.