Skip to content

Running as root #62

Closed
Closed
@matzeema

Description

@matzeema

I'm currently trying to build a own library to communicate with the GPIOs to use UART and PWM. I am using the wiringPi library because it supports both interfaces. The problem is that wiringPi needs root permission to initialize PWM. I already searched for other solutions to run wiringPi without root but didn't find a lot.

So I just came to the point to run flutter-pi as root which doesn't seem to work.

pi@raspberrypi:~/projects/kart_project $ sudo flutter-pi .
sudo: flutter-pi: command not found

I was extra confused when I read this in README.md at the Fixing the GPU permissions part:

Otherwise, you'll need to run flutter-pi with sudo.

So is this a problem of flutter-pi or is there something wrong with my machine?

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