Interconexão USB entre computador e iPhone falhando devido ao erro “link não pronto”

Interconexão USB entre computador e iPhone falhando devido ao erro “link não pronto”

Estou tentando me conectar à Internet no meu laptop (Lenovo Thinkpad executando o Ubuntu 18.04) conectando-me ao meu telefone (iPhone 6s) por meio de um cabo USB-Lightning.

Isso funcionou por meses, mas falhou repentinamente, possivelmente devido a uma atualização de software/firmware. Aqui está o que parece ser a parte relevante do log:

[  +0.012080] ipheth 1-3:4.2: Apple iPhone USB Ethernet device attached
[  +0.000012] usbcore: registered new interface driver ipheth
[  +0.009028] ipheth 1-3:4.2 enp0s20f0u3c4i2: renamed from eth0
[  +0.050073] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  +0.000002] Bluetooth: BNEP filters: protocol multicast
[  +0.000005] Bluetooth: BNEP socket layer initialized
[  +0.319300] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u3c4i2: link is not ready
[  +0.000606] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u3c4i2: link is not ready
[  +0.003802] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[  +0.186225] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[  +0.002091] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f3: link is not ready
[  +0.193558] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
[  +0.000488] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f3: link is not ready
[  +0.087906] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f3: link is not ready
[  +6.065263] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  +2.736662] Bluetooth: RFCOMM TTY layer initialized
[  +0.000011] Bluetooth: RFCOMM socket layer initialized
[  +0.000009] Bluetooth: RFCOMM ver 1.11
[  +1.081306] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[  +0.000002] thinkpad_acpi: unhandled HKEY event 0x6032
[  +0.000000] thinkpad_acpi: please report the conditions when this event happened to [email protected]
[  +0.614643] thunderbolt 0000:04:00.0: stopping RX ring 0
[  +0.000011] thunderbolt 0000:04:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1)
[  +0.000017] thunderbolt 0000:04:00.0: stopping TX ring 0
[  +0.000008] thunderbolt 0000:04:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0)
[  +0.000008] thunderbolt 0000:04:00.0: control channel stopped
[ +10.943627] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[  +0.000001] thinkpad_acpi: unhandled HKEY event 0x6032
[  +0.000001] thinkpad_acpi: please report the conditions when this event happened to [email protected]
[Dec10 08:14] rfkill: input handler disabled
[ +11.118975] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[  +0.000004] thinkpad_acpi: unhandled HKEY event 0x6032

Presumivelmente, o “link não está pronto” é onde as coisas falham? Estou me perguntando se este é um problema de firmware/driver e talvez reverter uma atualização resolveria as coisas. Vou ver se consigo descobrir como fazer isso. Consigo me conectar usando o telefone como um ponto de acesso sem fio, mas não usando Bluetooth.

Aqui estão os itens que foram atualizados mais recentemente:

intel-microcode:amd64 (3.20191115.1ubuntu0.18.04.1, 3.20191115.1ubuntu0.18.04.2)
grub-common:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub2-common:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-pc:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-pc-bin:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-efi-amd64-bin:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-efi-amd64-signed:amd64 (1.93.14+2.02-2ubuntu8.13, 1.93.15+2.02-2ubuntu8.14)
unattended-upgrades:amd64 (1.1ubuntu1.18.04.12, 1.1ubuntu1.18.04.13)
libnss3:amd64 (2:3.35-2ubuntu2.5, 2:3.35-2ubuntu2.6)
linux-firmware:amd64 (1.173.12, 1.173.13)

Responder1

Parece que refazer a instalação apt install --reinstall <list-of-packages>resolveu esse problema. Presumivelmente, isso significa que a instalação foi corrompida de alguma forma, embora eu ainda não tenha certeza de como isso não foi sinalizado de alguma forma ou como eu poderia ter descoberto isso pelas mensagens de erro que estava recebendo. Mas, de qualquer forma, o problema está resolvido agora.

informação relacionada