Page 1 of 1

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

Posted: 06 Nov 2024, 19:49
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?

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

Posted: 06 Nov 2024, 22:08
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