Skip to content

BeaglePlay Permission Error and Denied #376

@PokemonSimp

Description

@PokemonSimp

I have installed successfully Blinka on the BeaglePlay but Whenever I try to run a simple script that contains "import board" it gives me this error

[Running] python -u "/home/debian/examples/Adafruit Test.py"
Traceback (most recent call last):
File "/home/debian/examples/Adafruit Test.py", line 1, in
import board
File "/home/debian/.local/lib/python3.9/site-packages/board.py", line 21, in
from adafruit_blinka.agnostic import board_id, detector
File "/home/debian/.local/lib/python3.9/site-packages/adafruit_blinka/agnostic/init.py", line 22, in
board_id = detector.board.id
File "/home/debian/.local/lib/python3.9/site-packages/adafruit_platformdetect/board.py", line 72, in id
board_id = self._beaglebone_id()
File "/home/debian/.local/lib/python3.9/site-packages/adafruit_platformdetect/board.py", line 327, in _beaglebone_id
with open("/sys/bus/nvmem/devices/0-00500/nvmem", "rb") as eeprom:
PermissionError: [Errno 13] Permission denied: '/sys/bus/nvmem/devices/0-00500/nvmem'

Information
eeprom:[BEAGLEPLAY-A0-02007801030101640623002465SSSS]
model:[BeagleBoard.org_BeaglePlay]
kernel:[5.10.153-ti-arm64-r86]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions