I am using a NanoPC-T4 running Linux (specifically Ubuntu 18.04.1 LTS). I have downloaded all pixy2 software and have successfully built all the utilities as well as Pixymon, and have copied the permissions file to /etc/udev/rules.d. After plugging in the pixy2, the lsusb command shows the appropriate entry as indicated in the wiki. The issues I describe here occur with two different cameras, both of which work fine when plugged in under Windows. I have installed the latest firmware on the cameras.
When on the linux system, I have tried plugging them in a USB 3.0, USB 2.0 and a powered hub (to eliminate any power related issues) but the problem remains, which is simply that the camera is not detected.
Specifically, when I run (using sudo) the various utilities (such as get_blocks_cpp_demo) I get an error “pixy.init() returned -3”.
I have also fully built Pixymon and when I run it (with sudo and without sudo) I get a similar situation, but the status bar message at the bottom reads “Unable to connect to device”.
I noticed that if I leave Pixymon running and unplug the camera, the status bar reads “Unable to open USB device” but once I plug in the camera, the message changes to “Unable to connect to device”. The program seems to go through a cycle where the GUI elements temporarily became enabled and then disabled. If I enable the console window, the message shows:
error: Unable to connect to device.
The “About” menu brings up more information in the textbox:
PixyMon v2 version 3.0.24
Pixy2 firmware version 1.0.0 build (queried)
Pixy2 hardware version 0.0 (queried)
I have seen at least one other person post a more or less identical issue and wanted to add my issue as it doesn’t seem to be an isolated incident. Any help would be greatly appreciated.