20240531在飞凌的OK3588-C开发板上跑原厂的Buildroot测试USB摄像头

本文主要是介绍20240531在飞凌的OK3588-C开发板上跑原厂的Buildroot测试USB摄像头,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

20240531在飞凌的OK3588-C开发板上跑原厂的Buildroot测试USB摄像头
2024/5/31 20:04


USB摄像头分辨率:1080p(1920x1080)

默认编译Buildroot的SDK即可点亮USB摄像头。
v4l2-ctl --list-devices
v4l2-ctl --list-formats-ext -d /dev/video74

【对于高分辨率的摄像头,编码格式要使用MJPEG了。】
gst-launch-1.0 v4l2src  device=/dev/video74 ! image/jpeg,width=1280,height=720 ! jpegdec ! videoconvert ! autovideosink
gst-launch-1.0 v4l2src  device=/dev/video74 ! image/jpeg,width=1920,height=1080 ! jpegdec ! videoconvert ! autovideosink


【在低分辨率比如640*480的时候YUYV还是可以取图的。这条指令肯定会报错的!】
gst-launch-1.0 v4l2src device=/dev/video74 ! video/x-raw, format=NV12, width=1920,height=1080, framerate=30/1 ! waylandsink

root@rk3588-buildroot:/dev# 
-raw, format=NV12, width=1920,height=1080, framerate=30/1 ! waylandsink! video/x-
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000716042
Setting pipeline to NULL ...
Freeing pipeline ...
root@rk3588-buildroot:/dev# 
root@rk3588-buildroot:/dev# 


