Description
Describe the bug
I've trying to obtain images on a newly baked RPi4 with Raspbian Buster from a PureThermal 2 board (https://groupgets.com/manufacturers/getlab/products/purethermal-2-flir-lepton-smart-i-o-module) that was working perfectly in a RPi3B+, but I'm totally unsuccessful.
I've seen that whenever I try to get a frame from the camera, using any method, I get the following error in dmesg:
usb 1-1.3: Not enough bandwidth for new device state.
usb 1-1.3: Not enough bandwidth for altsetting 1
I've tested it in both the USB2 and the USB3 ports of the Raspberry, but I always get the same error.
The device is detected correctly: I can see it detected in dmesg, I can see the /dev/video ports being created, and I can even extract information with v4l2-ctl. The problem only appears when I open the port and try to grab a frame
To reproduce
Connect the PureThermal2 board to an USB port
Wait for it to be detected and ready
Try to grab a frame with any method: Python, Opencv, FFmpeg, guvcview...
No frame is obtained, and it throws that error
System
- Which model of Raspberry Pi?
RPi4 (4GB RAM) - Which OS and version (
cat /etc/rpi-issue
)?
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 175dfb027ffabd4b8d5080097af0e51ed9a4a56c, stage4 - Which firmware version (
vcgencmd version
)?
version a49274f4de9406db851802c64ea2e8a13df7e0d3 (clean) (release) (start) - Which kernel version (
uname -a
)?
Linux raspberrypi 4.19.63-v7l+ GPIO: polling a keyboard crashes the kernel after an hour or two... #1249 SMP Thu Aug 1 16:31:35 BST 2019 armv7l GNU/Linux
Logs
dmesg
log after connecting the camera: dmesg
Additional context
I received the Raspberry Pi 4 around 2 weeks ago, installed Raspbian-Buster, updated everything, and copied the python code from a RPi3B+ where the PureThermal 2 board was working to it, installed dependencies (python, opencv, ffmpeg) and tried to grab a frame. I've been unsuccessful until now.