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

WIP: detect galp5 board type #142

Closed
wants to merge 1 commit into from
Closed

WIP: detect galp5 board type #142

wants to merge 1 commit into from

Conversation

jackpot51
Copy link
Member

This uses MODEL_ID to detect the board variant

@jackpot51 jackpot51 self-assigned this Jan 27, 2021
@curiousercreative
Copy link
Contributor

@jackpot51 what's outstanding here? I just received my galp5 with dGPU and would like to rebase or cherry-pick this for another PR potentially.

@jackpot51
Copy link
Member Author

@curiousercreative just making sure it detects accurately on a number of systems. You can help by flashing this on any galp5's you have, and giving the output of ./ectool.sh console while you unplug and plug in the AC adapter.

@curiousercreative
Copy link
Contributor

curiousercreative commented Feb 10, 2021

whoa, ./ectool console is very helpful! This is with a dGPU, but in compute mode where the GPU is not being used. Looks to be working!

DGPU temp=0
PECI temp=3286 = 16225
DGPU temp=0
PECI temp=3281 = 16225
set_power_limit 65 = 64
have_dgpu before 1
VCH7 0x03FF
have_dgpu after 1
set_power_limit 65 = 64
have_dgpu before 1
VCH7 0x03FF
have_dgpu after 1
Power adapter plugged in
Charger enabled
Battery:
  Temperature: 0C05
  Voltage: 3C0C
  Current: FDE8
  Charge: 003F
  Status: 00C0
Charger (oz26786):
  ChargeCurrent: 0600
  ChargeVoltage: 43F0
  ChargeOption_1: 0800
  ChargeOption_2: 0800
  AdapterCurrent: 0600
BAT 15372 mV -536 mA
PECI temp=3273 = 16225
BAT 16029 mV 1513 mA
DGPU temp=0
PECI temp=3282 = 16225
set_power_limit 28 = 64
have_dgpu before 1
VCH7 0x03FF
have_dgpu after 1
set_power_limit 28 = 64
have_dgpu before 1
VCH7 0x03FF
have_dgpu after 1
Power adapter unplugged
Charger disabled
Battery:
  Temperature: 0C04
  Voltage: 3E9C
  Current: 05E9
  Charge: 003F
  Status: 0080
Charger (oz26786):
  ChargeCurrent: 0000
  ChargeVoltage: 0000
  ChargeOption_1: 0800
  ChargeOption_2: 0800
  AdapterCurrent: 0600
DGPU temp=0
PECI temp=3277 = 16225
DGPU temp=0

p.s. the strange PECI temp log has been fixed in latest commit to fans-rebase branch

@jackpot51
Copy link
Member Author

We probably won't need this, with fan syncing

@jackpot51 jackpot51 closed this Feb 26, 2021
@jackpot51 jackpot51 deleted the galp5-dgpu branch February 26, 2021 20:07
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

Successfully merging this pull request may close these issues.

2 participants