详细的LOG:
root@rk3588-buildroot:/# 
root@rk3588-buildroot:/# cd /dev
root@rk3588-buildroot:/dev# ls -l
total 8
drwxr-xr-x 3 root root         480 Jan  1 00:00 block
drwxr-xr-x 3 root root          60 Jan  1 00:00 bus
drwxr-xr-x 2 root root        5280 Jan  1 00:00 char
crw------- 1 root root      5,   1 Jan  1 00:00 console
crw------- 1 root root     10, 124 Jan  1 00:00 cpu_dma_latency
crw-rw-rw- 1 root root     10, 125 Jan  1 00:00 crypto
drwxr-xr-x 8 root root         160 Jan  1 00:00 disk
drwxr-xr-x 2 root root         160 Jan  1 00:00 dma_heap
drwxr-xr-x 3 root root         140 Jan  1 00:00 dri
crw------- 1 root root    240,   0 Jan  1 00:00 drm_dp_aux0
crw------- 1 root root    240,   1 Jan  1 00:00 drm_dp_aux1
crw-rw---- 1 root video    29,   0 Jan  1 00:00 fb0
lrwxrwxrwx 1 root root          13 Jan  1 00:00 fd -> /proc/self/fd
crw-rw-rw- 1 root root      1,   7 Jan  1 00:00 full
crw-rw-rw- 1 root root     10, 229 Jan  1 00:00 fuse
crw------- 1 root root    254,   0 Jan  1 00:00 gpiochip0
crw------- 1 root root    254,   1 Jan  1 00:00 gpiochip1
crw------- 1 root root    254,   2 Jan  1 00:00 gpiochip2
crw------- 1 root root    254,   3 Jan  1 00:00 gpiochip3
crw------- 1 root root    254,   4 Jan  1 00:00 gpiochip4
crw------- 1 root root    254,   5 Jan  1 00:00 gpiochip5
crw-rw-rw- 1 root root     10, 126 Jan  1 00:00 hdmirx_hdcp
crw------- 1 root root    235,   0 Jan  1 00:00 hidraw0
crw------- 1 root root     10, 183 Jan  1 00:00 hwrng
crw------- 1 root root     89,   0 Jan  1 00:00 i2c-0
crw------- 1 root root     89,   1 Jan  1 00:00 i2c-1
crw------- 1 root root     89,  10 Jan  1 00:00 i2c-10
crw------- 1 root root     89,  11 Jan  1 00:00 i2c-11
crw------- 1 root root     89,  12 Jan  1 00:00 i2c-12
crw------- 1 root root     89,   3 Jan  1 00:00 i2c-3
crw------- 1 root root     89,   4 Jan  1 00:00 i2c-4
crw------- 1 root root     89,   5 Jan  1 00:00 i2c-5
crw------- 1 root root     89,   6 Jan  1 00:00 i2c-6
crw------- 1 root root     89,   7 Jan  1 00:00 i2c-7
crw------- 1 root root     89,   9 Jan  1 00:00 i2c-9
crw------- 1 root root    245,   0 Jan  1 00:00 iio:device0
drwxr-xr-x 4 root root         200 Jan  1 00:00 input
crw-r--r-- 1 root root      1,  11 Jan  1 00:00 kmsg
srw-rw-rw- 1 root root           0 Jan  1 00:00 log
crw-rw---- 1 root disk     10, 237 Jan  1 00:00 loop-control
brw-rw---- 1 root disk      7,   0 Jan  1 00:00 loop0
brw-rw---- 1 root disk      7,   1 Jan  1 00:00 loop1
brw-rw---- 1 root disk      7,   2 Jan  1 00:00 loop2
brw-rw---- 1 root disk      7,   3 Jan  1 00:00 loop3
brw-rw---- 1 root disk      7,   4 Jan  1 00:00 loop4
brw-rw---- 1 root disk      7,   5 Jan  1 00:00 loop5
brw-rw---- 1 root disk      7,   6 Jan  1 00:00 loop6
brw-rw---- 1 root disk      7,   7 Jan  1 00:00 loop7
crw-rw---- 1 root video    10, 122 Jan  1 00:00 mali0
crw-rw---- 1 root video   249,   0 Jan  1 00:00 media0
crw-rw---- 1 root video   249,   1 Jan  1 00:00 media1
crw-rw---- 1 root video   249,   2 Jan  1 00:00 media2
crw-rw---- 1 root video   249,   3 Jan  1 00:00 media3
crw-rw---- 1 root video   249,   4 Jan  1 00:00 media4
crw-rw---- 1 root video   249,   5 Jan  1 00:00 media5
crw-rw---- 1 root video   249,   6 Jan  1 00:00 media6
crw-rw---- 1 root video   249,   7 Jan  1 00:00 media7
crw-r----- 1 root kmem      1,   1 Jan  1 00:00 mem
brw-rw---- 1 root disk    179,   0 Jan  1 00:00 mmcblk0
brw-rw---- 1 root disk    179,  32 Jan  1 00:00 mmcblk0boot0
brw-rw---- 1 root disk    179,  64 Jan  1 00:00 mmcblk0boot1
brw-rw---- 1 root disk    179,   1 Jan  1 00:00 mmcblk0p1
brw-rw---- 1 root disk    179,   2 Jan  1 00:00 mmcblk0p2
brw-rw---- 1 root disk    179,   3 Jan  1 00:00 mmcblk0p3
brw-rw---- 1 root disk    179,   4 Jan  1 00:00 mmcblk0p4
brw-rw---- 1 root disk    179,   5 Jan  1 00:00 mmcblk0p5
brw-rw---- 1 root disk    179,   6 Jan  1 00:00 mmcblk0p6
brw-rw---- 1 root disk    179,   7 Jan  1 00:00 mmcblk0p7
brw-rw---- 1 root disk    179,   8 Jan  1 00:00 mmcblk0p8
crw------- 1 root root    236,   0 Jan  1 00:00 mmcblk0rpmb
crw-rw---- 1 root video   241,   0 Jan  1 00:00 mpp_service
crw-rw-rw- 1 root root      1,   3 Jan  1 00:00 null
crw-r----- 1 root kmem      1,   4 Jan  1 00:00 port
crw-rw-rw- 1 root tty       5,   2 Jan  1 00:00 ptmx
crw------- 1 root root    246,   0 Jan  1 00:00 ptp0
drwxr-xr-x 2 root root           0 Jan  1 00:00 pts
brw-rw---- 1 root disk      1,   0 Jan  1 00:00 ram0
crw-rw-rw- 1 root root      1,   8 Jan  1 00:00 random
crw-rw-r-- 1 root root     10, 242 Jan  1 00:00 rfkill
crw-rw---- 1 root video    10, 123 Jan  1 00:00 rga
lrwxrwxrwx 1 root root           4 Jan  1 00:00 rtc -> rtc0
crw------- 1 root root    250,   0 Jan  1 00:00 rtc0
drwxrwxrwt 2 root root          40 Jan  1 00:00 shm
drwxr-xr-x 4 root root         280 Jan  1 00:00 snd
lrwxrwxrwx 1 root root          15 Jan  1 00:00 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root          15 Jan  1 00:00 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root          15 Jan  1 00:00 stdout -> /proc/self/fd/1
crw------- 1 root root     10, 127 Jan  1 00:00 sw_sync
crw------- 1 root root    244,   0 Jan  1 00:00 tee0
crw------- 1 root root    244,  16 Jan  1 00:00 teepriv0
crw-rw-rw- 1 root tty       5,   0 Jan  1 00:00 tty
crw--w---- 1 root tty       4,   0 Jan  1 00:00 tty0
crw--w---- 1 root tty       4,   1 Jan  1 00:00 tty1
crw--w---- 1 root tty       4,  10 Jan  1 00:00 tty10
crw--w---- 1 root tty       4,  11 Jan  1 00:00 tty11
crw--w---- 1 root tty       4,  12 Jan  1 00:00 tty12
crw--w---- 1 root tty       4,  13 Jan  1 00:00 tty13
crw--w---- 1 root tty       4,  14 Jan  1 00:00 tty14
crw--w---- 1 root tty       4,  15 Jan  1 00:00 tty15
crw--w---- 1 root tty       4,  16 Jan  1 00:00 tty16
crw--w---- 1 root tty       4,  17 Jan  1 00:00 tty17
crw--w---- 1 root tty       4,  18 Jan  1 00:00 tty18
crw--w---- 1 root tty       4,  19 Jan  1 00:00 tty19
crw--w---- 1 root tty       4,   2 Jan  1 00:00 tty2
crw--w---- 1 root tty       4,  20 Jan  1 00:00 tty20
crw--w---- 1 root tty       4,  21 Jan  1 00:00 tty21
crw--w---- 1 root tty       4,  22 Jan  1 00:00 tty22
crw--w---- 1 root tty       4,  23 Jan  1 00:00 tty23
crw--w---- 1 root tty       4,  24 Jan  1 00:00 tty24
crw--w---- 1 root tty       4,  25 Jan  1 00:00 tty25
crw--w---- 1 root tty       4,  26 Jan  1 00:00 tty26
crw--w---- 1 root tty       4,  27 Jan  1 00:00 tty27
crw--w---- 1 root tty       4,  28 Jan  1 00:00 tty28
crw--w---- 1 root tty       4,  29 Jan  1 00:00 tty29
crw--w---- 1 root tty       4,   3 Jan  1 00:00 tty3
crw--w---- 1 root tty       4,  30 Jan  1 00:00 tty30
crw--w---- 1 root tty       4,  31 Jan  1 00:00 tty31
crw--w---- 1 root tty       4,  32 Jan  1 00:00 tty32
crw--w---- 1 root tty       4,  33 Jan  1 00:00 tty33
crw--w---- 1 root tty       4,  34 Jan  1 00:00 tty34
crw--w---- 1 root tty       4,  35 Jan  1 00:00 tty35
crw--w---- 1 root tty       4,  36 Jan  1 00:00 tty36
crw--w---- 1 root tty       4,  37 Jan  1 00:00 tty37
crw--w---- 1 root tty       4,  38 Jan  1 00:00 tty38
crw--w---- 1 root tty       4,  39 Jan  1 00:00 tty39
crw--w---- 1 root tty       4,   4 Jan  1 00:00 tty4
crw--w---- 1 root tty       4,  40 Jan  1 00:00 tty40
crw--w---- 1 root tty       4,  41 Jan  1 00:00 tty41
crw--w---- 1 root tty       4,  42 Jan  1 00:00 tty42
crw--w---- 1 root tty       4,  43 Jan  1 00:00 tty43
crw--w---- 1 root tty       4,  44 Jan  1 00:00 tty44
crw--w---- 1 root tty       4,  45 Jan  1 00:00 tty45
crw--w---- 1 root tty       4,  46 Jan  1 00:00 tty46
crw--w---- 1 root tty       4,  47 Jan  1 00:00 tty47
crw--w---- 1 root tty       4,  48 Jan  1 00:00 tty48
crw--w---- 1 root tty       4,  49 Jan  1 00:00 tty49
crw--w---- 1 root tty       4,   5 Jan  1 00:00 tty5
crw--w---- 1 root tty       4,  50 Jan  1 00:00 tty50
crw--w---- 1 root tty       4,  51 Jan  1 00:00 tty51
crw--w---- 1 root tty       4,  52 Jan  1 00:00 tty52
crw--w---- 1 root tty       4,  53 Jan  1 00:00 tty53
crw--w---- 1 root tty       4,  54 Jan  1 00:00 tty54
crw--w---- 1 root tty       4,  55 Jan  1 00:00 tty55
crw--w---- 1 root tty       4,  56 Jan  1 00:00 tty56
crw--w---- 1 root tty       4,  57 Jan  1 00:00 tty57
crw--w---- 1 root tty       4,  58 Jan  1 00:00 tty58
crw--w---- 1 root tty       4,  59 Jan  1 00:00 tty59
crw--w---- 1 root tty       4,   6 Jan  1 00:00 tty6
crw--w---- 1 root tty       4,  60 Jan  1 00:00 tty60
crw--w---- 1 root tty       4,  61 Jan  1 00:00 tty61
crw--w---- 1 root tty       4,  62 Jan  1 00:00 tty62
crw--w---- 1 root tty       4,  63 Jan  1 00:00 tty63
crw--w---- 1 root tty       4,   7 Jan  1 00:00 tty7
crw--w---- 1 root tty       4,   8 Jan  1 00:00 tty8
crw--w---- 1 root tty       4,   9 Jan  1 00:00 tty9
crw-rw---- 1 root dialout 253,   0 Jan  1 00:00 ttyFIQ0
crw------- 1 root root     10, 120 Jan  1 00:00 ubi_ctrl
crw------- 1 root root     10, 239 Jan  1 00:00 uhid
crw------- 1 root root     10, 223 Jan  1 00:00 uinput
crw-rw-rw- 1 root root      1,   9 Jan  1 00:00 urandom
drwxr-xr-x 3 root root          60 Jan  1 00:00 usb-ffs
crw------- 1 root root    238,   0 Jan  1 00:00 usbmon0
crw------- 1 root root    238,   1 Jan  1 00:00 usbmon1
crw------- 1 root root    238,   2 Jan  1 00:00 usbmon2
crw------- 1 root root    238,   3 Jan  1 00:00 usbmon3
crw------- 1 root root    238,   4 Jan  1 00:00 usbmon4
crw------- 1 root root    238,   5 Jan  1 00:00 usbmon5
crw------- 1 root root    238,   6 Jan  1 00:00 usbmon6
drwxr-xr-x 4 root root          80 Jan  1 00:00 v4l
crw-rw---- 1 root video    81,  76 Jan  1 00:00 v4l-subdev0
crw-rw---- 1 root video    81,  77 Jan  1 00:00 v4l-subdev1
crw-rw---- 1 root video    81,  86 Jan  1 00:00 v4l-subdev10
crw-rw---- 1 root video    81,  87 Jan  1 00:00 v4l-subdev11
crw-rw---- 1 root video    81,  78 Jan  1 00:00 v4l-subdev2
crw-rw---- 1 root video    81,  79 Jan  1 00:00 v4l-subdev3
crw-rw---- 1 root video    81,  80 Jan  1 00:00 v4l-subdev4
crw-rw---- 1 root video    81,  81 Jan  1 00:00 v4l-subdev5
crw-rw---- 1 root video    81,  82 Jan  1 00:00 v4l-subdev6
crw-rw---- 1 root video    81,  83 Jan  1 00:00 v4l-subdev7
crw-rw---- 1 root video    81,  84 Jan  1 00:00 v4l-subdev8
crw-rw---- 1 root video    81,  85 Jan  1 00:00 v4l-subdev9
crw-rw---- 1 root tty       7,   0 Jan  1 00:00 vcs
crw-rw---- 1 root tty       7,   1 Jan  1 00:00 vcs1
crw-rw---- 1 root tty       7, 128 Jan  1 00:00 vcsa
crw-rw---- 1 root tty       7, 129 Jan  1 00:00 vcsa1
crw-rw---- 1 root tty       7,  64 Jan  1 00:00 vcsu
crw-rw---- 1 root tty       7,  65 Jan  1 00:00 vcsu1
crw------- 1 root root     10, 121 Jan  1 00:00 vendor_storage
crw------- 1 root root     10, 137 Jan  1 00:00 vhci
lrwxrwxrwx 1 root root           7 Jan  1 00:00 video-camera0 -> video64
-rw-r--r-- 1 root root           4 Jan  1 00:00 video-dec0
-rw-r--r-- 1 root root           4 Jan  1 00:00 video-enc0
crw-rw---- 1 root video    81,   0 Jan  1 00:00 video0
crw-rw---- 1 root video    81,   1 Jan  1 00:00 video1
crw-rw---- 1 root video    81,  10 Jan  1 00:00 video10
crw-rw---- 1 root video    81,  11 Jan  1 00:00 video11
crw-rw---- 1 root video    81,  12 Jan  1 00:00 video12
crw-rw---- 1 root video    81,  13 Jan  1 00:00 video13
crw-rw---- 1 root video    81,  14 Jan  1 00:00 video14
crw-rw---- 1 root video    81,  15 Jan  1 00:00 video15
crw-rw---- 1 root video    81,  16 Jan  1 00:00 video16
crw-rw---- 1 root video    81,  17 Jan  1 00:00 video17
crw-rw---- 1 root video    81,  18 Jan  1 00:00 video18
crw-rw---- 1 root video    81,  19 Jan  1 00:00 video19
crw-rw---- 1 root video    81,   2 Jan  1 00:00 video2
crw-rw---- 1 root video    81,  20 Jan  1 00:00 video20
crw-rw---- 1 root video    81,  21 Jan  1 00:00 video21
crw-rw---- 1 root video    81,  22 Jan  1 00:00 video22
crw-rw---- 1 root video    81,  23 Jan  1 00:00 video23
crw-rw---- 1 root video    81,  24 Jan  1 00:00 video24
crw-rw---- 1 root video    81,  25 Jan  1 00:00 video25
crw-rw---- 1 root video    81,  26 Jan  1 00:00 video26
crw-rw---- 1 root video    81,  27 Jan  1 00:00 video27
crw-rw---- 1 root video    81,  28 Jan  1 00:00 video28
crw-rw---- 1 root video    81,  29 Jan  1 00:00 video29
crw-rw---- 1 root video    81,   3 Jan  1 00:00 video3
crw-rw---- 1 root video    81,  30 Jan  1 00:00 video30
crw-rw---- 1 root video    81,  31 Jan  1 00:00 video31
crw-rw---- 1 root video    81,  32 Jan  1 00:00 video32
crw-rw---- 1 root video    81,  33 Jan  1 00:00 video33
crw-rw---- 1 root video    81,  34 Jan  1 00:00 video34
crw-rw---- 1 root video    81,  35 Jan  1 00:00 video35
crw-rw---- 1 root video    81,  36 Jan  1 00:00 video36
crw-rw---- 1 root video    81,  37 Jan  1 00:00 video37
crw-rw---- 1 root video    81,  38 Jan  1 00:00 video38
crw-rw---- 1 root video    81,  39 Jan  1 00:00 video39
crw-rw---- 1 root video    81,   4 Jan  1 00:00 video4
crw-rw---- 1 root video    81,  40 Jan  1 00:00 video40
crw-rw---- 1 root video    81,  41 Jan  1 00:00 video41
crw-rw---- 1 root video    81,  42 Jan  1 00:00 video42
crw-rw---- 1 root video    81,  43 Jan  1 00:00 video43
crw-rw---- 1 root video    81,  44 Jan  1 00:00 video44
crw-rw---- 1 root video    81,  45 Jan  1 00:00 video45
crw-rw---- 1 root video    81,  46 Jan  1 00:00 video46
crw-rw---- 1 root video    81,  47 Jan  1 00:00 video47
crw-rw---- 1 root video    81,  48 Jan  1 00:00 video48
crw-rw---- 1 root video    81,  49 Jan  1 00:00 video49
crw-rw---- 1 root video    81,   5 Jan  1 00:00 video5
crw-rw---- 1 root video    81,  50 Jan  1 00:00 video50
crw-rw---- 1 root video    81,  51 Jan  1 00:00 video51
crw-rw---- 1 root video    81,  52 Jan  1 00:00 video52
crw-rw---- 1 root video    81,  53 Jan  1 00:00 video53
crw-rw---- 1 root video    81,  54 Jan  1 00:00 video54
crw-rw---- 1 root video    81,  55 Jan  1 00:00 video55
crw-rw---- 1 root video    81,  56 Jan  1 00:00 video56
crw-rw---- 1 root video    81,  57 Jan  1 00:00 video57
crw-rw---- 1 root video    81,  58 Jan  1 00:00 video58
crw-rw---- 1 root video    81,  59 Jan  1 00:00 video59
crw-rw---- 1 root video    81,   6 Jan  1 00:00 video6
crw-rw---- 1 root video    81,  60 Jan  1 00:00 video60
crw-rw---- 1 root video    81,  61 Jan  1 00:00 video61
crw-rw---- 1 root video    81,  62 Jan  1 00:00 video62
crw-rw---- 1 root video    81,  63 Jan  1 00:00 video63
crw-rw---- 1 root video    81,  64 Jan  1 00:00 video64
crw-rw---- 1 root video    81,  65 Jan  1 00:00 video65
crw-rw---- 1 root video    81,  66 Jan  1 00:00 video66
crw-rw---- 1 root video    81,  67 Jan  1 00:00 video67
crw-rw---- 1 root video    81,  68 Jan  1 00:00 video68
crw-rw---- 1 root video    81,  69 Jan  1 00:00 video69
crw-rw---- 1 root video    81,   7 Jan  1 00:00 video7
crw-rw---- 1 root video    81,  70 Jan  1 00:00 video70
crw-rw---- 1 root video    81,  71 Jan  1 00:00 video71
crw-rw---- 1 root video    81,  72 Jan  1 00:00 video72
crw-rw---- 1 root video    81,  73 Jan  1 00:00 video73
crw-rw---- 1 root video    81,  74 Jan  1 00:00 video74
crw-rw---- 1 root video    81,  75 Jan  1 00:00 video75

