Skip to content

Package Broken on Newer Versions of Rapberry Pi OS #39

@MatthewJones517

Description

@MatthewJones517

As noted in PR #37, newer versions of Raspberry Pi OS are no longer naming GPIO chips sequentially. On my RPi 400 currently running the latest version of Raspian Lite, I have the following in /dev

  • gpiochip0
  • gpiochip1
  • gpiochip4

The following line of code:

final chips = FlutterGpiod.instance.chips;

Now generates this error:

Could not open GPIO chip 2, path = /dev/gpiochip2

The thing is, I don't have a gpiochip2. Just 0, 1, and 4. I have yet to be able to find a workaround for this. I'm not sure that #37 will fix this, but it seems like the closest thing to my issue that I've found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions