MAVProxy connection results in GPIO_Sysfs error

I’m trying to connect to my drone (hardware: Navio2+RP3A+) via MAVProxy. On Terminal on my mac I use the following command:

mavproxy.py --master 192.168.1.155:14550

where the IP 192.168.1.155 is the one of my mac, not of RP3A+. What I get is an infinite loop of GPIO_Sysfs regarding pin 4 and pin 16. I thought this error was only occurring on 3.6.5 version but I just updated to 3.6.11 on purpose … and it’s still there.

Any suggestions about how to fix this?

Thanks
Emanuel

Connect 192.168.1.155:14550 source_system=255
Log Directory: 
Telemetry log: mav.tlog
Waiting for heartbeat from 192.168.1.155:14550
 MAV> online system 1
STABILIZE> Mode STABILIZE
GPIO_Sysfs: Unable to get value file descriptor for pin 4.
GPIO_Sysfs: Unable to write pin 16 value.
GPIO_Sysfs: Unable to get value file descriptor for pin 4.
GPIO_Sysfs: Unable to write pin 16 value.
GPIO_Sysfs: Unable to get value file descriptor for pin 4.
GPIO_Sysfs: Unable to write pin 16 value.
GPIO_Sysfs: Unable to get value file descriptor for pin 4.
GPIO_Sysfs: Unable to write pin 16 value.
GPIO_Sysfs: Unable to get value file descriptor for pin 4.
GPIO_Sysfs: Unable to write pin 16 value.
fence present
fence enabled
fence breach
GPIO_Sysfs: Unable to get value file descriptor for pin 4.
GPIO_Sysfs: Unable to write pin 16 value.
GPIO_Sysfs: Unable to get value file descriptor for pin 4.
GPIO_Sysfs: Unable to write pin 16 value.
GPIO_Sysfs: Unable to get value file descriptor for pin 4.
GPIO_Sysfs: Unable to write pin 16 value.
GPIO_Sysfs: Unable to get value file descriptor for pin 4.
......
and so on
.....

Hi Emanuel,

We are looking into this issue.

In the meantime, you can try the workaround proposed in this thread.

Thanks for you feedback, I have seen this in a old post … I thought it was already solved with the .11 version.

Might be that this error have effects on the performance of the communication? I will set “shownoise” to False but at least it would be interesting to know if on the background the MAVProxy communication keep working properly or this error have an impact on it …

Thanks, Emanuel

@gleb.gira Might be that this error has effects on the performance of the communication?

I will set “shownoise” to False but at least it would be interesting to know if on the background the MAVProxy communication keeps working properly or this error has an impact on it …

Hi Emanuel,

We’ll look into how this may affect MAVProxy communication, and I’ll write back to you. Thanks!

Hi @Therkc,

Could you please provide us with the screenshots demonstrating your step-by-step actions? It’ll help a lot in understanding what may go wrong.