Skip to content

Harden cog and kodi display device handling#97

Merged
alchark merged 1 commit into
devfrom
cog-kodi-display
Jul 1, 2026
Merged

Harden cog and kodi display device handling#97
alchark merged 1 commit into
devfrom
cog-kodi-display

Conversation

@Yury-MonZon

@Yury-MonZon Yury-MonZon commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Split out from the btrfs stack per review: the cog-seat1.service and kodi-display-gate changes are not tied to btrfs, so they go straight onto dev.

  • Address the SPI panel by its stable by-path name and bind it to a fixed /dev/dri/card0 inside cog's namespace, so DRM card renumbering across kernel builds no longer breaks seat1.
  • Make the kodi display-gate match the main connector on any card rather than a hardcoded cardN.

The handoff removals and shutdown.conf from the original commit move into the profile-migration commit (#96).

@Yury-MonZon Yury-MonZon requested a review from a team June 30, 2026 20:11
@Yury-MonZon Yury-MonZon changed the base branch from dev to btrfs-profiles June 30, 2026 20:52
@Yury-MonZon Yury-MonZon changed the title Cog kodi display Btrfs migration 3: cog/kodi display device handling Jun 30, 2026

@alchark alchark left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please split out the changes to cog-seat1.service and kodi-display-gate into a separate commit directly on top of the dev branch and let's merge them, as they are not tied to the Btrfs changes.

The handoffs removal and shutdown.conf can be squashed into the commit introducing respective profiles instead.

Address the SPI panel by its stable by-path name and bind it to a
fixed /dev/dri/card0 inside cog's namespace, so DRM card renumbering
across kernel builds no longer breaks seat1. Make the kodi
display-gate match the main connector on any card rather than a
hardcoded cardN.
@Yury-MonZon Yury-MonZon changed the title Btrfs migration 3: cog/kodi display device handling Harden cog and kodi display device handling Jul 1, 2026
@Yury-MonZon Yury-MonZon changed the base branch from btrfs-profiles to dev July 1, 2026 08:29
@Yury-MonZon

Copy link
Copy Markdown
Contributor Author

Done. Thanks for the feedback.

@alchark alchark merged commit 0131528 into dev Jul 1, 2026
5 checks passed
@alchark alchark deleted the cog-kodi-display branch July 1, 2026 09:10
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