在ubuntu中接入罗技c920摄像头打印的信息如下:
[ 100.873222] usb 3-2: new high-speed USB device number 5 using xhci_hcd [ 101.230728] usb 3-2: New USB device found, idVendor=046d, idProduct=08e5 [ 101.230731] usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 101.230732] usb 3-2: Product: HD Pro Webcam C920 [ 101.256962] media: Linux media interface: v0.10 [ 101.264733] Linux video capture interface: v2.00 [ 101.435920] usb 3-2: current rate 16000 is different from the runtime rate 24000 [ 101.442508] usb 3-2: current rate 16000 is different from the runtime rate 32000 [ 101.577486] usbcore: registered new interface driver snd-usb-audio [ 101.578997] uvcvideo: Found UVC 1.00 device HD Pro Webcam C920 (046d:08e5) [ 101.582409] uvcvideo: Failed to set UVC probe control : -32 (exp. 26). [ 101.587166] input: HD Pro Webcam C920 as /devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb3/3-2/3-2:1.0/input/input6 [ 101.587785] usbcore: registered new interface driver uvcvideo [ 101.587786] USB Video Class driver (1.1.1) [ 101.776262] usb 3-2: current rate 16000 is different from the runtime rate 32000 [ 102.044533] usb 3-2: current rate 16000 is different from the runtime rate 32000
分析一下这些打印信息
- [ 100.873222] usb 3-2: new high-speed USB device number 5 using xhci_hcd: 这表示一个新的高速USB设备被连接到USB 3-2端口。
- [ 101.230728] usb 3-2: New USB device found, idVendor=046d, idProduct=08e5: 这表明检测到一个新的USB设备,其供应商ID(idVendor)是046d,产品ID(idProduct)是08e5。这些ID用于唯一标识设备。
- [ 101.230732] usb 3-2: Product: HD Pro Webcam C920: 这指示连接的USB设备是一个罗技C920高清网络摄像头。
- [ 101.256962] media: Linux media interface: v0.10: 这表示Linux媒体接口的版本是v0.10,该接口可能与摄像头的驱动程序通信。
- [ 101.264733] Linux video capture interface: v2.00: 这指示Linux视频捕获接口的版本是v2.00,该接口用于处理视频捕获设备。
- [ 101.435920] usb 3-2: current rate 16000 is different from the runtime rate 24000: 这表示USB设备的当前速率(current rate)是16000,与运行时速率(runtime rate)24000不同。这可能涉及摄像头的帧率或数据传输速度设置。
- [ 101.578997] uvcvideo: Found UVC 1.00 device HD Pro Webcam C920 (046d:08e5): 这表明发现了一个UVC 1.00设备,其名称为"HD Pro Webcam C920",供应商ID为046d,产品ID为08e5。UVC(USB Video Class)是一种用于视频设备的USB驱动程序标准。
- [ 101.582409] uvcvideo: Failed to set UVC probe control : -32 (exp. 26): 这表示设置UVC探测控制失败,错误代码为-32。这可能意味着某些配置或控制参数无法正确设置。
- [ 101.587166] input: HD Pro Webcam C920 as /devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb3/3-2/3-2:1.0/input/input6: 这表明HD Pro Webcam C920被识别为输入设备,并分配了输入编号6。
- [ 101.587785] usbcore: registered new interface driver uvcvideo: 这表示uvcvideo驱动程序已注册为新的接口驱动程序,用于支持UVC设备。
- [ 101.587786] USB Video Class driver (1.1.1): 这指示USB Video Class驱动程序的版本是1.1.1,该驱动程序用于提供对UVC设备的
后面将根据打印的信息来分析摄像头相关的驱动。