OSError: [Errno 22] Invalid argument: '/dev/piControl0'

Moderator: RevPiModIO

Post Reply
tylerjm
Posts: 1
Joined: 06 Nov 2024, 18:17

OSError: [Errno 22] Invalid argument: '/dev/piControl0'

Post by tylerjm »

I have successfully been running our production software which utilizes the revpimodio2 python module to control I/O on over 50 revpi units. Today, I flashed a new unit and ran the software but am receiving the following error:

OSError: [Errno 22] Invalid argument: '/dev/piControl0'

This occurs when the revpimodio2 python class is instantiated.

Code: Select all

import revpimodio2

Code: Select all

rpi = revpimodio2.RevPiModIO(autorefresh=True)
Has anyone else run into this before?
User avatar
nicolaiB
KUNBUS
Posts: 916
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: OSError: [Errno 22] Invalid argument: '/dev/piControl0'

Post by nicolaiB »

Looks like the piControl driver is not running / missing. What is the output of the following commands:
  • ls -l /dev/piControl0
  • uname -a
  • cat /etc/revpi/image-release
Nicolai
Post Reply