crw-rw---- 1 root video    81,   8 Jan  1 00:00 video8
crw-rw---- 1 root video    81,   9 Jan  1 00:00 video9
crw-rw-rw- 1 root root      1,   5 Jan  1 00:00 zero
brw-rw---- 1 root disk    254,   0 Jan  1 00:00 zram0
root@rk3588-buildroot:/dev# 
root@rk3588-buildroot:/dev#  
root@rk3588-buildroot:/dev# 
root@rk3588-buildroot:/dev# v4l2-ctl --list-devices
[  368.730010] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.730047] stream_cif_mipi_id0: update sensor info failed -19
[  368.730079] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.730086] stream_cif_mipi_id1: update sensor info failed -19
[  368.730109] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.730116] stream_cif_mipi_id2: update sensor info failed -19
[  368.730139] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[  368.730145] stream_cif_mipi_id3: update sensor info failed -19
[  368.730168] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.730175] rkcif_scale_ch0: update sensor info failed -19
[  368.730198] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.730205] rkcif_scale_ch1: update sensor info failed -19
[  368.730227] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.730233] rkcif_scale_ch2: update sensor info failed -19
[  368.730255] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[  368.730262] rkcif_scale_ch3: update sensor info failed -19
[  368.730284] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.730291] rkcif_tools_id0: update sensor info failed -19
[  368.730314] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.730320] rkcif_tools_id1: update sensor info failed -19
[  368.730343] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.730349] rkcif_tools_id2: update sensor info failed -19
[  368.730439] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.730446] stream_cif_mipi_id0: update sensor info failed -19
[  368.730476] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.730483] stream_cif_mipi_id1: update sensor info failed -19
[  368.730507] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.730521] stream_cif_mipi_id2: update sensor info failed -19
[  368.730548] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[  368.730555] stream_cif_mipi_id3: update sensor info failed -19
[  368.730578] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.730584] rkcif_scale_ch0: update sensor info failed -19
[  368.730607] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.730613] rkcif_scale_ch1: update sensor info failed -19
[  368.730636] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.730642] rkcif_scale_ch2: update sensor info failed -19
[  368.730667] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[  368.730679] rkcif_scale_ch3: update sensor info failed -19
[  368.730704] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.730710] rkcif_tools_id0: update sensor info failed -19
[  368.730733] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.730739] rkcif_tools_id1: update sensor info failed -19
[  368.730762] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.730768] rkcif_tools_id2: update sensor info failed -19
[  368.730816] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.730822] stream_cif_mipi_id0: update sensor info failed -19
[  368.730846] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.730852] stream_cif_mipi_id1: update sensor info failed -19
[  368.730875] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.730881] stream_cif_mipi_id2: update sensor info failed -19
[  368.730903] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[  368.730910] stream_cif_mipi_id3: update sensor info failed -19
[  368.730933] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.730945] rkcif_scale_ch0: update sensor info failed -19
[  368.730971] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.730977] rkcif_scale_ch1: update sensor info failed -19
[  368.730999] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.731005] rkcif_scale_ch2: update sensor info failed -19
[  368.731027] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[  368.731033] rkcif_scale_ch3: update sensor info failed -19
[  368.731056] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.731062] rkcif_tools_id0: update sensor info failed -19
[  368.731085] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.731091] rkcif_tools_id1: update sensor info failed -19
[  368.731113] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.731120] rkcif_tools_id2: update sensor info failed -19
[  368.731168] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.731175] stream_cif_mipi_id0: update sensor info failed -19
[  368.731198] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.731212] stream_cif_mipi_id1: update sensor info failed -19
[  368.731240] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.731246] stream_cif_mipi_id2: update sensor info failed -19
[  368.731268] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[  368.731274] stream_cif_mipi_id3: update sensor info failed -19
[  368.731297] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.731303] rkcif_scale_ch0: update sensor info failed -19
[  368.731325] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.731332] rkcif_scale_ch1: update sensor info failed -19
[  368.731353] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.731360] rkcif_scale_ch2: update sensor info failed -19
[  368.731381] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[  368.731388] rkcif_scale_ch3: update sensor info failed -19
[  368.731412] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.731425] rkcif_tools_id0: update sensor info failed -19
[  368.731452] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.731458] rkcif_tools_id1: update sensor info failed -19
[  368.731480] rkcif-mipi-lvds4: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.731487] rkcif_tools_id2: update sensor info failed -19
[  368.731535] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.731542] stream_cif_mipi_id0: update sensor info failed -19
[  368.731566] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.731572] stream_cif_mipi_id1: update sensor info failed -19
[  368.731595] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.731601] stream_cif_mipi_id2: update sensor info failed -19
[  368.731625] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[  368.731637] stream_cif_mipi_id3: update sensor info failed -19
[  368.731662] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.731669] rkcif_scale_ch0: update sensor info failed -19
[  368.731691] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.731698] rkcif_scale_ch1: update sensor info failed -19
[  368.731719] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.731726] rkcif_scale_ch2: update sensor info failed -19
[  368.731749] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[  368.731755] rkcif_scale_ch3: update sensor info failed -19
[  368.731777] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[  368.731783] rkcif_tools_id0: update sensor info failed -19
[  368.731806] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[  368.731812] rkcif_tools_id1: update sensor info failed -19
[  368.731834] rkcif-mipi-lvds5: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[  368.731847] rkcif_tools_id2: update sensor info failed -19
rk_hdmirx (fdee0000.hdmirx-controller):
    /dev/video73

