rk3399 linux 5.10 usb 2.0设备上电概率性注册失败

多次开关机,发现usb hub和4G都通信失败了,这就有点奇怪了,按理说usb驱动是没啥问题的

先查看usb log

root@linaro-alip:/# dmesg | grep usb
[    1.723797] usbcore: registered new interface driver usbfs
[    1.723828] usbcore: registered new interface driver hub
[    1.723858] usbcore: registered new device driver usb
[    2.323771] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: IRQ index 0 not found
[    2.324021] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: failed to create phy
[    2.324162] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: IRQ index 0 not found
[    2.324266] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[    5.708638] usbcore: registered new interface driver rtl8150
[    5.708666] usbcore: registered new interface driver r8152
[    5.712153] usbcore: registered new interface driver cdc_acm
[    5.712330] usbcore: registered new interface driver uas
[    5.712366] usbcore: registered new interface driver usb-storage
[    5.712423] usbcore: registered new interface driver usbserial_generic
[    5.712443] usbserial: USB Serial support registered for generic
[    5.712466] usbcore: registered new interface driver cp210x
[    5.712481] usbserial: USB Serial support registered for cp210x
[    5.712504] usbcore: registered new interface driver ftdi_sio
[    5.712519] usbserial: USB Serial support registered for FTDI USB Serial Device
[    5.712542] usbcore: registered new interface driver keyspan
[    5.712557] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    5.712575] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    5.712592] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    5.712606] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    5.712629] usbcore: registered new interface driver option
[    5.712644] usbserial: USB Serial support registered for GSM modem (1-port)
[    5.712667] usbcore: registered new interface driver oti6858
[    5.712682] usbserial: USB Serial support registered for oti6858
[    5.712705] usbcore: registered new interface driver pl2303
[    5.712720] usbserial: USB Serial support registered for pl2303
[    5.712746] usbcore: registered new interface driver qcserial
[    5.712761] usbserial: USB Serial support registered for Qualcomm USB modem
[    5.712785] usbcore: registered new interface driver sierra
[    5.712800] usbserial: USB Serial support registered for Sierra USB modem
[    5.713525] usbcore: registered new interface driver usbtouchscreen
[    5.729292] usbcore: registered new interface driver uvcvideo
[    5.730856] usbcore: registered new interface driver bfusb
[    5.730887] usbcore: registered new interface driver btusb
[    5.736029] usbcore: registered new interface driver usbhid
[    5.736036] usbhid: USB HID core driver
[    5.741130] usbcore: registered new interface driver snd-usb-audio
[    5.944921] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: IRQ index 0 not found
[    5.949599] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: IRQ index 0 not found
[    6.368180] phy phy-ff770000.syscon:usb2-phy@e460.8: illegal mode
[    6.368762] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    6.368772] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.368779] usb usb1: Product: xHCI Host Controller
[    6.368787] usb usb1: Manufacturer: Linux 5.10.160 xhci-hcd
[    6.368794] usb usb1: SerialNumber: xhci-hcd.5.auto
[    6.369635] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.369716] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    6.369724] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.369731] usb usb2: Product: xHCI Host Controller
[    6.369738] usb usb2: Manufacturer: Linux 5.10.160 xhci-hcd
[    6.369745] usb usb2: SerialNumber: xhci-hcd.5.auto
[    6.374098] ehci-platform fe380000.usb: EHCI Host Controller
[    6.374622] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 3
[    6.374739] ehci-platform fe380000.usb: irq 36, io mem 0xfe380000
[    6.386801] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    6.386983] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    6.386993] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.387002] usb usb3: Product: EHCI Host Controller
[    6.387009] usb usb3: Manufacturer: Linux 5.10.160 ehci_hcd
[    6.387016] usb usb3: SerialNumber: fe380000.usb
[    6.390060] ehci-platform fe3c0000.usb: EHCI Host Controller
[    6.390552] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 4
[    6.390668] ehci-platform fe3c0000.usb: irq 38, io mem 0xfe3c0000
[    6.403454] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    6.403620] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    6.403631] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.403639] usb usb4: Product: EHCI Host Controller
[    6.403646] usb usb4: Manufacturer: Linux 5.10.160 ehci_hcd
[    6.403653] usb usb4: SerialNumber: fe3c0000.usb
[    6.405069] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    6.405324] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 5
[    6.405429] ohci-platform fe3a0000.usb: irq 37, io mem 0xfe3a0000
[    6.464282] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    6.464301] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.464310] usb usb5: Product: Generic Platform OHCI controller
[    6.464318] usb usb5: Manufacturer: Linux 5.10.160 ohci_hcd
[    6.464325] usb usb5: SerialNumber: fe3a0000.usb
[    6.465598] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    6.465791] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 6
[    6.465875] ohci-platform fe3e0000.usb: irq 39, io mem 0xfe3e0000
[    6.524280] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    6.524301] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.524309] usb usb6: Product: Generic Platform OHCI controller
[    6.524317] usb usb6: Manufacturer: Linux 5.10.160 ohci_hcd
[    6.524325] usb usb6: SerialNumber: fe3e0000.usb
[    6.636916] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    6.785382] usb 3-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.38
[    6.785416] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    6.785422] usb 3-1: Product: USB2.0 Hub
[    8.090344] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    8.107822] usb 2-1: New USB device found, idVendor=174c, idProduct=1153, bcdDevice= 0.01
[    8.107846] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    8.107855] usb 2-1: Product: AS2115
[    8.107860] usb 2-1: Manufacturer: ASMedia
[    8.107865] usb 2-1: SerialNumber: 00000000000000000000
[    8.108959] usb-storage 2-1:1.0: USB Mass Storage device detected
[    8.109883] scsi host0: usb-storage 2-1:1.0
[   10.859439] dwc3 fe800000.usb: device reset
[   43.065576] usb 3-1: Failed to suspend device, error -110
root@linaro-alip:/#

Populating /dev using udev: [    4.628905] udevd[233]: starting version 3.2.10
[    4.629211] random: udevd: uninitialized urandom read (16 bytes read)
[    4.629336] random: udevd: uninitialized urandom read (16 bytes read)
[    4.629372] random: udevd: uninitialized urandom read (16 bytes read)
[    4.634473] udevd[234]: starting eudev-3.2.10
[    5.106932] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    5.125688] usb 2-1: New USB device found, idVendor=174c, idProduct=1153, bcdDevice= 0.01
[    5.125789] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    5.125808] usb 2-1: Product: AS2115
[    5.125825] usb 2-1: Manufacturer: ASMedia
[    5.125842] usb 2-1: SerialNumber: 00000000000000000000
[    5.130685] usb-storage 2-1:1.0: USB Mass Storage device detected
[    5.135402] scsi host0: usb-storage 2-1:1.0
[    6.141755] scsi 0:0:0:0: Direct-Access     ASMT     2115             0    PQ: 0 ANSI: 6
[    6.183043] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    6.886328] iep: iep dpi mode inactivity
[   10.297728] usb 3-1-port2: cannot reset (err = -110)
[   11.338985] usb 3-1-port2: cannot reset (err = -110)
[   12.378986] usb 3-1-port2: cannot reset (err = -110)
[   13.418988] usb 3-1-port2: cannot reset (err = -110)
[   14.458988] usb 3-1-port2: cannot reset (err = -110)
[   14.459089] usb 3-1-port2: Cannot enable. Maybe the USB cable is bad?
[   15.498955] usb 3-1-port2: cannot disable (err = -110)
[   16.538939] usb 3-1-port2: cannot reset (err = -110)
[   17.578892] usb 3-1-port2: cannot reset (err = -110)
[   18.618985] usb 3-1-port2: cannot reset (err = -110)
[   19.658985] usb 3-1-port2: cannot reset (err = -110)
[   20.698985] usb 3-1-port2: cannot reset (err = -110)
[   20.699087] usb 3-1-port2: Cannot enable. Maybe the USB cable is bad?
[   21.738975] usb 3-1-port2: cannot disable (err = -110)
[   21.739095] usb 3-1-port2: attempt power cycle


[   35.571443] android_work: sent uevent USB_STATE=CONNECTED
[   35.578525] usb 3-1-port2: cannot reset (err = -110)
[   35.578569] usb 3-1-port2: Cannot enable. Maybe the USB cable is bad?
[   35.597013] android_work: sent uevent USB_STATE=CONFIGURED
[   35.873998] Freeing drm_logo memory: 2080K
[   36.618734] usb 3-1-port2: cannot disable (err = -110)
[   36.618813] usb 3-1-port2: unable to enumerate USB device
[   37.658990] usb 3-1-port2: cannot disable (err = -110)
[   37.733167] random: crng init done
[   37.733308] random: 4 urandom warning(s) missed due to ratelimiting
[   39.140971] EXT4-fs (mmcblk2p9): mounted filesystem with ordered data mode. Opts:
[   42.858763] hub 3-1:1.0: hub_ext_port_status failed (err = -110)
[   48.058726] hub 3-1:1.0: hub_ext_port_status failed (err = -110)
[   53.258558] hub 3-1:1.0: hub_ext_port_status failed (err = -110)
[   58.458767] hub 3-1:1.0: hub_ext_port_status failed (err = -110)
[   63.658629] hub 3-1:1.0: hub_ext_port_status failed (err = -110)
[   66.183125] udevd[234]: worker [240] /devices/platform/fe380000.usb/usb3/3-1 is taking a long time

先排除硬件上的问题,然后就烧录kernel 4.1的的镜像,多次测试也没有发现这个问题,所以排除了硬件上的问题,然后。查下usb hub和usb 4G的复位脚,写驱动都给它们配上了,但是还是存在这个问题。最后通过对比rk3399.dtsi发现少了个power-domains = <&power RK3399_PD_PERIHP>;配置

加上后,重新编译烧录,重新测试没有发现这个问题了!!!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/124400.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

在很多公司里面会使用打tag的方式保留版本

&#xff1a;git tag|grep "xxx-dev“等分支来查看 2&#xff1a;git cherry-pick XXXXX 然后就是查看有冲突这些 git status 会出现相关的异常 然后解决相关的冲突 git add . git cherry-pick --continue git push XXX HEAD:refs/for/XXX 第一&#xff1a;git ta…

【LeetCode-中等题】17. 电话号码的字母组合

文章目录 题目方法一&#xff1a;递归回溯 题目 方法一&#xff1a;递归回溯 参考讲解&#xff1a;还得用回溯算法&#xff01;| LeetCode&#xff1a;17.电话号码的字母组合 首先可以画出树图&#xff1a; 先将数字对应的字符集合 加入到一个map集合 这里需要一个index来控…

伪静态web.config常见规则写法与参数介绍说明

伪静态web.config常见规则写法与参数介绍说明. 示例1&#xff1a; <?xml version"1.0" encoding"UTF-8"?> <configuration><system.webServer><rewrite><rules><rule name"规则 1" stopProcessing"tru…

【AI理论学习】语言模型:从Word Embedding到ELMo

语言模型&#xff1a;从Word Embedding到ELMo ELMo原理Bi-LM总结参考资料 本文主要介绍一种建立在LSTM基础上的ELMo预训练模型。2013年的Word2Vec及2014年的GloVe的工作中&#xff0c;每个词对应一个vector&#xff0c;对于多义词无能为力。ELMo的工作对于此&#xff0c;提出了…

Go 接口和多态

在讲解具体的接口之前&#xff0c;先看如下问题。 使用面向对象的方式&#xff0c;设计一个加减的计算器 代码如下&#xff1a; package mainimport "fmt"//父类&#xff0c;这是结构体 type Operate struct {num1 intnum2 int }//加法子类&#xff0c;这是结构体…

MySQL——数据库以及数据表的创建

创建数据库 回到刚才创建数据库的问题&#xff0c;我们在创建数据库的时候可以通过添加一个参数&#xff0c;这个参数的意义在于当我们创建的数据库已经存在的时候则不会创建&#xff0c;也不会报错&#xff0c;如果不使用这个参数&#xff0c;则我们在重复创建一个已经存在的…

数据结构--- 树

(一)知识补充 定义 树是一种数据结构,它是由n(n≥0)个有限节点组成一个具有层次关系的集合。把它叫做“树”是因为它看起来像一棵倒挂的树,也就是说它是根朝上,而叶朝下的。​ 它具有以下的特点: 每个节点有零个或多个子节点; 没有父节点的节点称为根节点;每一个非根…

2023高教社杯 国赛数学建模E题思路 - 黄河水沙监测数据分析

1 赛题 E 题 黄河水沙监测数据分析 黄河是中华民族的母亲河。研究黄河水沙通量的变化规律对沿黄流域的环境治理、气候变 化和人民生活的影响&#xff0c; 以及对优化黄河流域水资源分配、协调人地关系、调水调沙、防洪减灾 等方面都具有重要的理论指导意义。 附件 1 给出了位…

vue2笔记

Vue笔记 视频: https://www.bilibili.com/video/BV1Zy4y1K7SH?p1 vue是渐进式JavaScript框架 用到什么功能&#xff0c;只需要引入什么功能模块 ; vue的特点:易用,灵活,高效; 组件化 , 一个vue文件包括了(html css js)声明式编程(不直接操作DOM) ;虚拟DOM diff算法(虚拟dom…

