Agju
Posts: 5
Joined: Fri Aug 02, 2019 5:38 pm

RPi4 + Purethermal 2 USB problem

Fri Aug 02, 2019 5:52 pm

A couple of days ago I received a fresh RPi4 4GB and started to play with it. I installed Raspbian Buster from the downloads page, no errors.

After everything was set up, I tried to connect my Purethermal 2 (https://groupgets.com/manufacturers/get ... i-o-module) with a Flir Lepton 3.5 module. But, until now, I've been unable to obtain a simple frame.

I had a similar set up working perfectly on a RPi3 B+ with the same Purethermal board running for weeks with no errors. But with the RPi4, every time I try to obtain a frame from the camera I get the same error:

Code: Select all

usb 1-1.3: Not enough bandwidth for new device state.
usb 1-1.3: Not enough bandwidth for altsetting 1
I've connected the board to a USB2 port, error. Same when I connect it to a USB3 port.

The board is getting detected because I can see it in dmesg, but a strange behaviour happens: it created two

Code: Select all

/dev/video
devices, while it only creates one in the RPi3 B+. One of the two is totally empty when using

Code: Select all

v4l2-ctl -d<> --list-controls
while the other one reports everything as in the other RPi model.

I don't know what else to do. I've also opened an issue on their repository with the problem, because I don't know which is the source of the problem at all.

Any help will be appreciated!

trejan
Posts: 858
Joined: Tue Jul 02, 2019 2:28 pm

Re: RPi4 + Purethermal 2 USB problem

Sat Aug 03, 2019 1:02 pm

Not sure why it isn't working but the two /dev/video devices is because of https://www.raspberrypi.org/forums/view ... 6#p1505314

Agju
Posts: 5
Joined: Fri Aug 02, 2019 5:38 pm

Re: RPi4 + Purethermal 2 USB problem

Mon Aug 05, 2019 5:01 pm

Thanks, didn't know that. I'll try it on the RPi3 to see if this patch caused purethermal to break.

Even though, I'm still totally unable to obtain anything using the RPi4...

Agju
Posts: 5
Joined: Fri Aug 02, 2019 5:38 pm

Re: RPi4 + Purethermal 2 USB problem

Wed Aug 07, 2019 3:33 pm

I've also posted in Purethermal's repo, and I'm planning to post also in Raspberry Pi repo for Kernel issues. I hope someone is able to guide me how to solve this problem, because it is driving me mad.

I've tried with uvcvideo quirks, no success. I've tried adding udev rules for the camera with more permissions, no success. I've also even tried to change the USB cable and the Power cable of the Raspberry Pi, fail again.

I'm totally out of options

trejan
Posts: 858
Joined: Tue Jul 02, 2019 2:28 pm

Re: RPi4 + Purethermal 2 USB problem

Wed Aug 07, 2019 4:02 pm

No errors in dmesg? What happens if you use a USB hub in between?

Agju
Posts: 5
Joined: Fri Aug 02, 2019 5:38 pm

Re: RPi4 + Purethermal 2 USB problem

Thu Aug 08, 2019 9:50 am

When connecting the camera, there's no error present in dmesg: https://pastebin.com/UM4Q3Q01
Tried using a powered USB hub, still no frames are obtained.

The error apears when trying to grab a frame using any method:

Code: Select all

[  911.676085] usb 1-1.1: Not enough bandwidth for new device state.
[  911.676176] usb 1-1.1: Not enough bandwidth for altsetting 1

Agju
Posts: 5
Joined: Fri Aug 02, 2019 5:38 pm

Re: RPi4 + Purethermal 2 USB problem

Mon Aug 12, 2019 3:49 pm

Any help here? :(

mpeniak
Posts: 4
Joined: Tue Jan 08, 2019 4:19 pm

Re: RPi4 + Purethermal 2 USB problem

Sat Nov 02, 2019 3:58 pm

I have the same problem...did you find a work around at least?

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2152
Joined: Thu Jul 11, 2013 2:37 pm

Re: RPi4 + Purethermal 2 USB problem

Sat Nov 02, 2019 7:55 pm

Known issue.

Workaround in the PureThermal firmware here:
https://github.com/groupgets/puretherma ... -524177762
Rockets are loud.
https://astro-pi.org

Return to “Interfacing (DSI, CSI, I2C, etc.)”