Jump to content

Recommended Posts

Posted

every time I configure the IO pins on my Banana PI M1, according to the example below who php:

<?php

exec('echo "4" > /sys/class/gpio/export');
exec('echo "in" > /sys/class/gpio/gpio4/direction');
exec('echo "7" > /sys/class/gpio/export');
exec('echo "in" > /sys/class/gpio/gpio7/direction');

 

I already did it in script, python and in C....

 

and always the same error, my network card stops working, the rest of the hardware works normally, I put a monitor on the hdmi output and the rest of the hardware is normal, only the network card stops working, what to do?
how can I solve? does anyone have any tips?

 

Cristiano Closs

Posted
On 5/5/2023 at 9:35 PM, Cristiano Closs said:

how can I solve? does anyone have any tips?


Most of the gpios are muxed and you must be hitting those that are used with network.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines