← 输入框|github.com|刷新
Skip to content

inputdeck: Show raw board ID ADC voltage on Laptop 16 - #403

Open
JohnAZoidberg wants to merge 1 commit into
mainfrom
inputdeck-mv
Open

JohnAZoidberg wants to merge 1 commit into
mainfrom
inputdeck-mv

Conversation

@JohnAZoidberg

Copy link
Copy Markdown
Member

Version 1 of EC_CMD_CHECK_DECK_STATE additionally returns the raw ADC reading in mV for each of the 8 input deck mux positions. This is useful for debugging input module detection.

If the EC supports it, print the raw board ID and mV of every mux position in --inputdeck. On older EC firmware the section is skipped.

> framework_tool --inputdeck
Chassis Closed:   true
Input Deck State: On
Touchpad present: true
SLEEP# GPIO high: true
Positions:
  Pos 0: KeyboardA
  Pos 1: Disconnected
  Pos 2: Disconnected
  Pos 3: GenericC
  Pos 4: GenericC
Raw Board IDs:
  Top Row 0  ID  12  2131 mV
  Top Row 1  ID  15  2813 mV
  Top Row 2  ID  15  2813 mV
  Top Row 3  ID  10  1652 mV
  Top Row 4  ID  10  1647 mV
  Touchpad   ID  13  2486 mV
  Reserved   ID  15  2813 mV
  Hubboard   ID   7  1031 mV

Version 1 of EC_CMD_CHECK_DECK_STATE additionally returns the raw ADC
reading in mV for each of the 8 input deck mux positions. This is
useful for debugging input module detection.

If the EC supports it, print the raw board ID and mV of every mux
position in `--inputdeck`. On older EC firmware the section is skipped.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
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.

1 participant