Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4890

Python • Re: Raspberry Pi 5 GPIO busy

$
0
0
And if you install the gpiod package you can use the gpioinfo command to find out which lines have been requested and by which app.
Is there any way to clear all pins when it gives me the error?
The only way is to get the current owner of the requested the line to release it. If it is a userspace process then killing the process releases the line. If a kernel driver has the line then you need to disable or reconfigure that driver, though it is often easier to just switch your own application to a different line instead.

Statistics: Posted by warthog618 — Wed Jun 05, 2024 10:05 pm



Viewing all articles
Browse latest Browse all 4890

Trending Articles