• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
USB camera issues
#1
Hi,

I have a docker container with a Python application that connects to a USB (infrared) camera. 

The docker container runs fine on the Raspberry Pi 3 B, but not on the netPI. 

On the netPI, additionally to running in privileged mode, I have added following devices: 
/dev/gpiomem (for digital IO), 
/dev/bus (for usb; I also tried with just /dev/bus/usb), 
/dev/video0, and
/dev/hidraw0.


The camera library complains about data corruption and "select error". Since, the problem does not appear on the Raspberry Pi and happens inside code I do not own, I see no way how to debug this.

Any idea what other docker container configuration could be missing? Or any ideas on how to investigate this?

Some extra details, just in case:
- The RaspberryPi is connected to the intranet via Wifi, the netPi via Ethernet.
- Infrared Camera: Optris Xi400, https://www.optris.global/optris-xi-400
- Camera SDK for Linux: http://documentation.evocortex.com/libir...index.htmlhttps://evocortex.org/downloads/
- The container is based on the image https://hub.docker.com/r/balenalib/raspberry-pi (balenalib/raspberry-pi-debian-python:3.7.4).
- The Python app also reads and write some GPIOs.
- There's a second container running Redis.

Thanks,
david.
  Reply


Messages In This Thread
USB camera issues - by dcatteeu - September-12th-2019, 08:27 AM
RE: USB camera issues - by Armin@netPI - September-12th-2019, 08:41 AM
RE: USB camera issues - by dcatteeu - September-12th-2019, 08:54 AM
RE: USB camera issues - by Armin@netPI - September-12th-2019, 09:32 AM
RE: USB camera issues - by dcatteeu - September-12th-2019, 11:00 AM
RE: USB camera issues - by Armin@netPI - September-12th-2019, 11:15 AM
RE: USB camera issues - by dcatteeu - September-13th-2019, 02:11 PM
RE: USB camera issues - by Armin@netPI - September-13th-2019, 06:42 PM
RE: USB camera issues - by dcatteeu - September-16th-2019, 01:50 PM
RE: USB camera issues - by Armin@netPI - September-16th-2019, 01:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  https certificate issues in new nodered docker image Dipro 1 1,722 May-4th-2022, 05:46 AM
Last Post: Armin@netPI
  NPIX-4DI4DO and NetPi-Nodered container issues alhammi 4 7,910 November-16th-2020, 01:35 PM
Last Post: alhammi
  USB camera tad 4 3,260 October-15th-2020, 09:35 AM
Last Post: tad
  Network issues after upgrading to Stretch + kernel to 5.4 carmel85 2 3,101 July-28th-2020, 03:04 PM
Last Post: Armin@netPI
  [SOLVED] Docker issues AlexRegev 7 5,295 June-26th-2019, 02:14 PM
Last Post: AlexRegev
  Issues Updating the netPI PRingelberg 5 3,492 August-14th-2018, 11:14 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)