rkisp-statistics (platform: rkisp):
    /dev/video62
    /dev/video63
    /dev/video71
    /dev/video72

rkcif-mipi-lvds (platform:rkcif):
    /dev/media0
    /dev/media1
[  368.818987] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    /dev/media2
[  368.819016] stream_cif_mipi_id0: update sensor info failed -19
    /dev/media3
    /dev/media4

rkisp_mainpath (platform:rkisp0-vir0):
    /dev/video55
    /dev/video56
    /dev/video57
    /dev/video58
    /dev/video59
    /dev/video60
    /dev/video61
    /dev/media5

rkisp_mainpath (platform:rkisp0-vir1):
    /dev/video64
    /dev/video65
    /dev/video66
    /dev/video67
    /dev/video68
    /dev/video69
    /dev/video70
    /dev/media6

HD WEBCAM: HD 2MP WEBCAM (usb-fc800000.usb-1):
    /dev/video74
    /dev/video75
    /dev/media7

Failed to open /dev/video0: No such device
root@rk3588-buildroot:/dev# 
jpeg,width=1920,height=1080 ! jpegdec ! videoconvert ! autovideosinko74 ! image/j

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
[00:06:30.661] seeing the first app
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:01:33.248590661
Setting pipeline to NULL ...
[  485.245943] uvcvideo: Failed to resubmit video URB (-1).
Freeing pipeline ...
root@rk3588-buildroot:/dev# 
root@rk3588-buildroot:/dev# 
root@rk3588-buildroot:/dev# 

