Skip to content

linuxgpio/libgpiod: using GPIOs on different chips #2027

@mcuee

Description

@mcuee

Discussed in #2015

Originally posted by guillaume-jcb June 12, 2025
Hello,

I'm trying to use a Coral board to program an Atmega 128a chip using the linuxgpio programmer. The Coral board exposes a few GPIO lines from different chips, as shown here: https://coral.ai/docs/dev-board/gpio/#header-pinout.

Since four GPIO lines are needed, I must use pins wired on different chips but it seems that − when arvdude is built with libgpiod support − it is assumed that all lines belong to a same chip, as can be inferred from the default_linuxgpio variable.

If libgpiod support is disabled, avrdude falls back to gool old sysfs GPIO interface which seems to work fine with this setup.

Am I overlooking something? Is it a known limitation of using libgpiod?

Thanks in advance for any insight! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions