首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我如何激活我的笔记本电脑上的USB端口(Ryzen,Ubuntu,内核5.11,根本没有电源)?

我如何激活我的笔记本电脑上的USB端口(Ryzen,Ubuntu,内核5.11,根本没有电源)?
EN

Ask Ubuntu用户
提问于 2021-11-16 16:55:14
回答 1查看 293关注 0票数 3

我的Thinkpad T14s运行Ubuntu20.04LTS有问题。首先,几个月前我经历了这个问题。当我通过电缆或智能手机连接光驱时,什么都不会发生。智能手机也没有加载电池。而且我无法访问任何USB闪存驱动器。

在此之前,我将其降级为5.8.0-50通用内核(但这只是一次尝试,因为我真的不知道自己在做什么)。有一段时间,它似乎起作用了,但后来又停了下来。最近,我升级到5.11.0-40-泛型#44~20.04.2-Ubuntu,10月26日18:07:44 UTC 2021 x86_64 GNU/Linux。我不知道怎样检查才能缩小问题的范围。在其他计算机上,所有这些USB设备都能工作,而且我的笔记本电脑的两个USB端口都有相同的功能失调。

我想,您可能会要求某些命令的输出。我会把那些直接送到这里。

代码语言:javascript
复制
lsusb
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 003: ID 8087:0029 Intel Corp. 
Bus 006 Device 002: ID 06cb:00bd Synaptics, Inc. 
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 04f2:b6cb Chicony Electronics Co., Ltd Integrated Camera
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
代码语言:javascript
复制
lsusb -v > lsusbvoutput
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
代码语言:javascript
复制
sudo uhubctl
Current status for hub 3 [1d6b:0003 Linux 5.8.0-50-generic xhci-hcd xHCI Host Controller 0000:05:00.0, USB 3.00, 2 ports]
  Port 1: 02a0 power 5gbps Rx.Detect
  Port 2: 02a0 power 5gbps Rx.Detect
Current status for hub 2 [1d6b:0002 Linux 5.8.0-50-generic xhci-hcd xHCI Host Controller 0000:05:00.0]
  Port 1: 0100 power
  Port 2: 0507 power highspeed suspend enable connect [04f2:b6cb Chicony Electronics Co.,Ltd. Integrated Camera 0001]

当USB端口工作一段时间后,我也可以区分lsusb:

代码语言:javascript
复制
496c496
< Bus 004 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
---
> Bus 004 Device 003: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
592a593,650
>         bInterval               0
> 
> Bus 004 Device 002: ID 0e8d:1887 MediaTek Inc. Portable Super Multi Drive
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            0 
>   bDeviceSubClass         0 
>   bDeviceProtocol         0 
>   bMaxPacketSize0        64
>   idVendor           0x0e8d MediaTek Inc.
>   idProduct          0x1887 
>   bcdDevice            0.00
>   iManufacturer           1 
>   iProduct                2 
>   iSerial                 3 
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength       0x0020
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          4 
>     bmAttributes         0xa0
>       (Bus Powered)
>       Remote Wakeup
>     MaxPower              500mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass         8 Mass Storage
>       bInterfaceSubClass      2 SFF-8020i, MMC-2 (ATAPI)
>       bInterfaceProtocol     80 
>       iInterface              5 
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x02  EP 2 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes

我希望我提供了足够的细节,你可以帮助我。

诚挚的问候

EN

回答 1

Ask Ubuntu用户

发布于 2021-11-20 10:18:58

更新:在没有重新启动但真正关闭计算机之后,从当前内核5.11.0-40-generic的恢复模式开始,它再次工作。然后,我在没有恢复模式的情况下启动了相同的内核,它仍然工作。不知道为什么,但我很高兴。谢谢你的建议!

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1375929

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档