这篇关于20240531在飞凌的OK3588-C开发板上跑原厂的Buildroot测试USB摄像头的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1019717

相关文章

性能测试介绍

性能测试是一种测试方法,旨在评估系统、应用程序或组件在现实场景中的性能表现和可靠性。它通常用于衡量系统在不同负载条件下的响应时间、吞吐量、资源利用率、稳定性和可扩展性等关键指标。 为什么要进行性能测试 通过性能测试,可以确定系统是否能够满足预期的性能要求,找出性能瓶颈和潜在的问题,并进行优化和调整。 发现性能瓶颈:性能测试可以帮助发现系统的性能瓶颈,即系统在高负载或高并发情况下可能出现的问题

字节面试 | 如何测试RocketMQ、RocketMQ?

字节面试:RocketMQ是怎么测试的呢? 答: 首先保证消息的消费正确、设计逆向用例,在验证消息内容为空等情况时的消费正确性; 推送大批量MQ,通过Admin控制台查看MQ消费的情况,是否出现消费假死、TPS是否正常等等问题。(上述都是临场发挥,但是RocketMQ真正的测试点,还真的需要探讨) 01 先了解RocketMQ 作为测试也是要简单了解RocketMQ。简单来说,就是一个分

【测试】输入正确用户名和密码,点击登录没有响应的可能性原因

