Skip to content

GPIO regression due to BeagleBone Blue LED support #178

@ramgu

Description

@ramgu
  • Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
    Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.): Beaglebone Black/Debian 8.9

  • Python version (run python -version or python3 -version): python 2.7.9

  • Error message you are receiving, including any Python exception traces: Traceback (most recent call last):
    File "kk.py", line 3, in
    GPIO.setup("P8_7", GPIO.OUT)
    ValueError: Set gpio value failed, missing file or invalid permissions.
    *
    syslog message:
    "beaglebone python[2434]: gpio_set_value: 66 couldn't open '/sys/class/leds/red/brightness': 2-No such file or directory
    "

  • List the steps to reproduce the problem below (if possible attach code or commands
    to run): **run following python snippet:

    1 import Adafruit_BBIO.GPIO as GPIO
    2
    3 GPIO.setup("P8_7", GPIO.OUT)
    4 GPIO.cleanup()
    **

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions