Skip to content

Python library not working in Raspian Stretch #1

@aivarannamaa

Description

@aivarannamaa

With Raspbian Jessie I could control my Initio with PiRoCon 2.0 from Python without problems, using the modules downloaded by https://4tronix.co.uk/initio.sh.

Now I upgraded to Raspbian Stretch and downloaded the modules again, but this time Initio doesn't react and I get errors:

> python servoTest.py
servod: Cannot parse the hardware name string
Use Arrows or W-Up, Z-Down, A-Left, S-Right Space=Centre, ^C=Exit:
sh: 1: cannot create /dev/servoblaster: Permission denied
sh: 1: cannot create /dev/servoblaster: Permission denied
Up 10
sh: 1: cannot create /dev/servoblaster: Permission denied
sh: 1: cannot create /dev/servoblaster: Permission denied
Down 0

When I run the script with sudo, then permission error goes away, but "servod: Cannot parse the hardware name string" remains.

The situation is similar with other demo scripts (irTest.py, motorTest2.py, ...)

How can I get my Initio working under Rasbpian Stretch?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions