bugAVR Downloader/UploaDEr - Bugs: bug #53279, Permission denied accessing...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #53279: Permission denied accessing /sys/class/gpio/gpioX/direction would leave pin exported

Submitted by:  None
Submitted on:  Sat 03 Mar 2018 10:10:16 PM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Michael Cain
Originator Email:  -email is unavailable- Open/Closed:  Open
Release:  6.3 Programmer hardware:  linuxgpio
Device type:  RaspberryPi

Sat 03 Mar 2018 10:10:16 PM UTC, original submission:

When using a Raspberry Pi to program an atmega2560 using linuxgpio and you do not have the permission to access /sys/class/gpio/gpioX/direction it would leave the gpio pin exported. The only way to unexport the pin would be to reboot the Rasbperry Pi.

The problem lies in the function linuxgpio_open, change line 280 from:
if (r < 0)
return r;

TO:
if (r < 0) {
linuxgpio_unexport(pin);
return r;
}

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3