Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request..... info request.... Fedora ARM support #2

Open
jacksnodgrass opened this issue Sep 15, 2023 · 1 comment
Open

feature request..... info request.... Fedora ARM support #2

jacksnodgrass opened this issue Sep 15, 2023 · 1 comment

Comments

@jacksnodgrass
Copy link

Trying to see how the Fedora ARM stuff works. I run this ( and a different php gpio that I found ) and it complains that:

sh: line 1: /sys/class/gpio/export: No such file or directory
sh: line 1: /sys/class/gpio/gpio18/value: No such file or directory

some gpio stuff is missing. I think that it's ok on Debian.... I know that the /sys/class/gpio/export file/dir exists at least.

Is Fedora ARM just broken / not there yet as far as the gpio support goes?

  • jack
@allebb
Copy link
Owner

allebb commented Sep 16, 2023

Hey @jacksnodgrass,

To be honest, I'm not too familiar with running Fedora on the Raspberry Pi but I suspect that you may need to install GPIO support or obtain a build that contains GPIO support for the Raspberry Pi.

EDIT: I just found this post (https://discussion.fedoraproject.org/t/fedora-iot-raspberry-pi-and-gpio-access-in-podman/2153/4) that suggests that Fedora uses a different character device.

Therefore there are a couple of suggestions:-

  1. You could try symlinking the standard (eg. /sys/class/gpio) required paths to /dev/gpiochipN.
  2. See if there is a way for you to install a backport with this support into your existing Fedora installation.
  3. Switch to a distribution/flavor of Fedora that supports the /sys/class/gpio character paths.
  4. ...give me a few weeks (as I'm super busy at the moment) and I'll bake optional support for these paths.

Hope this helps :)

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

No branches or pull requests

2 participants