I created script which reads barcode and sends it’s value to PC via USB virtual comm port.
Script works well if I connect camera to PC running Windows or old Slackware Linux.
But if I connect camera to RaspberryPi (Raspbian) or PC with Linux Mint main.py autostart is stopped.
Looks like Raspbian/Linux Mint sends to camera something that stops main.py execution while initialising kernel drivers.
Does anyone have similar problem solved?