avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] [bug #44218] linuxgpio not working with raspberryPi 2.


From: Richard Ryniker
Subject: Re: [avrdude-dev] [bug #44218] linuxgpio not working with raspberryPi 2. "Can't open gpioX/direction" : Permission denied. Fixed by little delay
Date: Sat, 14 Feb 2015 09:03:00 -0500

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]