C# 基础面试题(万字)

1.选择题 1. 简述下面选项能够捕获运算溢出的异常类型的有 &#xff1f; A)Exception B)SystemException C)ArithmeticException D)OverflowException 试题回答&#xff1a;AD 2. 程序员可使用&#xff08;&#xff09;语句以程序方式引发异常 &#xff1f; A)run B)try C)th…

LAMP搭建WordPress

L linux A apache hhtpd M mysql/maridb P PHP1、 安装php yum -y install php php-fpm php-server php-mysql1.1、 启动php-fpm并自启 systemctl enable php-fpm --now[rootecs-1cee ~]# systemctl status php-fpm ● php-fpm.service - The PHP FastCGI Process ManagerLoa…

VR农学虚拟仿真情景实训教学演示

首先&#xff0c;VR农学虚拟仿真情景实训教学提供了更为真实的实践环境。传统的农学实训往往受制于时间、空间和资源的限制&#xff0c;学生只能通过观察或简单的模拟来学习农业知识和技能。而借助虚拟现实技术&#xff0c;学生可以进入虚拟农场&#xff0c;与各种农作物、工具…

【运维日常】infiniband网络架构,容器间跨机器不同网段通信

本站以分享各种运维经验和运维所需要的技能为主 《python零基础入门》&#xff1a;python零基础入门学习 《python运维脚本》&#xff1a; python运维脚本实践 《shell》&#xff1a;shell学习 《terraform》持续更新中&#xff1a;terraform_Aws学习零基础入门到最佳实战 《k8…

PY32F003F18按键输入

一、PY32F003F18的GPIO介绍 1、PY32F003F18的18个I/O&#xff0c;均可作为外部中断&#xff1b; 2、每个GPIO都可以由软件配置为输出&#xff1a; 1)、推挽输出(push-pull) 2)、开漏极输出(open drain) 注意:驱动电流为8mA; 3、每个GPIO都可以由软件配置为输入&#xff1a; 1)、…

c语言初阶指针

目录 何为指针 地址大小 野指针 成因 如何规避 有效性 指针计算 -整数 ​编辑 指针比较运算 指针-指针 ​编辑 数组与指针关系 二级指针 指针数组 应用 何为指针 指针就是指针变量&#xff0c;用来存放内存空间的一个编号&#xff0c;将指针比作我们宾馆的客人&a…

前端 JS 经典:上传文件

重点&#xff1a;multipart/form-data 后端识别上传类型必填 1. form 表单上传 <!-- enctype"multipart/form-data" 这个必填 --> <form action"http://127.0.0.1:8080/users/avatar" method"post" enctype"multipart/form-data…

软件工程课件

软件工程 考点概述软件工程概述能力成度模型能力成熟度模型集成软件过程模型逆向工程![ ](https://img-blog.csdnimg.cn/425cea8190fb4c5ab2bf7be5e2ad990e.png) 考点概述 重点章节 软件工程概述 之前老版教程的&#xff0c;之前考过 能力成度模型 记忆 能力等级 和 特点 能力…

最强的AI视频去码图片修复模型:CodeFormer

目录 1 CodeFormer介绍 1.1 CodeFormer解决的问题 1.2 人脸复原的挑战 1.3 方法动机 1.4 模型实现 1.5 实验结果 2 CodeFormer部署与运行 2.1 conda环境安装 2.2 运行环境构建 2.3 模型下载 2.4 运行 2.4.1 人脸复原 ​编辑​编辑 2.4.2 全图片增强 2.4.3 人脸颜色…

linux-进程-execl族函数

exec函数的作用&#xff1a; 我们用fork函数创建新进程后&#xff0c;经常会在新进程中调用exec函数去执行另外一个程序。当进程调用exec函数时&#xff0c;该进程被完全替换为新程序。因为调用exec函数并不创建新进程&#xff0c;所以前后进程的ID并没有改变。 简单来说就是&…

ESP32用作经典蓝牙串口透传模块与手机进行串口通信

ESP32用作经典蓝牙串口透传模块与手机进行串口通信 简介ESP32开发板Arduino程序手机与ESP32开发板进行蓝牙串口透传通信总结 简介 ESP32-WROOM-32模组集成了双模蓝牙包括传统蓝牙&#xff08;BR/EDR&#xff09;、低功耗蓝牙&#xff08;BLE&#xff09;和 Wi-Fi&#xff0c;具…