目录 一、前端问题 1. 界面交互问题 2. 输入数据校验问题 二、网络问题 1. 网络连接中断 2. 代理设置问题 三、后端问题 1. 服务器故障 2. 数据库问题 3. 权限问题: 四、其他问题 1. 缓存问题 2. 第三方服务问题 3. 配置问题 一、前端问题 1. 界面交互问题 登录按钮的点击事件未正确绑定,导致点击后无法触发登录操作。 页面可能存在

业务中14个需要进行A/B测试的时刻[信息图]

在本指南中,我们将全面了解有关 A/B测试 的所有内容。 我们将介绍不同类型的A/B测试,如何有效地规划和启动测试,如何评估测试是否成功,您应该关注哪些指标,多年来我们发现的常见错误等等。 什么是A/B测试? A/B测试(有时称为“分割测试”)是一种实验类型,其中您创建两种或多种内容变体——如登录页面、电子邮件或广告——并将它们显示给不同的受众群体,以查看哪一种效果最好。 本质上,A/B测

Verybot之OpenCV应用一:安装与图像采集测试

在Verybot上安装OpenCV是很简单的,只需要执行:         sudo apt-get update         sudo apt-get install libopencv-dev         sudo apt-get install python-opencv         下面就对安装好的OpenCV进行一下测试,编写一个通过USB摄像头采

开发板NFS挂载文件目录

文章目录 序NFS1. 安装 NFS 服务器和客户端在服务器上(NFS 服务器端)在客户端上(NFS 客户端) 2. 配置 NFS 服务器创建共享目录编辑 `/etc/exports` 文件启动 NFS 服务 3. 在客户端挂载 NFS 共享创建挂载点挂载 NFS 共享验证挂载 4. 设置开机自动挂载5. 解决权限问题 序 本节主要实现虚拟机(服务器)与开发板(客户端)通过N

BIRT 报表的自动化测试

来源:http://www.ibm.com/developerworks/cn/opensource/os-cn-ecl-birttest/如何为 BIRT 报表编写自动化测试用例 BIRT 是一项很受欢迎的报表制作工具,但目前对其的测试还是以人工测试为主。本文介绍了如何对 BIRT 报表进行自动化测试,以及在实际项目中的一些测试实践,从而提高了测试的效率和准确性 -------

可测试,可维护,可移植:上位机软件分层设计的重要性

互联网中,软件工程师岗位会分前端工程师,后端工程师。这是由于互联网软件规模庞大,从业人员众多。前后端分别根据各自需求发展不一样的技术栈。那么上位机软件呢?它规模小,通常一个人就能开发一个项目。它还有必要分前后端吗? 有必要。本文从三个方面论述。分别是可测试,可维护,可移植。 可测试 软件黑盒测试更普遍,但很难覆盖所有应用场景。于是有了接口测试、模块化测试以及单元测试。都是通过降低测试对象

day45-测试平台搭建之前端vue学习-基础4

目录 一、生命周期         1.1.概念         1.2.常用的生命周期钩子         1.3.关于销毁Vue实例         1.4.原理​编辑         1.5.代码 二、非单文件组件         2.1.组件         2.2.使用组件的三大步骤         2.3.注意点         2.4.关于VueComponen

Usb Audio Device Descriptor(10) Hid Device

对于 Standard Interface Descriptor, 当 bInterfaceClass=0x03时,即为HID设备。Standard Interface Descriptor如下 struct usb_standard_interface_descriptor{U8 bLength; /*Size of this descriptor in bytes*/U8 bDescrip