1. 程式人生 > >linux usb 攝像頭報錯

linux usb 攝像頭報錯

使用linux平臺,usb攝像頭,長時間開啟會遇到以下報錯。暫未找到問題解決方法。在此記錄,希望有人能解答

安裝lsusb工具
搜尋openwrt 安裝 lsusb
 apt-get install  usbutils
usb攝像頭型號:
05ac 8502

 ls /dev和 ls /sys/class/
[[email protected]/]# ls -l /dev/video0 
crw-------    1 root     root       81,   0 Jan  1 00:02 /dev/video0

[[email protected]/]# 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.




更換核心後:
[[email protected]/]# 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/[email protected]/[email protected][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/[email protected]/[email protected][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
[[email protected]/]# 

[ 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.



[[email protected]/]#  in video completion handlerin video completion handler^C

[[email protected]/]# [ 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.

其他報錯:
[[email protected]/]#[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



正常[[email protected] /]# [22019.135275] AP SETKEYS DONE - WPA2, AuthMode(7)=WPA2PSK, WepStatus(4)=TKIP, GroupWepStatus(4)=TKIP

相關推薦

linux usb 攝像頭

使用linux平臺,usb攝像頭,長時間開啟會遇到以下報錯。暫未找到問題解決方法。在此記錄,希望有人能解答 安裝lsusb工具搜尋openwrt 安裝 lsusb apt-get install  usbutilsusb攝像頭型號:05ac 8502 ls /dev和

將windows上面的項目拷貝到Linux環境下不能夠找到對應的表com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'puyang.ServiceType' doesn't exist

exce 服務 inux 區分 大小 blog alt logs 就會 將一模一樣的項目從win遷移到到linux上報錯: 一開始還是以為是linux不能識別hql語句,查找資料發現是因為Liunx服務器上mysql是區分大小寫的,而本地是不區分的如:代碼是這樣寫的@En

小內存linux啟動Kakfka: commit_memory(0x00000000c0000000, 1073741824, 0) failed ..解決方案

bin server spa opts 內存配置 內存 默認 xms start 報錯原因: Kafka默認使用的JVM內存配置: export KAFKA_HEAP_OPTS="-Xmx1G -Xms1G" 如果服務

linux安裝mysqlclient

cache path trace 安裝mysql let div setup environ clas 錯誤信息 Collecting mysqlclient Using cached mysqlclient-1.3.12.tar.gz Complet

linux核心編譯1- error: expected specifier-qualifier-list before 'u_quad_t'

編譯核心出現 error: expected specifier-qualifier-list before 'u_quad_t' 錯誤。 解決方法: 在核心配置中有如下 File Systems ->    

springboot專案 釋出到linux環境執行,如:埠號錯誤,無法連線redis的問題解決思路

org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisC

Linux 安裝pyspider “No such file or directory: 'curl-config”

   During handling of the above exception, another exception occurred:          Traceback (most recent call last)

Linux系統tomcat:connection refused

Linux系統中,關閉tomcat服務時遇到如下錯誤: 這是由於一方面操作被拒絕,一方面tomcat沒有啟動開造成程式無法訪問。 首先,使用命令:netstat -ntlp|grep tomcat  檢視tomcat是否已啟動。檢視後,tomcat確實是已經啟動了,那現在

修給linux使用者密碼Authentication token manipulation error

1、passwd Changing password for user devd0. Changing password for devd0. (current) UNIX password: passwd: Authentication token manipulation erro 2、

【tomcatlinux啟動tomcatNeither the JAVA_HOME nor the JRE_HOME environment variable is defined

error: Linux下啟動和關閉tomcat報錯,如下圖所示: 原因: 因為啟動tomcat會呼叫tomcat安裝檔案中的startup.bat,而它呼叫了catalina.bat則呼叫了

linux系統啟動:[contains a file system with errors, check forced]的解決方法參考【ZT】

https://blog.csdn.net/BabyFish13/article/details/51190148   1、解決參考一 Press enter for maintenance (or type Control-D to continue): /dev/sda3 co

tomcat10在linux下啟動,找不到jre

今天買了阿里雲伺服器,就興致沖沖部署開發環境。可是前面安裝mysql蠻順的,到了裝tomcat的時候,啟動後卻報錯了: 原因是我安裝的jdk版本是10,.0.2,自己玩的嗎,就用最新的去測試。 但是配置環境變數,我改的是/etc/profile,改動如下: JAVA_H

ros indigo opencv獲取網路攝像頭(尚未解決)

[h264 @ 0x7f928c5deca0] cabac decode of qscale diff failed at 46 48 [h264 @ 0x7f928c5deca0] error while decoding MB 46 48, bytestre

elasticsearch的Linux下安裝問題解決

1.啟動報錯如下: vim /etc/security/limits.conf 然後修改如下 * soft nofile 65536 * hard nofile 65536 sudo vi /etc/pam.d/common-session 新增 sessio

[Pi]_開啟攝像頭_學習記錄1

問題 : 時隔很久,今日份開啟樹莓派,連線好攝像頭,本想測試一下攝像頭,輸入一句錄製視訊的命令: raspivid -o video.h264 -t 10000 果不其然,報錯: 解決方法: 首先檢查連線問題,沒連好,插反了,就無話可說了 1、啟動埠: sudo raspi-

start.sh在linux下啟動 Can't connect to any repository: ,cannot open git-receive-pack

個人部落格 地址:http://www.wenhaofan.com/article/20181223135418 報錯資訊 Can't connect to any repository: ,cannot open git-receive-pack 原因 .sh指令碼在windows系統下用記事本檔案編寫

linux執行sh:$’\r’: 未找到命令的解決

在windows 上,使用Pycharm寫xx.sh指令碼後,在Linux bash xx.sh會報$'\r': 未找到命令 原因   是因為命令直接從windows 複製過來導致的 解決   yum install dos2unix   dos2unix **.s

Linux連線mysql:Access denied for user ‘root’@‘localhost’(using password: YES)的解決方法以及忘記密碼

最近在騰訊雲上買了一伺服器玩想,然後為服務配置好mysql mysql -uroot -pxxx 要進入發現報錯 Linux連線mysql報錯:Access denied for user ‘root’@‘localhost’(using password: YES)的解決方法 因為第一次遇

Linux執行命令”Arg list too long”的原因分析

最近在SUSE LINUX作業系統中遇到個問題:在一個包含上萬個檔案的資料夾中執行rm *刪除所有檔案時報錯“Arg list too long”,最後導致刪除失敗。後來查了下資料,經過分析發現這裡有以下幾個技術點需要注意: 1. 在LINUX作業系統有限制單條命令列的長度是128KB,也就是131

安裝Linux系統VMware:二進位制轉換與此平臺上的長模式不相容

出現問題:vmware“二進位制轉換與此平臺長模式不相容.....”的問題。 問題原因:一般是由於硬體系統Virtualization Technology虛擬化技術功能關閉導致。 解決辦法: (不同型號電腦進入BIOS的方法不同,基本確定的是F1、F2、F