GPIO control for the test-build-3 with radxa-zero_debian_bookworm-test_cli_t3.img.xz

Hi,

I’m looking for the gpio control for this image : https://github.com/radxa-build/radxa-zero/releases/download/test-build-3/radxa-zero_debian_bookworm-test_cli_t3.img.xz

librmaa does not seem to exist in this repository so i cannot install it.

if i add the repository in this tutorial :https://wiki.radxa.com/Zero/dev/libmraa (buster)

i get broken packages:

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libmraa : Depends: libjson-c3 but it is not installable
Depends: python but it is not installable
Depends: python2.7 but it is not installable
Depends: libpython2.7 but it is not installable
Depends: python3.7 but it is not installable
Depends: libpython3.7 but it is not installable
E: Unable to correct problems, you have held broken packages.

is there another was to control GPIO?
Please advise

Libmraa may not able to installed by apt now, you need to build it, and you can refer to this. For GPIO control, libgpiod works too.

Hello,

I don’t think the link you provided is correct, the page is blank, unfortunately.

is this the link for recompiling the libmraa library?

https://wiki.radxa.com/Mraa, this is a link which teaches how to compile libmraa.

I have the same problem in my board, im using the bookworm debian version, I managed to install mraa building from source but the problem is that its neither recognizing the gpio ports nor allowing me to use the library in python:

image

how can I solve it?

What’s the installation cmd ?

Radxa Zero is not yet supported by Mraa.
You can try python lib periphery.

1 Like