Skip to content

Use command to activate PTT #480

Closed
Closed
@wayneworkman

Description

@wayneworkman

Hello, I'm using the AML-S905X-CC Libre Computer Board to run Direwolf.

I'm trying to use GPIO pin 8 for DTS and pin 10 for RTS with an EASY DIGI isolation board.

I can activate PTT on my radio by setting pin 8 high using the gpiod tools like this:

lgpio set 8=1

When trying to configure DIrewolf to use GPIO 8 for PTT, I get this error:

Error writing "8" to /sys/class/gpio/export, errno=22
Invalid argument

When I try to set GPIO 8 high manually with sysfs like such, I get this.

echo 8 > /sys/class/gpio/export
-bash: echo: write error: Invalid argument

Since the sysfs method is not working, how can I set Direwolf to issue a command for controlling PTT / RTS / DTS ? Or, is there a better way altogether to control hardware that has proper kernel drivers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions