Skip to content

hardwared: don't gate onroad on device registration - #23

Merged
daggerhashjack merged 1 commit into
nap-devfrom
unregistered-dongle-dev
Aug 20, 2026
Merged

daggerhashjack merged 1 commit into
nap-devfrom
unregistered-dongle-dev

Conversation

@daggerhashjack

Copy link
Copy Markdown

Why

Konik A1 devices lose their comma dongle id when NAP flashes AGNOS 17.2, so DongleId stays UnregisteredDevice and the stock registered_device startup gate never lets the car go onroad.

comma's own comment in hardwared.py already invites forks to skip this check. This drops it, same as sunnypilot. Ignition and the rest of the startup conditions are unchanged. Unregistered devices still skip athenad/uploader in manager.

Change

  • Remove startup_conditions["registered_device"] from system/hardware/hardwared.py
  • Drop the now-unused PC and UNREGISTERED_DONGLE_ID imports

Port of f49e32ae28 from no-gate, which already ran on a Konik A1.

This is also on nap-alpha (6d2af1607d) so testers can pick it up without waiting on this PR.

pre-AP Teslas run on non-comma hardware (e.g. Konik) that never registers with
comma's backend, so a missing dongle id shouldn't keep the car offroad. drop the
registered_device startup gate.
@daggerhashjack
daggerhashjack merged commit 8aea500 into nap-dev Aug 20, 2026
13 checks passed
@daggerhashjack
daggerhashjack deleted the unregistered-dongle-dev branch August 20, 2026 02:34
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