This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

uvcvideo: Failed to submit URB 0 (-90).

Other Parts Discussed in Thread: OMAPL138

Setup :

Development Kit: OMAPL138 processor based Developer Kit from LogicPD.

USB interface: OTG 2.0 interface on the OMAPL138 developer kit.

TI Release : ti-dvsdk_omapl138-evm_4_01_00_09.

USB based camera: USB 2.0 camera from Jmicron Vendor compliant with UVC 1.1.

                                       Preprogrammed to support  Resolution: 1600x1200 and 1280 x720

Capture Application: standard uvccapture application from [https://github.com/csete/uvccapture]

Description :

We are trying to capture an image using the standard UVC capture application running on OMAPL138 developer kit by connecting a UVC compliant USB 2.0 camera from a vendor Jmicron. The USB2.0 camera is connected to the OTG2.0 port of OMAPL138.

Issue :

The OMAPL138 is detecting the camera on the OTG interface as shown in Log-1. However on attempting to capture the image using the UVC standard application we are getting an error as shown in Log-2. The same application is able to capture the image on the host machine with the camera connected to the USB 2.0 port.

=======================================================================

Log-1

=======================================================================

regulator_init_complete: incomplete constraints, leaving LDO2 on

regulator_init_complete: incomplete constraints, leaving LDO1 on

regulator_init_complete: incomplete constraints, leaving VDCDC3 on

regulator_init_complete: incomplete constraints, leaving VDCDC2 on

regulator_init_complete: incomplete constraints, leaving VDCDC1 on

emac-mii: probed

omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

usb 1-1.2: new high speed USB device using musb_hdrc and address 3

usb 1-1.2: New USB device found, idVendor=064e, idProduct=f244

usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

usb 1-1.2: Product: USB 2.0 Camera

usb 1-1.2: Manufacturer: SuYin

usb 1-1.2: SerialNumber: CN2015-J13C-OV01-VS-R02.00.00

uvcvideo: Found UVC 1.00 device USB 2.0 Camera (064e:f244)

eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=1:00, id=7c0f1)

IP-Config: Complete:

=======================================================================

Log- 2

=======================================================================

root@arago:/# ./uvccapture_larm -v -otestjm_1600x1200.jpg -x1600 -y1200
Using videodevice: /dev/video0
Saving images to: testjm_1600x1200.jpg
Image size: 1600x1200
Taking snapshot every 0 seconds
Taking images using mmap
Resetting camera settings
uvcvideo: Failed to query (135) UVC control 4 (unit 2) : -32 (exp. 2).
ioctl querycontrol error 5
Camera brightness level is 128
Camera contrast level is 128
Camera saturatiouvcvideo: Failed to query (135) UVC control 4 (unit 2) : -32 (exp. 2).
n level is 55
ioctl querycontrol error 5
Camera gain level is -1
uvcvideo: Failed to submit URB 0 (-90).
Unable to start capture: 90.
Error grabbing

=======================================================================