bugAVR Downloader/UploaDEr - Bugs: bug #42158, Linux GPIO - Source Typo


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

bug #42158: Linux GPIO - Source Typo

Submitted by:  Andy Simpkins <rattusrattus>
Submitted on:  Mon 21 Apr 2014 04:50:27 PM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Ready For TestPrivacy: Public
Assigned to: Rene Liebscher <rliebscher>Originator Name: Andy Simpkins
Open/Closed: Open

Tue 28 Apr 2015 02:00:03 AM UTC, comment #2:

I can confirm that this fix works. It also is important especially for the BeagleBone, because its GPIOs are overloaded with other functions, so not all of them are available, and in fact almost none of the pins below 32 are available.

So please can this be included in a release some time soon?

Thank you very much,

Bas Wijnen <shevek>
Wed 07 May 2014 08:54:27 PM UTC, comment #1:

Fixed in revision 1299

Rene Liebscher <rliebscher>
Project MemberIn charge of this item.
Mon 21 Apr 2014 04:50:27 PM UTC, original submission:

Hi there,

This is causing me problems with implementing bit
bashed sysfs gpio on armhf (in this case a beagle bone black and
derivative) i.e. type = "linuxgpio"
attempting to configure GPIO line 45 failed with the error message:
"pin must be in the range 0-31"

Many thanks for all your hard work.


The definition HAVE_LINUX_GPIO is used to set PIN_MAX between either 31
(default) or 255, however it is called HAVE_LINUXGPIO in the rest of the


I use a custom config file: lwb-avrdude.conf
id = "keyboard";
desc = "Toby Churchill Ltd. LWB platform, keyboard";
type = "linuxgpio";
reset = ~45;
sck = 2;
mosi = 3;
miso = 5;

call avrdude thus:
avrdude -v -p m32 -C ./lwb-avrdude.conf -c keyboard -e

avrdude: Version 6.1, compiled on Apr 16 2014 at 17:41:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "./lwb-avrdude.conf"
avrdude: error at line 5 of ./lwb-avrdude.conf: pin must be in the range

Andy Simpkins <rattusrattus>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by shevek (Posted a comment)
  • -unavailable- added by rliebscher (Posted a comment)
  • -unavailable- added by rattusrattus
  • -unavailable- added by rattusrattus (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 May 2014 08:54:27 PM UTCrliebscherStatusNone=>Ready For Test
      Assigned toNone=>rliebscher
    Mon 21 Apr 2014 04:50:28 PM UTCrattusrattusCarbon-Copy-=>Added rattusrattus

    Back to the top

    Powered by Savane 3.1-cleanup