linux usb 摄像头报错
使用linux平台,usb摄像头,长时间打开会遇到以下报错。暂未找到问题解决方法。在此记录,希望有人能解答安装lsusb工具搜索openwrt 安装 lsusb apt-get install usbutilsusb摄像头型号:05ac 8502 ls /dev和 ls /sys/class/[root@/]# ls -l /dev/video0 crw-
使用linux平台,usb摄像头,长时间打开会遇到以下报错。暂未找到问题解决方法。在此记录,希望有人能解答
安装lsusb工具
搜索openwrt 安装 lsusb
apt-get install usbutils
usb摄像头型号:
05ac 8502
ls /dev和 ls /sys/class/
[root@/]# ls -l /dev/video0
crw------- 1 root root 81, 0 Jan 1 00:02 /dev/video0
[root@/]# ls /sys/class/video4linux/video0 -l
lrwxrwxrwx 1 root root 0 Jan 1 00:07 /sys/class/video4linux/video0 -> ../../devices/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1/2-1:1.0/video4linux/video0/
[ 3.220362] usb 2-1: new high-speed USB device number 2 using musb-hdrc
[ 3.385537] usb 2-1: device v05ac p8502 is not supported
[ 3.394017] usb 2-1: New USB device found, idVendor=05ac, idProduct=8502
[ 3.403786] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.414009] usb 2-1: Product: Built-in iSight
[ 3.421265] usb 2-1: Manufacturer: Apple Inc.
没有这个设备节点:/dev/video0
[ 0.252755] usbcore: registered new interface driver usbfs
[ 0.252971] usbcore: registered new interface driver hub
[ 0.253182] usbcore: registered new device driver usb
[ 1.277001] usbcore: registered new interface driver zd1201
[ 1.283154] usbcore: registered new interface driver asix
[ 1.289072] usbcore: registered new interface driver ax88179_178a
[ 1.295662] usbcore: registered new interface driver cdc_ether
[ 1.302019] usbcore: registered new interface driver smsc95xx
[ 1.308252] usbcore: registered new interface driver net1080
[ 1.314369] usbcore: registered new interface driver cdc_subset
[ 1.320778] usbcore: registered new interface driver zaurus
[ 1.326894] usbcore: registered new interface driver cdc_ncm
[ 1.351301] usbcore: registered new interface driver cdc_wdm
[ 1.357491] usbcore: registered new interface driver usb-storage
[ 1.364238] usbcore: registered new interface driver usbserial
[ 1.370585] usbcore: registered new interface driver ftdi_sio
[ 3.405209] usb 2-1: device v05ac p8502 is not supported
[ 3.413520] usb 2-1: New USB device found, idVendor=05ac, idProduct=8502
[ 3.423016] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.432916] usb 2-1: Product: Built-in iSight
[ 3.439843] usb 2-1: Manufacturer: Apple Inc.
更换内核后:
[root@/]# dmesg |grep usb
[ 0.254048] usbcore: registered new interface driver usbfs
[ 0.254274] usbcore: registered new interface driver hub
[ 0.254493] usbcore: registered new device driver usb
[ 1.291338] usbcore: registered new interface driver zd1201
[ 1.297475] usbcore: registered new interface driver asix
[ 1.303388] usbcore: registered new interface driver ax88179_178a
[ 1.309992] usbcore: registered new interface driver cdc_ether
[ 1.316319] usbcore: registered new interface driver smsc95xx
[ 1.322549] usbcore: registered new interface driver net1080
[ 1.328680] usbcore: registered new interface driver cdc_subset
[ 1.335069] usbcore: registered new interface driver zaurus
[ 1.341192] usbcore: registered new interface driver cdc_ncm
[ 1.365592] usbcore: registered new interface driver cdc_wdm
[ 1.371811] usbcore: registered new interface driver usb-storage
[ 1.378545] usbcore: registered new interface driver usbserial
[ 1.384889] usbcore: registered new interface driver ftdi_sio
[ 1.391121] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.401227] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
[ 1.401300] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 1.411149] musb-hdrc musb-hdrc.0.auto: Failed to request rx1.
[ 1.417504] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
[ 1.425728] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
[ 1.434197] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
[ 1.434259] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 1.443930] musb-hdrc musb-hdrc.1.auto: Failed to request rx1.
[ 1.450138] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
[ 1.458451] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral
[ 1.536587] usbcore: registered new interface driver uvcvideo
[ 1.687910] usbcore: registered new interface driver usbhid
[ 1.693819] usbhid: USB HID core driver
[ 2.147552] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 2.147573] musb-hdrc: MHDRC RTL version 2.0
[ 2.147582] musb-hdrc: setup fifo_mode 4
[ 2.147598] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 2.147719] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 2.156032] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[ 2.166311] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.175230] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.184558] usb usb1: Product: MUSB HDRC host driver
[ 2.191485] usb usb1: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
[ 2.199764] usb usb1: SerialNumber: musb-hdrc.0.auto
[ 2.223616] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 2.223639] musb-hdrc: MHDRC RTL version 2.0
[ 2.223648] musb-hdrc: setup fifo_mode 4
[ 2.223663] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 2.223776] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 2.232140] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[ 2.242344] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.251175] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.260467] usb usb2: Product: MUSB HDRC host driver
[ 2.267372] usb usb2: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
[ 2.275667] usb usb2: SerialNumber: musb-hdrc.1.auto
[ 3.071809] musb-hdrc musb-hdrc.1.auto: otg: usb_otg_kick_fsm: invalid host/gadget device
[ 3.221634] usb 2-1: new high-speed USB device number 2 using musb-hdrc
[ 3.405728] usb 2-1: device v05ac p8502 is not supported
[ 3.414065] usb 2-1: New USB device found, idVendor=05ac, idProduct=8502
[ 3.423649] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.433610] usb 2-1: Product: Built-in iSight
[ 3.440567] usb 2-1: Manufacturer: Apple Inc.
[ 3.650700] input: Built-in iSight as /devices/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1/2-1:1.0/input/input2
[root@/]#
[ 1762.166315] uvcvideo: Non-zero status (-71) in video completion handler.
[ 1762.466315] uvcvideo: Non-zero status (-71) in video completion handler.
[ 1762.480126] uvcvideo: Non-zero status (-71) in video completion handler.
[ 1762.717191] uvcvideo: Non-zero status (-71) in video completion handler.
[ 1762.730518] musb_host_rx 1654: RX14 dma busy, csr 2000
[ 1762.979314] uvcvideo: Non-zero status (-71) in video completion handler.
没有文件输出了....
接上 hub 出现问题
[ 6015.398128] uvcvideo: Non-zero status (-71) in video completion handler.
[ 6015.421568] uvcvideo: Non-zero status (-71) in video completion handler.
[ 6015.434822] musb_host_rx 1654: RX13 dma busy, csr 2000
[ 6015.463019] uvcvideo: Non-zero status (-71) in video completion handler.
[ 6015.476868] uvcvideo: Non-zero status (-71) in video completion handler.
[ 6015.596131] uvcvideo: Non-zero status (-71) in video completion handler.
[root@/]# in video completion handlerin video completion handler^C
[root@/]# [ 7572.195854] uvcvideo: Non-zero status (-71) in video completion handler.
[ 7572.399743] uvcvideo: Non-zero status (-71) in video completion handler.
[ 7572.547112] uvcvideo: Non-zero status (-71) in video completion handler.
[ 7572.556932] musb_host_rx 1654: RX13 dma busy, csr 2000
[ 7572.634851] uvcvideo: Non-zero status (-71) in video completion handler.
[ 7572.874854] uvcvideo: Non-zero status (-71) in video completion handler.
其他报错:
[root@/]#[21975.576217]/home/sdb/5370/2011_0517_RT5370_RT5372_RT5390U_Linux_AP_V2.6.0.0_DPA/MODULE/os/linux/../../ap/ap_auth.c:282 assert pEntry->Aid == Elem->Wcidfailed
[21975.959484] AP SETKEYS DONE - WPA2, AuthMode(7)=WPA2PSK, WepStatus(4)=TKIP, GroupWepStatus(4)=TKIP
正常[root@EVB335X /]# [22019.135275] AP SETKEYS DONE - WPA2, AuthMode(7)=WPA2PSK, WepStatus(4)=TKIP, GroupWepStatus(4)=TKIP
更多推荐
所有评论(0)