GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [RFC] fwk: lotus: debounce input deck power-off by arthurvanh · Pull Request #97 · FrameworkComputer/EmbeddedController

Conversation

@arthurvanh

@arthurvanh arthurvanh commented Oct 29, 2026

Copy link
Copy Markdown

Untested – not built or flashed; I didn't want to flash the EC on my work laptop.

A single full scan in which any hub board ID channel misreads cuts input deck power immediately, while power-on is already debounced by INPUT_MODULE_POWER_ON_DELAY. On affected units this power-cycles the keyboard and touchpad every few seconds in Auto mode.

Require the deck to read as not fully populated for more than INPUT_MODULE_DISCON_DEBOUNCE before powering it off.

Evidence (Laptop 16, Ryzen AI 7 350, BIOS 04.01, EC tulip-4.0.1-9b2a0b1)

  • 639 keyboard USB disconnects in 24 h in Auto mode. 87% were back within 1 s, consistent with one bad scan followed by the 300 ms power-on delay.
  • Reproducible at runtime: framework_tool --inputdeck-mode auto → drops within seconds; --inputdeck-mode on → stable immediately.
  • framework_tool --inputdeck reports the same modules (Pos 1 FullWidth, touchpad present) even in snapshots taken while the deck state is Disconnected/TurningOn.
  • Always on (BIOS or --inputdeck-mode on) works around it.

Possibly related: https://community.frame.work/t/framework-16-keyboard-numpad-and-touchpad-disconnect-stop-working/67132/18

Note: I used AI to help write the commit message and analysis.

BRANCH=fwk-tulip-29169
BUG=input deck power-cycles every few seconds in Auto mode
TEST=none; not built or flashed (work machine). Needs verification on hardware: Auto mode should show no keyboard USB disconnects, and removing a module should still power the deck off.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kiewy
fwk: lotus: debounce input deck power-off
db70b58
A single full scan in which any hub board ID channel misreads cuts
input deck power immediately, while power-on is already debounced by
INPUT_MODULE_POWER_ON_DELAY. On affected units this power-cycles the
keyboard and touchpad every few seconds in Auto mode.

Require the deck to read as not fully populated for more than
INPUT_MODULE_DISCON_DEBOUNCE before powering it off.

BRANCH=fwk-tulip-29169
BUG=input deck power-cycles every few seconds in Auto mode
TEST=none; not built or flashed (work machine). Needs verification on
hardware: Auto mode should show no keyboard USB disconnects, and
removing a module should still power the deck off.

Signed-off-by: Arthur <[email protected]>
@arthurvanh
arthurvanh marked this pull request as ready for review October 30, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@arthurvanh @kiewy
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.