bugAVR Downloader/UploaDEr - Bugs: bug #47550, Linux GPIO broken

 
 

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

bug #47550: Linux GPIO broken

Submitter:  None
Submitted:  Sun 27 Mar 2016 07:24:40 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Valentin Milea
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Sat 29 Jun 2019 10:20:13 AM UTC, comment #2: 

Hello Joerg,

I cannot help but notice that the latest release of avrdude (6.3) still has this issue.
Is there a reason no update was ever put out?
I'd really like to see this work for linuxgpio to work correctly out of the box.

At this moment I'm trying to resurrect a arduino nano that has no bootloader, and I got it to work using this information, but still...

With kind regards,

Floris Groenendijk

Floris Groenendijk <weirdall>
Mon 28 Mar 2016 05:30:19 PM UTC, comment #1: 

Ouch.  Thanks for reporting!

Fixed in r1388.

Joerg Wunsch <joerg_wunsch>
Group administrator
Sun 27 Mar 2016 07:24:40 PM UTC, original submission:  

snprintf() is being used in linuxgpio.c to convert unsigned GPIO numbers. A recent commit has changed the format from "%d" to "%ud". "%u" is a valid conversion specifier, while the trailing 'd' ends up being printed (e.g. '17d' instead of '17').

This causes GPIO setup to fail:
Can't export GPIO 17, already exported/busy?: Invalid argument

Please replace "%ud" with "%u".

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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 weirdall (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-28 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code