cannot connect usb camera over USB - C adb port
I want to connect a usb 3.0 camera to the usb c port. After connecting, I am unable to see my device when I do lsusb. The camera powers up. I can login using the adb shell. So the usb c is working. I am not sure what settings need to be done to get my usb camera working with usb c.
@Jagatpreet-Singh-Nir What camera are you trying to use? Some cameras have a large power requirement that cannot be satisfied by the port (i.e. the cameras are not USB spec compliant).
I am using Flir Boson 640. The camera powers up however it is not detected as a device when I do lsusb.
We tried running the camera on the usb port used for wifi dongle. It works fine there.
We also tried to run an IMU on usb c port which has a much lesser power requirement ( 5V @ 200 mA). It did not run.
@Jagatpreet-Singh-Nir I don't think any of us have tried attaching peripherals to the USB C port. We'll have to take a look and see what is going on. Do you see any messages in
dmesgwhen you attach the camera?
Here are dmesg logs in the google drive link:
There are two files; one when the usb device is plugged in to voxl 2 usb c port and then the second one when the same device is unplugged.
Thanks for the logs @Jagatpreet-Singh-Nir , we'll need to dig into this. It seems like it's not being detected, we attempted a different device an believe to have replicated what you're seeing. We'll reach out with updates as we have them. Thanks!
I have a similar issue when trying to connect a USB2/3 camera over the adb port, which was the way I've previously gotten the Voxl1 to run a FLIR Boson camera. The /dev port doesn't show the usual videox port, and lsusb also doesn't show the usb connection, but the camera led light does turn on.
This is also different from the rb5, where I've managed to run two separate USB cameras through the adb port, which I thought would transition smoothly over to the Voxl2. Are there additional steps we need to take to use the adb port as a serial connection for USB cameras, like add dialout group or anything like that?
@sarahl thanks for the information this helps us actually.
I’ll check out the differences between the two kernels on RB5 and VOXL2 in this area and see what I can find.
In efforts to speed up boot ups, I did yank out DT nodes so hopefully I messed something up that I can find.
I don’t know of a way to make the usb/adb port into serial. Using normal usb port with Ftdi yes. If we get this port to be used as host then likely it will fall into place.
Jeff Delaune last edited by
What is the recommended configuration to run the FLIR Boson then, since it is listed in the feature matrix of the VOXL2? https://docs.modalai.com/voxl2-feature-matrix/#specifications
I am having the same issue as @Jagatpreet-Singh-Nir on the USB C with the Boson 640. It seems that I can get the camera recognized on the USB-A port of the VOXL USB Expansion Board, but then I can't use this port for the wifi dongle any more. USB hubs don't seem to work to split this USB-A port between the dongle and the camera.