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

news2024/11/24 20:25:15

多次开关机,发现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.coloradmin.cn/o/970361.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

苹果平板如何录屏?这个方法亲测有效!

“苹果的平板可以录屏吗&#xff0c;买了个平板拿来上网课&#xff0c;但是老师讲课速度太快了&#xff0c;就想说录下来&#xff0c;可是找不到哪里可以录制&#xff0c;有人知道苹果平板如何录屏吗&#xff1f;” 苹果平板作为一款功能强大的设备&#xff0c;不仅适用于日常…

全网最全MySQL锁全面解析

目录 1. 锁的分类 1.1 从操作类型划分&#xff0c;分为读锁和写锁&#xff1b; 1.2 从锁的粒度划分&#xff0c;分为全局锁&#xff0c;表锁&#xff0c;页锁&#xff0c;行锁&#xff1b; 1.3 从锁的态度划分&#xff0c;分为乐观锁和悲观锁&#xff1b; 2. 读锁和写锁 …

说说JavaScript与DOM之间的关系

dom&#xff08;文档对象模型&#xff09;是JavaScript的一个组成部分&#xff0c;它为JavaScript提供处理网页内容的方法和接口&#xff1b;JavaScript对网页进行的所有操作都是通过DOM进行的。 完整的 JavaScript 是由以下三个部分组成&#xff1a; 核心&#xff08;ECMAScri…

elementui el-table在有summary-method时,table数据行将合计行遮挡住了

前端使用框架&#xff1a;elementUI 使用组件&#xff1a;el-table 在表格内添加合计了合计行&#xff0c;根据业务多次调用数据渲染画面后&#xff0c;偶然导致画面变成如下图所示&#xff0c;table的数据行将合计行遮挡住了&#xff0c;且这个现象有时候好用&#xff0c;有…

界面控件DevExpress .NET应用安全 Web API v23.1亮点:支持Swagger模式

DevExpress拥有.NET开发需要的所有平台控件&#xff0c;包含600多个UI控件、报表平台、DevExpress Dashboard eXpressApp 框架、适用于 Visual Studio的CodeRush等一系列辅助工具。 DevExpress 今年第一个重要版本v23.1日前已正式发布了&#xff0c;该版本拥有众多新产品和数十…

AI大模型的使用-深入使用LLMChain,给AI连上Google和计算器

今天涉及的内容如下&#xff0c;下面都会使用例子一一讲解使用&#xff0c; 1.1 utilities&#xff1a;langchain的python解析器 1.2 LLMMathChain&#xff1a;可以处理计算的链&#xff0c;内部用python解释器处理 1.3 LLMRequestsChain&#xff1a;通过一个 HTTP 请求来得…

Flink(java版)

watermark 时间语义和 watermark 注意:数据进入flink的时间&#xff1a;如果用这个作为时间语义就不存在问题&#xff0c;但是开发中往往会用处理时间 作为时间语义这里就需要考虑延时的问题。 如上图&#xff0c;数据从kafka中获取出来&#xff0c;从多个分区中获取&#xf…

DES和3DES等常见加解密的关键要素---安全行业基础篇3

DES和3DES DES和3DES是对称加密算法&#xff0c;其加密和解密的关键要素包括&#xff1a; 密钥&#xff1a;DES和3DES使用相同长度的密钥进行加密和解密。DES使用56位密钥&#xff0c;而3DES可以使用112位或168位密钥。密钥是保护数据安全的关键&#xff0c;必须保持机密并只…

港联证券:为什么人们买涨不买跌?

在股票市场中&#xff0c;有一个普遍的现象是人们倾向于买涨不买跌。即使在市场出现明显下跌趋势时&#xff0c;大部分投资者也会选择继续持有股票或者进行买入操作&#xff0c;而在股票呈现明显上涨趋势时&#xff0c;却有更多的人涌入市场追涨杀跌。究其原因&#xff0c;可能…

微信小程序+Springboot实现订阅消息推送 (demo)

1. 开通订阅消息 2. 选用模板 订阅消息 - 公共模板库 - 选用 3. 选择关键词 勾选关键词 - 最多勾选5个 - 显示例子 4. 我的模板 5. 订阅号开发者-文档: 发送订阅消息 | 微信开放文档 6. 依赖 <dependency><groupId>com.alibaba.fastjson2</groupId><art…

淘宝API接口解析,实现获得淘宝商品快递费用

要获取淘宝商品快递费用&#xff0c;需要使用淘宝的开放平台API接口。以下是一个基本的示例&#xff0c;解析并实现获取淘宝商品快递费用的API接口。 首先&#xff0c;你需要访问淘宝开放平台并注册一个开发者账号。注册完成后&#xff0c;你需要创建一个应用并获取到API的权限…

滑动窗口实例7(串联所有单词的子串)

题目&#xff1a; 给定一个字符串 s 和一个字符串数组 words。 words 中所有字符串 长度相同。 s 中的 串联子串 是指一个包含 words 中所有字符串以任意顺序排列连接起来的子串。 例如&#xff0c;如果 words ["ab","cd","ef"]&#xff0c;…

iPhone勿扰模式如何设置?1分钟学会!

上班的时候手机信息一直“噔、噔、噔”的响&#xff0c;开了静音模式也没用&#xff0c;信息一来手机还是会一直震动&#xff0c;搞得我无法安心工作&#xff0c;还有什么方法可以将这些信息免打扰吗&#xff1f; iPhone手机有一个功能叫做【勿扰模式】&#xff0c;它能够帮助用…

多numa设备,如何看网卡插在哪个numa上

1.在Linux系统中&#xff0c;可以通过lstopo命令来查看系统的NUMA拓扑结构。这个命令通常随着hwloc包一起提供。 安装hwloc包&#xff1a;yum install hwloc 使用lstopo命令来显示系统的NUMA拓扑结构。 &#xff08;在bclinux安装后&#xff0c;只有lstopo-no-graphics命令&…

TSN协议解读系列 | (2) Qbv:车间里的求知路

时春季夜间&#xff0c;风清月朗&#xff0c;周期仿佛又轮转到了从前。一位不修篇幅的老头&#xff0c;牙还没刷&#xff0c;却已然歪头斜躺在床上&#xff0c;床边微亮的显示屏上隐约可见Victory的字样&#xff0c;不一会儿就熄了屏。 这正是我们今天的主人公&#xff0c;Qbv…

微服务-gateway跨域配置

文章目录 一、前言二、gateway跨域配置1、问题描述1.1、什么是跨域请求&#xff1f;1.1.1、同源策略1.1.2. 安全性考虑1.1.3. 跨域攻击 1.2、问题产生原因 2、解决方法2.1、修改配置文件2.2、配置类统一配置2.3、全局跨域拦截器 三、总结 一、前言 在SpringCloud项目中&#x…

C++ - 继承 一些 细节 - 组合 和 继承的区别

前言 本篇博客基于 C - 继承_chihiro1122的博客-CSDN博客 之上列出一些例子&#xff0c;如果有需要请看以上博客。 继承的例子 例1 上述例子应该选择 C。 首先不用说&#xff0c;p3肯定是指向 d 对象的开头的&#xff1b;p1 也是指向 d 对象的开头的&#xff1b;…

网站监控系统最佳实践之静态资源采样上报

作者 观测云 产品服务部门 深圳团队 朱端畅 背景说明 通过 RUM 采集前端数据时&#xff0c;若采集的数据过多&#xff0c;可能会导致占用过多的网络带宽以及其他资源。特别是刚进入首页加载数据时&#xff0c;可能会调用几十次甚至更多次 v1/write/rum?precisionms数据采集接…

spacy安装旧版本en_core_web_sm的解决方案

大家好,我是爱编程的喵喵。双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中。从事机器学习以及相关的前后端开发工作。曾在阿里云、科大讯飞、CCF等比赛获得多次Top名次。现为CSDN博客专家、人工智能领域优质创作者。喜欢通过博客创作的方式对所学的…

Navicat Premium 16.2.7 数据库管理教程

Navicat Premium 16.2.7是一款功能强大的数据库管理工具&#xff0c;支持多种数据库类型&#xff0c;包括MySQL、Oracle、SQL Server等。以下是使用Navicat Premium的基本步骤&#xff1a; 安装Navicat Premium软件。打开Navicat Premium&#xff0c;在主界面上选择“新建连接…