Post Go back to editing

connect usb camera to pluto AD9364

We are trying to make a stand alone application to capture and transmit photos through the Plutosdr (ADALM) kit. With this an FPGA embedded with a synthesized ARM, it can be used via the plutosdr-fw firmware found online by Analog Devices (github.com/.../).

The problem we have is using the camera since it is not recognized as a video device. That is to say that “dmesg” recognizes it but it does not appear in the /dev/ directory


dmesg output:
usb 1-1.3: new high-speed USB device number 4 using ci_hdrc
usb 1-1.3: New USB device found, idVendor=090c, idProduct=f37d, bcdDevice= 0.00
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.3: Product: SMI
usb 1-1.3: Manufacturer: SMI

Since we saw that packages can be added to the firmware via buildroot and busybox, we tried adding fswebcam, v4lgrab, libcamera and gstreamer, as well as changing the mdev system driver to eudev. However, we have not succeeded.

In the analog forum they recommended us to activate CONFIG_USB_VIDEO_CLASS (ez.analog.com/.../can-pluto-have-camera-support-for-a-video-image- standalone-application). However, we didn't find a technical way to do it, so we manually add it to the last line of the config file in:
plutosdr-fw/buildroot/configs/zynq_pluto_defconfig
was added as follows:
CONFIG_USB_VIDEO_CLASS=y

We are using:
Vivid 2019.1.3
Camera: Leopard LI-OV9712-USB-M8