当我将特定的 USB 设备连接到运行 Ubuntu 20.04 的旧笔记本电脑时,我看到以下内容dmesg
:
[ 101.184759] usb 2-1: new high-speed USB device number 6 using ehci-pci
[ 101.221814] usb 2-1: device descriptor read/8, error -71
[ 101.363311] usb 2-1: device descriptor read/8, error -71
[ 101.812806] usb 5-1: new full-speed USB device number 3 using uhci_hcd
[ 102.244741] usb 5-1: device not accepting address 3, error -71
[ 102.376800] usb 5-1: new full-speed USB device number 4 using uhci_hcd
[ 102.800780] usb 5-1: device not accepting address 4, error -71
[ 102.800859] usb usb5-port1: attempt power cycle
[ 102.800880] usb usb5-port1: failed to disable port power
[ 102.928784] usb 5-1: new full-speed USB device number 5 using uhci_hcd
[ 103.068802] usb 5-1: device descriptor read/64, error -71
[ 103.312783] usb 5-1: device descriptor read/64, error -71
[ 103.556792] usb 5-1: new full-speed USB device number 6 using uhci_hcd
[ 103.696795] usb 5-1: device descriptor read/64, error -71
[ 103.948812] usb 5-1: device descriptor read/64, error -71
[ 104.056848] usb usb5-port1: unable to enumerate USB device
运行 时设备未显示lsusb
。此计算机正在运行最新且相对干净的 Ubuntu 版本,内核为 5.4.0-31.35-generic 5.4.34(来自/proc/version_signature
)。
作为一项实验,我从 18.04.4 实时闪存驱动器启动并再次连接设备,并得到以下信息dmesg
:
[ 302.308745] usb 2-1: new high-speed USB device number 6 using ehci-pci
[ 302.469632] usb 2-1: config 1 interface 4 altsetting 0 bulk endpoint 0x4 has invalid maxpacket 64
[ 302.469641] usb 2-1: config 1 interface 4 altsetting 0 bulk endpoint 0x85 has invalid maxpacket 64
[ 302.470040] usb 2-1: New USB device found, idVendor=0644, idProduct=802a, bcdDevice= 1.01
[ 302.470047] usb 2-1: New USB device strings: Mfr=12, Product=13, SerialNumber=0
[ 302.470052] usb 2-1: Product: US-800
[ 302.470057] usb 2-1: Manufacturer: TASCAM
本次测试的硬件配置相同;笔记本电脑上的 USB 端口相同,USB 电缆相同。我认为这基本排除了硬件问题。运行的内核是 5.3.0-28.30~18.04.1-generic 5.3.13(来自/proc/version_signature
)。
我不明白这有什么关系,但 USB 设备是 Tascam US-800 音频接口。笔记本电脑是 2007 年的 MacBook。我知道这是一台旧笔记本电脑,我最终可能无法让音频接口在 Ubuntu 中工作,但如果它甚至无法识别设备并尝试加载正确的驱动程序,它肯定不会工作。
最后,问题是:我该如何排除/隔离该问题?
编辑6-3-20:
我今天在计算机上运行了更新并再次测试。没有变化;仍然遇到同样的问题。内核版本(来自/proc/version_signature
)现在是 5.4.0-33.37-generic 5.4.34