Skip to content

Make repo work with newest Raspberr yPi OS (2026-04-13)#5

Open
ungrichtepfl wants to merge 3 commits into
radxa:masterfrom
ungrichtepfl:master
Open

Make repo work with newest Raspberr yPi OS (2026-04-13)#5
ungrichtepfl wants to merge 3 commits into
radxa:masterfrom
ungrichtepfl:master

Conversation

@ungrichtepfl

Copy link
Copy Markdown

Various changes were needed to make the repo work again with the newest Raspberry Pi OS:

  • Install Python packages into virtualenv
  • Fix wrong config file name (rockpi-penta.conf -> rockpi-quad.conf)
  • Use the newest gpiod API

Signed-off-by: Christoph Ungricht <christoph.ungricht@outlook.com>
Signed-off-by: Christoph Ungricht <christoph.ungricht@outlook.com>
Signed-off-by: Christoph Ungricht <christoph.ungricht@outlook.com>
RlndVt pushed a commit to RlndVt/rockpi-quad that referenced this pull request Jul 1, 2026
Run Python dependencies from a dedicated virtualenv while keeping the distro-provided python3-libgpiod available through system site packages. Add GPIO helpers that use the libgpiod 2.x request_lines API when available and fall back to the 1.x line API on Debian 12.

This keeps button pull-up handling and SATA power line ownership working across Debian 12 and Debian 13.

Based on ideas from radxa#5

Co-authored-by: Christoph Ungricht <christoph.ungricht@outlook.com>
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