Re: [avrdude-dev] [bug #45256] Raspberry Pi sysfs bug workaround for linuxgpio driver

2015-06-05 Thread Richard Ryniker
The Raspbian GPIO timing issue has been known for quite a while and
discussed at:

  https://github.com/raspberrypi/linux/issues/553

I believe this affects Raspbian only.  I use Fedora 22 on the Raspberry
Pi 2, and Fedora has not changed the customary GPIO semantics.

Pidora (on older Rapsberry Pi boards) also has normal GPIO semantics.

I have no direct experience with the Ubuntu variants.

___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev


Re: [avrdude-dev] [bug #44218] linuxgpio not working with raspberryPi 2. Can't open gpioX/direction : Permission denied. Fixed by little delay

2015-02-14 Thread Richard Ryniker
Problem in Raspbian, discussed in:

  https://github.com/raspberrypi/linux/issues/553

Does not occur in Pidora.  Raspbian decided to extend the export
operation to user space but the implementation is ugly - the write to
/sys/class/gpio/export completes before the user-space logic modifies the
created files, which can disrupt use of those files.

Wait a bit can help, but is unsatisfactory because there is no reliable
definition of how long a bit must be to be effective.  The write to
/sys/class/gpio/export should block until the user-space operation is
complete.

___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev