| 
 | 
 
我用板子系统是Linux debian10.toybrick 4.4.194 #16 SMP Thu Apr 8 18:10:29 CST 2021 aarch64 GNU/Linux 摄像头型号:cyusb3065 MIPI图像,用这个USB3.0芯片转接,接到USB3.0接口 内核和文件系统均为最新版 
我用/usr/share/rockchip-isp里面的实例代码,不能够获取到usb3.0的视频流,用cheese显示/dev/video0 no device found。用  499  sudo v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=YUV422 --stream-mmap=3 --stream-to=/tmp/1920_480.yuv --stream-count=1 命令会卡住。摄像头的信息v4l2-ctl --all --list-formats-ext 
Driver Info: 
        Driver name      : uvcvideo 
        Card type        : SZBSYGD 
        Bus info         : usb-xhci-hcd.8.auto-1.4 
        Driver version   : 4.4.194 
        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            : SZBSYGD 
        Serial           : 
        Bus info         : 1.4 
        Media version    : 0.1.0 
        Hardware revision: 0x00000107 (263) 
        Driver version   : 4.4.194 
Entity Info: 
        ID               : 1 
        Name             : SZBSYGD 
        Type             : V4L2 I/O 
        Flags            : default 
        Major            : 81 
        Minor            : 0 
        Pad              : 0: Sink 
Priority: 2 
Video input : 0 (Camera 1: ok) 
Format Video Capture: 
        Width/Height      : 1920/1080 
        Pixel Format      : 'UYVY' (UYVY 4:2:2) 
        Field             : None 
        Bytes per Line    : 3840 
        Size Image        : 4147200 
        Colorspace        : Default 
        Transfer Function : Default (maps to Rec. 709) 
        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 1920, Height 1080 
        Default     : Left 0, Top 0, Width 1920, Height 1080 
        Pixel Aspect: 1/1 
Selection: crop_default, Left 0, Top 0, Width 1920, Height 1080, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 1920, Height 1080, Flags: 
Streaming Parameters Video Capture: 
        Capabilities     : timeperframe 
        Frames per second: 60.000 (60/1) 
        Read buffers     : 0 
ioctl: VIDIOC_ENUM_FMT 
        Type: Video Capture 
 
        [0]: 'UYVY' (UYVY 4:2:2) 
                Size: Discrete 1920x1080 
                        Interval: Discrete 0.017s (60.000 fps) 
执行查看media-ctl -p /dev/media0 
Media controller API version 0.1.0 
 
Media device information 
------------------------ 
driver          uvcvideo 
model           SZBSYGD 
serial          
bus info        1.4 
hw revision     0x107 
driver version  4.4.194 
 
Device topology 
- entity 1: SZBSYGD (1 pad, 1 link) 
            type Node subtype V4L flags 1 
            device node name /dev/video0 
        pad0: Sink 
                <- "Extension 3":1 [ENABLED,IMMUTABLE] 
 
- entity 2: SZBSYGD (0 pad, 0 link) 
            type Node subtype V4L flags 0 
            device node name /dev/video1 
 
- entity 3: Extension 3 (2 pads, 2 links) 
            type V4L2 subdev subtype Unknown flags 0 
        pad0: Sink 
                <- "Processing 2":1 [ENABLED,IMMUTABLE] 
        pad1: Source 
                -> "SZBSYGD":0 [ENABLED,IMMUTABLE] 
 
- entity 4: Processing 2 (2 pads, 2 links) 
            type V4L2 subdev subtype Unknown flags 0 
        pad0: Sink 
                <- "Camera 1":0 [ENABLED,IMMUTABLE] 
        pad1: Source 
                -> "Extension 3":0 [ENABLED,IMMUTABLE] 
 
- entity 5: Camera 1 (1 pad, 1 link) 
            type V4L2 subdev subtype Unknown flags 0 
        pad0: Source 
                -> "Processing 2":0 [ENABLED,IMMUTABLE] 
 
执行dmesg 信息: 
[90247.126888] ======== PULL WL_REG_ON(-1) LOW! ======== 
[90247.127439] [WLAN_RFKILL]: rockchip_wifi_power: 0 
[90247.129491] [WLAN_RFKILL]: wifi shut off power. 
[90247.129923] wl_android_wifi_on: Failed 
[90247.130366] dhd_open : wl_android_wifi_on failed (-1) 
[90247.130828] dhd_stop: Enter ffffffc07153d000 
[90247.131258] wl_android_wifi_off in 1 
[90247.133717] wl_android_wifi_off in 2: g_wifi_on=0, on_failure=1 
[90247.134314] dhd_wl_ioctl: returning as busstate=0 
[90247.134751] dhd_dbg_detach_pkt_monitor, 2204 
[90247.135219] dhd_net_bus_devreset: dhd_bus_devreset: -35 
[90247.137592] sdioh_disable_func_intr: error for read SDIO_CCCR_IENx : 0xffffff92 
[90247.138309] wifi_platform_set_power = 0 
[90247.138664] ======== PULL WL_REG_ON(-1) LOW! ======== 
[90247.139121] [WLAN_RFKILL]: rockchip_wifi_power: 0 
[90247.141439] [WLAN_RFKILL]: wifi shut off power. 
[90247.141869] wl_android_wifi_off out 
[90247.142279] wl_ext_iapsta_dettach_netdev: ifidx=0 
[90247.144124] dhd_stop: Exit 
[90247.144447] dhd_open : the lock is released. 
[90247.144845] dhd_open: Exit ret=-1 
[90247.160312] dhd_ioctl_entry: Interface is down 
[90260.621981] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready 
[90260.625272] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx 
[90336.351184] uvcvideo: Non-zero status (-71) in video completion handler. 
[90444.619066] uvcvideo: Failed to resubmit video URB (-1). 
[95270.971547] usb 3-1-port2: disabled by hub (EMI?), re-enabling... 
[95270.972657] usb 3-1.2: USB disconnect, device number 3 
[95271.174049] usb 3-1.2: new low-speed USB device number 11 using xhci-hcd 
[95271.256498] usb 3-1.2: New USB device found, idVendor=15d9, idProduct=0a4e 
[95271.257206] usb 3-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0 
[95271.258026] usb 3-1.2: Product:  USB OPTICAL MOUSE 
[95271.261008] usb 3-1.2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes 
[95271.296381] input:  USB OPTICAL MOUSE as /devices/platform/usb1/fe900000.dwc3/xhci-hcd.8.auto/usb3/3-1/3-1.2/3-1.2:1.0/0003:15D9:0A4E.0004/input/input7 
[95271.351419] hid-generic 0003:15D9:0A4E.0004: input,hidraw0: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-xhci-hcd.8.auto-1.2/input0 
[95271.358164] usb 3-1-port3: disabled by hub (EMI?), re-enabling... 
[95271.359698] usb 3-1.3: USB disconnect, device number 5 
[95271.654157] usb 3-1.3: new low-speed USB device number 12 using xhci-hcd 
[95271.738721] usb 3-1.3: New USB device found, idVendor=1a2c, idProduct=20c0 
[95271.739432] usb 3-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 
[95271.740255] usb 3-1.3: Product: USB Keyboard 
[95271.740661] usb 3-1.3: Manufacturer: USB 
[95271.743922] usb 3-1.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes 
[95271.744822] usb 3-1.3: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes 
[95271.776975] input: USB USB Keyboard as /devices/platform/usb1/fe900000.dwc3/xhci-hcd.8.auto/usb3/3-1/3-1.3/3-1.3:1.0/0003:1A2C:20C0.0005/input/input8 
[95271.834553] hid-generic 0003:1A2C:20C0.0005: input,hidraw1: USB HID v1.10 Keyboard [USB USB Keyboard] on usb-xhci-hcd.8.auto-1.3/input0 
[95271.847899] input: USB USB Keyboard as /devices/platform/usb1/fe900000.dwc3/xhci-hcd.8.auto/usb3/3-1/3-1.3/3-1.3:1.1/0003:1A2C:20C0.0006/input/input9 
[95271.902557] hid-generic 0003:1A2C:20C0.0006: input,hidraw2: USB HID v1.10 Device [USB USB Keyboard] on usb-xhci-hcd.8.auto-1.3/input1 
我该怎么做来支持我的摄像头?? 
 |   
 
 
 
 |