Skip to content

UVCIOC_CTRL_QUERY:UVC_GET_CUR error 5, Input/output error with latest versions of Jetpack+Librealsense #6

@YiannisGkoufas

Description

@YiannisGkoufas

Hi there,

First of all, thanks so much for the extremely useful tutorials and source code provided!
so what I am trying to do currently is to follow your instructions as outlined here:
http://www.jetsonhacks.com/2016/06/20/intel-realsense-camera-installation-nvidia-jetson-tk1/

But my end goal is to use https://github.com/toinsson/pyrealsense which requires v1.12.1 of librealsense.
Towards this goal I have made the following changes to your scripts.
latest.patch.txt
Bare in mind I have installed tegra 21.5 in my TK1.
Everything seems to be going according to plan with the scripts and also the ./cpp-config-ui script works fine for a few seconds until I get the following error:
error

In the command line I can see:

RealSense error calling rs_device_supports_option(device:0x92380, option:R200_AUTO_EXPOSURE_TOP_EDGE):
    UVCIOC_CTRL_QUERY:UVC_GET_CUR error 5, Input/output error
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  11 (X_GLXSwapBuffers)
  Serial number of failed request:  7222
  Current serial number in output stream:  7224

And on the dmesg the messages are:

[   87.345537] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[   87.405199] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[   87.464643] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[   87.524065] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[   87.583960] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[   87.644025] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[   87.703833] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[   87.763735] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[   87.833166] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[   87.896786] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[   87.963000] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -32 (exp. 1).
[  104.270437] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.270518] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.270983] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.271368] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.271447] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.272124] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.272267] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.280360] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.280433] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.280441] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.280883] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.281252] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.281633] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.282017] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.282757] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.283557] uvcvideo: Non-zero status (-71) in video completion handler.
[  104.332479] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.391413] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.450637] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.511305] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.571856] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.632083] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.692265] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.752270] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.811968] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.872041] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.932155] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  104.992433] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  105.052273] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  105.112051] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  105.171986] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  105.232044] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  105.292705] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  105.352386] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  105.412014] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).
[  105.471732] uvcvideo: Failed to query (GET_CUR) UVC control 18 on unit 2: -71 (exp. 1).

Any hints or pointers will be very appreciated!

Thanks

Update : cpp-capture seems to work without a problem!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions