我双启动 Ubuntu 和 Windows。
如果我关闭电脑,然后打开并启动 Ubuntu,我的 USB 无线适配器不会初始化。我目前有 2 个解决方法:
- 拔下 USB 适配器,然后插入(在 Ubuntu 会话中)
- 在 Windows 中启动,不存在此问题,然后重新启动(无需关闭 PC)并启动 Ubuntu
我主要使用第二种选择,但希望能够真正解决这个问题。
如果我只是重启 Ubuntu,而不关闭 PC,那么一切都很好
这是更新信息:
$ lsusb
Bus 001 Device 002: ID 083a:4505 Accton Technology Corp. SMCWUSB-G 802.11bg
$ sudo lshw -class network
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: eth0
version: 02
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:40 ioport:e800(size=256) memory:fdeff000-fdefffff memory:fdee0000-fdeeffff memory:febe0000-febfffff
*-network
description: Wireless interface
physical id: 1
bus info: usb@1:2
logical name: wlan0
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=zd1211rw driverversion=2.6.38-13-generic firmware=4725 link=yes multicast=yes wireless=IEEE 802.11bg
第二更新:
我比较了成功初始化和初始化失败的 dmesg 日志,以下是我认为相关的内容:
两个日志中的第一行是:
usb 1-2: new high speed USB device using ehci_hcd and address 2
我认为它引用了该 WLAN 适配器,并且仅在无法初始化我的 WLAN 适配器的会话中:
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 9
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 17
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 18
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 19
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 20
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 22
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 23
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 27
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 31
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 32
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 33
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 37
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 43
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 44
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 48
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 49
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 51
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 57
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 58
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 65
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 72
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 78
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 79
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 84
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 85
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 86
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 87
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 89
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device using ehci_hcd and address 93