groupgets / purethermal1-uvc-capture

USB Video Class capture examples for PureThermal 1 / PureThermal 2 FLIR Lepton Dev Kit
124 stars 81 forks source link

Issue mapping v4l2 controls #2

Open shawndfernandes opened 7 years ago

shawndfernandes commented 7 years ago

Description: ''sudo uvcdynctl -l' lists /dev/video0 as pure thermal.

however, 'sudo uvcdynctrl -v -d /dev/video0 -i pt1.xml ' fails to map, PFB CLI errors

$ sudo uvcdynctrl -l [libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00980001, name = 'User Controls', type = 6 [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x00980001, name = 'User Controls' [libwebcam] Unknown V4L2 user control ID encountered: 0x0098090E (V4L2_CID_USER_BASE + 14) [libwebcam] Unknown V4L2 user control ID encountered: 0x0098090F (V4L2_CID_USER_BASE + 15) [libwebcam] Unknown V4L2 user control ID encountered: 0x00980914 (V4L2_CID_USER_BASE + 20) [libwebcam] Unknown V4L2 user control ID encountered: 0x00980915 (V4L2_CID_USER_BASE + 21) [libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x009D0001, name = 'JPEG Compression Controls', type = 6 [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x009D0001, name = 'JPEG Compression Controls' [libwebcam] Unknown V4L2 control ID encountered: 0x009D0903 [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x009D0903, name = 'Compression Quality' Listing available devices: video2 Xbox NUI Camera Media controller device /dev/media2 doesn't exist ERROR: Unable to list device entities: Invalid device or device cannot be opened. (Code: 5) video1 USB20 Camera
Media controller device /dev/media1 doesn't exist ERROR: Unable to list device entities: Invalid device or device cannot be opened. (Code: 5) video0 PureThermal 1 Media controller device: /dev/media0 Entity 1: PureThermal 1. Type: 65537, Revision: 0, Flags: 1, Group-id: 0, Pads: 1, Links: 0 Device node Entity: 1, Pad 0, Flags: 1 Entity 2: Extension 3. Type: 131072, Revision: 0, Flags: 0, Group-id: 0, Pads: 2, Links: 1 Subdevice: Entity: 2, Pad 0, Flags: 1 Entity: 2, Pad 1, Flags: 2 Out link: Source pad { Entity: 2, Index: 1, Flags: 2 } => Sink pad { Entity: 1, Index: 0, Flags: 1 } Entity 3: Processing 2. Type: 131072, Revision: 0, Flags: 0, Group-id: 0, Pads: 2, Links: 1 Subdevice: Entity: 3, Pad 0, Flags: 1 Entity: 3, Pad 1, Flags: 2 Out link: Source pad { Entity: 3, Index: 1, Flags: 2 } => Sink pad { Entity: 2, Index: 0, Flags: 1 } Entity 4: Camera 1. Type: 131072, Revision: 0, Flags: 0, Group-id: 0, Pads: 1, Links: 1 Subdevice: Entity: 4, Pad 0, Flags: 2

$ sudo uvcdynctrl -v -d /dev/video0 -i pt1.xml [libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00980001, name = 'User Controls', type = 6 [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x00980001, name = 'User Controls' [libwebcam] Unknown V4L2 user control ID encountered: 0x0098090E (V4L2_CID_USER_BASE + 14) [libwebcam] Unknown V4L2 user control ID encountered: 0x0098090F (V4L2_CID_USER_BASE + 15) [libwebcam] Unknown V4L2 user control ID encountered: 0x00980914 (V4L2_CID_USER_BASE + 20) [libwebcam] Unknown V4L2 user control ID encountered: 0x00980915 (V4L2_CID_USER_BASE + 21) [libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x009D0001, name = 'JPEG Compression Controls', type = 6 [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x009D0001, name = 'JPEG Compression Controls' [libwebcam] Unknown V4L2 control ID encountered: 0x009D0903 [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x009D0903, name = 'Compression Quality' Importing dynamic controls from file pt1.xml. Available meta information: File format: 1.0 Author: GetLab Contact: contact@groupgets.com Copyright: Copyright (c) GroupGets 2016 Revision: 1.0 pt1.xml: error: video0: unable to map 'LEP_CID_AGC_ENABLE_STATE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_POLICY' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_ROI' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_STATISTICS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HISTOGRAM_CLIP_PERC' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HISTOGRAM_TAIL_SIZE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_LINEAR_MAX_GAIN' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_LINEAR_MIDPOINT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_LINEAR_DAMPENING_FA' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HEQ_DAMPENING_FACTO' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HEQ_MAX_GAIN' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HEQ_CLIP_LIMIT_HIGH' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HEQ_CLIP_LIMIT_LOW' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HEQ_BIN_EXTENSION' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HEQ_MIDPOINT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HEQ_EMPTY_COUNTS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HEQ_NORMALIZATION_F' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_HEQ_SCALE_FACTOR' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_AGC_CALC_ENABLE_STATE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_POWER_DOWN' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_STANDBY' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_LOW_POWER_MODE_1' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_LOW_POWER_MODE_2' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_BIT_TEST' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_MASK_REVISION' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:3557: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_OEM_SOFTWARE_VERSION' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_VIDEO_OUTPUT_ENABLE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_VIDEO_OUTPUT_FORMAT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_VIDEO_OUTPUT_SOURCE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_VIDEO_OUTPUT_CHANNE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_VIDEO_GAMMA_ENABLE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:3655: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_OEM_VIDEO_OUTPUT_CONSTA' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_REBOOT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_FFC_NORMALIZATION_T' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_STATUS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_SCENE_MEAN_VALUE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_POWER_MODE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_GPIO_MODE_SELECT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_GPIO_VSYNC_PHASE_DE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_USER_DEFAULTS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_USER_DEFAULTS_RESTO' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_SHUTTER_PROFILE_OBJ' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_THERMAL_SHUTDOWN_EN' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_BAD_PIXEL_REPLACE_C' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_TEMPORAL_FILTER_CON' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_COLUMN_NOISE_ESTIMA' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_OEM_PIXEL_NOISE_ESTIMAT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:3893: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml:3907: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_RAD_DEBUG_TEMP' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_DEBUG_FLUX' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_ENABLE_STATE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_GLOBAL_OFFSET' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TFPA_CTS_MODE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TFPA_CTS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:4005: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TSHUTTER_MODE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TSHUTTER' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_RUN_FFC' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_RUN_STATUS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_RESPONSIVITY_SHIFT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_F_NUMBER' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TAU_LENS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:4117: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_RAD_GLOBAL_GAIN' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_RADIOMETRY_FILTER' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:4159: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml:4173: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TAUX_CTS_MODE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TAUX_CTS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TEQ_SHUTTER_FLUX' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_MFFC_FLUX' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_FRAME_MEDIAN_VALUE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:4257: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_RAD_HOUSING_TCP' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_SHUTTER_TCP' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_LENS_TCP' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_PREVIOUS_GLOBAL_OFF' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_PREVIOUS_GLOBAL_GAI' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_GLOBAL_GAIN_FFC' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_CNF_SCALE_FACTOR' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TNF_SCALE_FACTOR' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_SNF_SCALE_FACTOR' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_ARBITRARY_OFFSET' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:4411: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TLINEAR_ENABLE_STAT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TLINEAR_RESOLUTION' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_TLINEAR_AUTO_RESOLU' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_SPOTMETER_ROI' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_SPOTMETER_VALUE_KEL' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:4495: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml:4509: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_RAD_ARBITRARY_OFFSET_MO' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_RAD_ARBITRARY_OFFSET_PA' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_PING' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_CAM_STATUS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_FLIR_SERIAL_NUMBER' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_CAM_UPTIME' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_AUX_TEMPERATURE_KEL' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_FPA_TEMPERATURE_KEL' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_TELEMETRY_ENABLE_ST' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_TELEMETRY_LOCATION' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_EXECTUE_FRAME_AVERA' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_NUM_FRAMES_TO_AVERA' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:4691: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_SYS_SCENE_STATISTICS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_SCENE_ROI' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_THERMAL_SHUTDOWN_CO' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_SYS_SHUTTER_POSITION' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:4761: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_SYS_FFC_STATUS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_VID_POLARITY_SELECT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_VID_LUT_SELECT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml:4818: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING' pt1.xml: error: video0: unable to map 'LEP_CID_VID_FOCUS_CALC_ENABLE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_VID_FOCUS_ROI' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_VID_FOCUS_THRESHOLD' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_VID_FOCUS_METRIC' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_VID_SBNUC_ENABLE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_VID_GAMMA_SELECT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) pt1.xml: error: video0: unable to map 'LEP_CID_VID_FREEZE_ENABLE' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory) Processing statistics: 253 constants processed (0 failed, 253 successful) 123 controls processed (0 failed, 123 successful) 123 mappings processed (123 failed, 0 successful) purethermal1-uvc-capture-master/v4l2/uvcdynctrl$

kekiefer commented 7 years ago

What is your Linux kernel version? Are there any kernel errors listed when doing this? It looks like it processed the constants and control definitions just fine, but it was unable to map those to V4L2 controls.

shawndfernandes commented 7 years ago

Dear Kekiefer,

I just found out I am using Lepton 2.0.

So, I am not sure if the above camera capabilities/mappings are supported on lepton 2.5 only, please confirm/clarify the same.

lepton 2.0 -> https://groupgets.com/manufacturers/flir/products/lepton

lepton 2.5 -> https://groupgets.com/manufacturers/flir/products/radiometric-lepton-2-5

My OS is ubuntu 16.04 x64 with latest updates.

4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 2017 x86_64 x86_64 x86_64 GNU/Linux

Sincerely, Shawn

kekiefer commented 7 years ago

I was able to reproduce this issue by running the uvcdynctrl command twice. It doesn't seem to be a problem. I can still open guvcview and things work as expected. Unplugging and replugging the camera before retrying that command, those errors should go away. Does this work for you?

kekiefer commented 7 years ago

Also, to clarify, this works with both 2.0 and 2.5 Lepton variants. They share the exact same CCI interface.

shawndfernandes commented 7 years ago

Dear Kekiefer,

Guvcview shows only brightness and contrast capabilities,

sudo v4l2-ctl --list-ctrls brightness (int) : min=0 max=255 step=1 default=128 value=128 contrast (int) : min=0 max=255 step=1 default=128 value=128

Sincerely, Shawn

Sergio- commented 3 years ago

Hello. Any progress on this Issue? I just tested the same on Fedora 32 and also on a armbian (Focal Fossa) machine, both return the same error:

armbian@orangepioneplus:~/purethermal1-uvc-capture/v4l2/uvcdynctrl$ ./load.sh /dev/video1 pt1.xml 
Loading control definition file pt1.xml for /dev/video1
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00990001, name = 'Codec Controls', type = 6
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x00990001, name = 'Codec Controls'
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990CED (V4L2_CID_MPEG_BASE + 1005)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990CEE (V4L2_CID_MPEG_BASE + 1006)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990CF7 (V4L2_CID_MPEG_BASE + 1015)
[libwebcam] Unknown V4L2 MPEG control ID encountered: 0x00990CF8 (V4L2_CID_MPEG_BASE + 1016)
Importing dynamic controls from file pt1.xml.
Available meta information:
  File format: 3.3
  Author:      GetLab
  Contact:     contact@groupgets.com
  Copyright:   Copyright (c) GroupGets 2017 
  Revision:    2.0
pt1.xml: error: video1: unable to map 'LEP_CID_AGC_ROI' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml: error: video1: unable to map 'LEP_CID_AGC_STATISTICS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml:3848: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml: error: video1: unable to map 'LEP_CID_OEM_SOFTWARE_VERSION' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml:3946: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:4184: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:4198: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:4296: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:4408: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:4450: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:4464: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:4548: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml: error: video1: unable to map 'LEP_CID_RAD_HOUSING_TCP' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml: error: video1: unable to map 'LEP_CID_RAD_SHUTTER_TCP' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml: error: video1: unable to map 'LEP_CID_RAD_LENS_TCP' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml:4702: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml: error: video1: unable to map 'LEP_CID_RAD_SPOTMETER_ROI' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml:4786: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:4800: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml: error: video1: unable to map 'LEP_CID_RAD_RADIO_CAL_VALUES' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml: error: video1: unable to map 'LEP_CID_SYS_CAM_STATUS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml: error: video1: unable to map 'LEP_CID_SYS_FLIR_SERIAL_NUMBER' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml:4996: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml: error: video1: unable to map 'LEP_CID_SYS_SCENE_STATISTICS' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml: error: video1: unable to map 'LEP_CID_SYS_SCENE_ROI' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml:5066: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:5123: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:5151: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml:5193: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
pt1.xml: error: video1: unable to map 'LEP_CID_VID_FOCUS_ROI' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument)
pt1.xml:5319: error: Invalid V4L2 control type specified: 'V4L2_CTRL_TYPE_STRING'
Processing statistics:
  275 constants processed (0 failed, 275 successful)
  134 controls processed (0 failed, 134 successful)
  134 mappings processed (31 failed, 103 successful)

I'm not familiar myself with the architecture here, otherwise, I could start exploring and try to fix it. If anymore more experient on this can provide some background or overview on how this works, we might try to fix it.

Sergio- commented 3 years ago

I was able to reproduce this issue by running the uvcdynctrl command twice. It doesn't seem to be a problem. I can still open guvcview and things work as expected. Unplugging and replugging the camera before retrying that command, those errors should go away. Does this work for you?

I'm running the 'uvcdynctrl' only once and I"m facing the problem. I see most controls on guvcview, but some are not update (like the ones that supposed to display the temperatures), Please, see issue #42 with some examples. Also, some information that should be available via the controls are missing, like the 'LEP_CID_SYS_FLIR_SERIAL_NUMBER', 'LEP_CID_RAD_SPOTMETER_ROI'. Here's what I get when I list all the capabilities:

armbian@orangepioneplus:~/purethermal1-uvc-capture/v4l2/uvcdynctrl$ v4l2-ctl -d /dev/video1 --all 
Driver Info:
    Driver name      : uvcvideo
    Card type        : PureThermal (fw:v1.0.0): PureTh
    Bus info         : usb-5311400.usb-1
    Driver version   : 5.9.12
    Capabilities     : 0x84a00001
        Video Capture
        Metadata Capture
        Streaming
        Extended Pix Format
        Device Capabilities
    Device Caps      : 0x04200001
        Video Capture
        Streaming
        Extended Pix Format
Media Driver Info:
    Driver name      : uvcvideo
    Model            : PureThermal (fw:v1.0.0): PureTh
    Serial           : 00450043-5107-3539-3532-343600000000
    Bus info         : usb-5311400.usb-1
    Media version    : 5.9.12
    Hardware revision: 0x00000200 (512)
    Driver version   : 5.9.12
Interface Info:
    ID               : 0x03000002
    Type             : V4L Video
Entity Info:
    ID               : 0x00000001 (1)
    Name             : PureThermal (fw:v1.0.0): PureTh
    Function         : V4L2 I/O
    Flags         : default
    Pad 0x01000007   : 0: Sink
      Link 0x02000022: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
    Width/Height      : 80/60
    Pixel Format      : 'UYVY' (UYVY 4:2:2)
    Field             : None
    Bytes per Line    : 160
    Size Image        : 9600
    Colorspace        : sRGB
    Transfer Function : Default (maps to sRGB)
    YCbCr/HSV Encoding: Default (maps to ITU-R 601)
    Quantization      : Default (maps to Limited Range)
    Flags             : 
Crop Capability Video Capture:
    Bounds      : Left 0, Top 0, Width 80, Height 60
    Default     : Left 0, Top 0, Width 80, Height 60
    Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 80, Height 60, Flags: 
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 80, Height 60, Flags: 
Streaming Parameters Video Capture:
    Capabilities     : timeperframe
    Frames per second: 9.000 (9/1)
    Read buffers     : 0
                     brightness 0x00980900 (int)    : min=0 max=255 step=1 default=128 value=128
                       contrast 0x00980901 (int)    : min=0 max=255 step=1 default=128 value=128
       lep_cid_agc_enable_state 0x08000001 (int)    : min=0 max=1 step=1 default=0 value=0
             lep_cid_agc_policy 0x08000002 (int)    : min=0 max=1 step=1 default=0 value=1
lep_cid_agc_histogram_clip_perc 0x08000005 (int)    : min=0 max=65535 step=1 default=0 value=0
lep_cid_agc_histogram_tail_size 0x08000006 (int)    : min=0 max=65535 step=1 default=0 value=0
    lep_cid_agc_linear_max_gain 0x08000007 (int)    : min=0 max=65535 step=1 default=0 value=1
    lep_cid_agc_linear_midpoint 0x08000008 (int)    : min=0 max=65535 step=1 default=0 value=128
lep_cid_agc_linear_dampening_fa 0x08000009 (int)    : min=0 max=65535 step=1 default=0 value=1
lep_cid_agc_heq_dampening_facto 0x0800000a (int)    : min=0 max=65535 step=1 default=0 value=64
       lep_cid_agc_heq_max_gain 0x0800000b (int)    : min=0 max=65535 step=1 default=0 value=1
lep_cid_agc_heq_clip_limit_high 0x0800000c (int)    : min=0 max=65535 step=1 default=0 value=4800
 lep_cid_agc_heq_clip_limit_low 0x0800000d (int)    : min=0 max=65535 step=1 default=0 value=512
  lep_cid_agc_heq_bin_extension 0x0800000e (int)    : min=0 max=65535 step=1 default=0 value=0
       lep_cid_agc_heq_midpoint 0x0800000f (int)    : min=0 max=65535 step=1 default=0 value=128
   lep_cid_agc_heq_empty_counts 0x08000010 (int)    : min=0 max=65535 step=1 default=0 value=2
lep_cid_agc_heq_normalization_f 0x08000011 (int)    : min=0 max=65535 step=1 default=0 value=1
   lep_cid_agc_heq_scale_factor 0x08000012 (int)    : min=0 max=1 step=1 default=0 value=0
  lep_cid_agc_calc_enable_state 0x08000013 (int)    : min=0 max=1 step=1 default=0 value=1
 lep_cid_agc_heq_linear_percent 0x08000014 (int)    : min=0 max=65535 step=1 default=0 value=20
         lep_cid_oem_power_down 0x08010001 (button) :
            lep_cid_oem_standby 0x08010002 (button) :
   lep_cid_oem_low_power_mode_1 0x08010003 (button) :
   lep_cid_oem_low_power_mode_2 0x08010004 (button) :
           lep_cid_oem_bit_test 0x08010005 (button) :
      lep_cid_oem_mask_revision 0x08010006 (int)    : min=0 max=65535 step=1 default=0 value=20
lep_cid_oem_video_output_enable 0x0801000a (int)    : min=0 max=1 step=1 default=0 value=1
lep_cid_oem_video_output_format 0x0801000b (int)    : min=0 max=14 step=1 default=0 value=7
lep_cid_oem_video_output_source 0x0801000c (int)    : min=0 max=13 step=1 default=0 value=1
lep_cid_oem_video_output_channe 0x0801000d (int)    : min=0 max=1 step=1 default=0 value=1
 lep_cid_oem_video_gamma_enable 0x0801000e (int)    : min=0 max=1 step=1 default=0 value=0
lep_cid_oem_video_output_consta 0x08010010 (int)    : min=0 max=65535 step=1 default=0 value=0
             lep_cid_oem_reboot 0x08010011 (button) :
lep_cid_oem_ffc_normalization_t 0x08010012 (int)    : min=0 max=65535 step=1 default=0 value=4096
             lep_cid_oem_status 0x08010013 (int)    : min=0 max=2 step=1 default=0 value=0
   lep_cid_oem_scene_mean_value 0x08010014 (int)    : min=0 max=65535 step=1 default=0 value=29886
         lep_cid_oem_power_mode 0x08010015 (int)    : min=0 max=2 step=1 default=0 value=0
   lep_cid_oem_gpio_mode_select 0x08010016 (int)    : min=0 max=5 step=1 default=0 value=5
lep_cid_oem_gpio_vsync_phase_de 0x08010017 (int)    : min=0 max=3 step=1 default=0 value=2
      lep_cid_oem_user_defaults 0x08010018 (int)    : min=0 max=1 step=1 default=0 value=0
lep_cid_oem_user_defaults_resto 0x08010019 (button) :
error 32 getting ctrl LEP_CID_OEM_SHUTTER_PROFILE_OBJ
error 32 getting ctrl LEP_CID_OEM_THERMAL_SHUTDOWN_EN
error 32 getting ctrl LEP_CID_OEM_BAD_PIXEL_REPLACE_C
error 32 getting ctrl LEP_CID_OEM_TEMPORAL_FILTER_CON
error 32 getting ctrl LEP_CID_OEM_COLUMN_NOISE_ESTIMA
error 32 getting ctrl LEP_CID_OEM_PIXEL_NOISE_ESTIMAT
         lep_cid_rad_debug_temp 0x08020003 (int)    : min=0 max=65535 step=1 default=0 value=27315
         lep_cid_rad_debug_flux 0x08020004 (int)    : min=0 max=2147483647 step=1 default=0 value=2235768
       lep_cid_rad_enable_state 0x08020005 (int)    : min=0 max=1 step=1 default=0 value=1
      lep_cid_rad_global_offset 0x08020006 (int)    : min=0 max=65535 step=1 default=0 value=4033
      lep_cid_rad_tfpa_cts_mode 0x08020007 (int)    : min=0 max=1 step=1 default=0 value=0
           lep_cid_rad_tfpa_cts 0x08020008 (int)    : min=0 max=65535 step=1 default=0 value=5913
      lep_cid_rad_tshutter_mode 0x0802000a (int)    : min=0 max=2 step=1 default=0 value=1
           lep_cid_rad_tshutter 0x0802000b (int)    : min=0 max=65535 step=1 default=0 value=30000
            lep_cid_rad_run_ffc 0x0802000c (button) :
         lep_cid_rad_run_status 0x0802000d (int)    : min=0 max=2 step=1 default=0 value=0
 lep_cid_rad_responsivity_shift 0x0802000e (int)    : min=0 max=65535 step=1 default=0 value=11
           lep_cid_rad_f_number 0x0802000f (int)    : min=0 max=65535 step=1 default=0 value=9011
           lep_cid_rad_tau_lens 0x08020010 (int)    : min=0 max=65535 step=1 default=0 value=6554
        lep_cid_rad_global_gain 0x08020012 (int)    : min=0 max=65535 step=1 default=0 value=18295
  lep_cid_rad_radiometry_filter 0x08020013 (int)    : min=0 max=65535 step=1 default=0 value=230
      lep_cid_rad_taux_cts_mode 0x08020016 (int)    : min=0 max=1 step=1 default=0 value=0
           lep_cid_rad_taux_cts 0x08020017 (int)    : min=0 max=65535 step=1 default=0 value=7834
   lep_cid_rad_teq_shutter_flux 0x08020018 (int)    : min=0 max=2147483647 step=1 default=0 value=4150925
          lep_cid_rad_mffc_flux 0x08020019 (int)    : min=0 max=2147483647 step=1 default=0 value=-1019
 lep_cid_rad_frame_median_value 0x08020020 (int)    : min=0 max=65535 step=1 default=0 value=3688
lep_cid_rad_previous_global_off 0x08020027 (int)    : min=0 max=65535 step=1 default=0 value=4033
lep_cid_rad_previous_global_gai 0x08020028 (int)    : min=0 max=65535 step=1 default=0 value=18295
    lep_cid_rad_global_gain_ffc 0x08020029 (int)    : min=0 max=65535 step=1 default=0 value=18296
   lep_cid_rad_cnf_scale_factor 0x0802002a (int)    : min=0 max=65535 step=1 default=0 value=143
   lep_cid_rad_tnf_scale_factor 0x0802002b (int)    : min=0 max=65535 step=1 default=0 value=30
   lep_cid_rad_snf_scale_factor 0x0802002c (int)    : min=0 max=65535 step=1 default=0 value=143
   lep_cid_rad_arbitrary_offset 0x0802002f (int)    : min=0 max=65535 step=1 default=0 value=0
lep_cid_rad_tlinear_enable_stat 0x08020031 (int)    : min=0 max=1 step=1 default=0 value=1
 lep_cid_rad_tlinear_resolution 0x08020032 (int)    : min=0 max=1 step=1 default=0 value=1
lep_cid_rad_tlinear_auto_resolu 0x08020033 (int)    : min=0 max=1 step=1 default=0 value=0
lep_cid_rad_spotmeter_obj_kelvi 0x08020035 (int)    : min=0 max=65535 step=1 default=0 value=29755
lep_cid_rad_arbitrary_offset_mo 0x08020038 (int)    : min=0 max=1 step=1 default=0 value=1
lep_cid_rad_arbitrary_offset_pa 0x08020039 (int)    : min=0 max=-1 step=1 default=0 value=0
               lep_cid_sys_ping 0x08030001 (button) :
         lep_cid_sys_cam_uptime 0x08030004 (int)    : min=0 max=-1 step=1 default=0 value=1175937
lep_cid_sys_aux_temperature_kel 0x08030005 (int)    : min=0 max=65535 step=1 default=0 value=31021
lep_cid_sys_fpa_temperature_kel 0x08030006 (int)    : min=0 max=65535 step=1 default=0 value=31177
lep_cid_sys_telemetry_enable_st 0x08030007 (int)    : min=0 max=1 step=1 default=0 value=0
 lep_cid_sys_telemetry_location 0x08030008 (int)    : min=0 max=1 step=1 default=0 value=1
lep_cid_sys_exectue_frame_avera 0x08030009 (button) :
lep_cid_sys_num_frames_to_avera 0x0803000a (int)    : min=0 max=7 step=1 default=0 value=3
lep_cid_sys_thermal_shutdown_co 0x0803000e (int)    : min=0 max=65535 step=1 default=0 value=270
   lep_cid_sys_shutter_position 0x0803000f (int)    : min=0 max=3 step=1 default=0 value=0
         lep_cid_sys_ffc_status 0x08030012 (int)    : min=0 max=2 step=1 default=0 value=0
          lep_cid_sys_gain_mode 0x08030013 (int)    : min=0 max=65535 step=1 default=0 value=0
          lep_cid_sys_ffc_state 0x08030014 (int)    : min=0 max=65535 step=1 default=0 value=3
lep_cid_sys_gain_mode_desired_f 0x08030016 (int)    : min=0 max=65535 step=1 default=0 value=0
    lep_cid_vid_polarity_select 0x08040001 (int)    : min=0 max=1 step=1 default=0 value=0
         lep_cid_vid_lut_select 0x08040002 (int)    : min=0 max=8 step=1 default=0 value=1
  lep_cid_vid_focus_calc_enable 0x08040004 (int)    : min=0 max=1 step=1 default=0 value=0
    lep_cid_vid_focus_threshold 0x08040006 (int)    : min=0 max=-1 step=1 default=0 value=30
       lep_cid_vid_focus_metric 0x08040007 (int)    : min=0 max=-1 step=1 default=0 value=0
       lep_cid_vid_sbnuc_enable 0x08040008 (int)    : min=0 max=1 step=1 default=0 value=1
       lep_cid_vid_gamma_select 0x08040009 (int)    : min=0 max=65535 step=1 default=0 value=1
      lep_cid_vid_freeze_enable 0x0804000a (int)    : min=0 max=1 step=1 default=0 value=0
lep_cid_vid_boresight_calc_enab 0x0804000b (int)    : min=0 max=65535 step=1 default=0 value=0
lep_cid_vid_video_output_format 0x0804000d (int)    : min=0 max=65535 step=1 default=0 value=7
 lep_cid_vid_low_gain_color_lut 0x0804000e (int)    : min=0 max=65535 step=1 default=0 value=0