Ubuntu 20.04 USB 端口无法正常工作

Ubuntu 20.04 USB 端口无法正常工作

我在我的全新 Thinkpad E14 上安装了 Ubuntu 20.04,直到今天它都运行良好。
我的计算机上有 2 个 USB 端口,几天前它们工作正常,但现在这 2 个端口之一无法正常工作。
当我将罗技键盘连接到有故障的端口时,它根本无法工作,没有任何亮起,甚至大写锁定也没有亮起。
当我将罗技鼠标连接到有故障的端口时,下方的光学红灯会亮起,但鼠标无法工作。
键盘和鼠标都可以在另一个运行良好的 USB 端口上使用。
现在我的键盘连接到有故障的端口,因此它无法工作,而我在正常的 USB 端口上使用鼠标。
这是我尝试过的命令:

user@machine:$  lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 8087:0029 Intel Corp. 
Bus 003 Device 002: ID 06cb:00fd Synaptics, Inc. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 001 Device 002: ID 13d3:56ff IMC Networks Integrated Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

所以在这里我们可以看到鼠标已连接到良好的端口并且工作良好,到目前为止这是有意义的。

user@machine:$  usb-devices
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=05.15
S:  Manufacturer=Linux 5.15.0-56-generic xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xxxx:xx:xx.3
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.01 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=13d3 ProdID=56ff Rev=19.19
S:  Manufacturer=Azurewave
S:  Product=Integrated Camera
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I:  If#=0x1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#=  5 Spd=1.5 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c05a Rev=54.00
S:  Manufacturer=Logitech
S:  Product=USB Optical Mouse
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=98mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=10000 MxCh= 2
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=05.15
S:  Manufacturer=Linux 5.15.0-56-generic xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xxxx:xx:xx.3
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=05.15
S:  Manufacturer=Linux 5.15.0-56-generic xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xxxx:xx:xx.4
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=10 Prot=ff MxPS= 8 #Cfgs=  1
P:  Vendor=06cb ProdID=00fd Rev=00.00
S:  SerialNumber=xxxxxxxxxxxx
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)

T:  Bus=03 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.01 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=8087 ProdID=0029 Rev=00.01
C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#=0x0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I:  If#=0x1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=10000 MxCh= 2
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=05.15
S:  Manufacturer=Linux 5.15.0-56-generic xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xxxx:xx:xx.4
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

这里我们只能看到鼠标,这也是有道理的,因为另一个端口显然有故障。但 :

user@machine:$  dmesg | grep -i usb | grep -i logitech
[    1.624212] usb 1-4: Manufacturer: Logitech
[    1.647355] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.0/0003:046D:C05A.0001/input/input9
[    1.647447] hid-generic 0003:046D:C05A.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:04:00.3-4/input0

[   93.925888] usb 1-4: Manufacturer: Logitech
[   94.026389] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.0/0003:046D:C31C.0002/input/input17
[   94.084302] hid-generic 0003:046D:C31C.0002: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:04:00.3-4/input0

[   94.094272] input: Logitech USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.1/0003:046D:C31C.0003/input/input18
[   94.152077] input: Logitech USB Keyboard System Control as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.1/0003:046D:C31C.0003/input/input19
[   94.152201] hid-generic 0003:046D:C31C.0003: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:04:00.3-4/input1

[  141.788674] usb 1-4: Manufacturer: Logitech
[  141.809029] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.0/0003:046D:C05A.0004/input/input20
[  141.809316] hid-generic 0003:046D:C05A.0004: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:04:00.3-4/input0

在这里我们可以清楚地看到鼠标和键盘,那么故障端口到底能用吗?
我不明白,我也尝试过apt updateapt upgrade甚至尝试重新启动多次,但它也不起作用。
这是怎么回事?我该怎么做才能使有故障的 USB 端口正常工作?

相关内容