Skip to content

Conversation

@per1234
Copy link

@per1234 per1234 commented Aug 6, 2018

Setting the reset pin direction immediately after export doesn't allow enough time for the udev rule to give access rights to the gpio user group. This causes avrdude commands run as non-root to fail:

avrdude: linuxspi_gpio_op_wr(): Unable to open file /sys/class/gpio/gpio25/direction

This change has been accepted by the author of the linuxspi programmer code:
kcuzner/avrdude#17

Setting the reset pin direction immediately after export doesn't allow enough time for the udev rule to give access rights to the gpio user group. This causes avrdude commands run as non-root to fail:

avrdude: linuxspi_gpio_op_wr(): Unable to open file /sys/class/gpio/gpio25/direction
@facchinm facchinm merged commit 55c65c0 into facchinm:master Aug 20, 2018
facchinm pushed a commit that referenced this pull request Dec 16, 2020
Improve documentation : add linux installation instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants