Usb 2-1: device not accepting address 22, error -71

I bought this usb-c to ethernet adaptor

https://www.amazon.co.uk/Gigabit-1000Mbps-Ethernet-Adapter-Network/dp/B00LLUEJFU/ref=sr_1_16?dchild=1&keywords=ugreen+adapter&qid=1618917509&sr=8-16

I installed the AX88179 driver from AUR but I still can’t get connectivity.

I get this in my journal:

usb 2-1: device not accepting address 18, error -71
usb usb2-port1: unable to enumerate USB device

Any idea how to fix that?

I have a USB 3 Ethernet adapter that uses AX88179 and I did not have to install any driver for it as it was included in the kernel (as of kernel 3.9). That (Plugable brand) adapter works flawlessly. I have two other Trendnet brand adapters (Asix AX88179)that work flawlessly. An inxi output might help here in diagnosing and fixing the issue.

https://cateee.net/lkddb/web-lkddb/USB_NET_AX88179_178A.html

inxi output:

CPU: Quad Core Intel Core i7-8550U (-MT MCP-) speed/min/max: 873/400/4000 MHz Kernel: 5.11.14-1-MANJARO x86_64 Up: 2h 29m 
Mem: 3905.4/15709.6 MiB (24.9%) Storage: 476.94 GiB (5.2% used) Procs: 251 Shell: Zsh inxi: 3.3.04

Did you read the page? Your issue is network related and you posted no network information.

inxi --admin --verbosity=7 --filter --no-host --width

Full info bellow.

I’ve plugged in another adapter that does work:

Device-1: 4-2:2 info: Realtek RTL8153 Gigabit Ethernet Adapter type: Network 
  driver: r8152 interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 288mA 

So ignore that please.

inxi --admin --verbosity=7 --filter --no-host --width                                                                            ─╯
System:
  Kernel: 5.11.14-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64 
  root=UUID=05b7f982-7fbf-4054-9c05-fb20c1b5b114 ro quiet apparmor=1 
  security=apparmor resume=UUID=df2c89a5-46c4-4040-8008-18a0ffd168f9 
  udev.log_priority=3 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 vt: 7 
  dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: Dell product: XPS 13 9370 v: N/A serial: <filter> 
  Chassis: type: 10 serial: <filter> 
  Mobo: Dell model: 0F6P3V v: A00 serial: <filter> UEFI: Dell v: 1.13.1 
  date: 07/08/2020 
Battery:
  ID-1: BAT0 charge: 29.9 Wh (62.7%) condition: 47.7/52.0 Wh (91.8%) 
  volts: 8.3 min: 7.6 model: SMP DELL G8VCF6C type: Li-poly serial: <filter> 
  status: Charging 
Memory:
  RAM: total: 15.34 GiB used: 3.76 GiB (24.5%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP 
  arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: A (10) 
  microcode: E0 cache: L2: 8 MiB bogomips: 32012 
  Speed: 800 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 
  4: 800 5: 800 6: 702 7: 796 8: 742 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art 
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est 
  f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm 
  mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts 
  rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 
  sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt 
  xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel 
  bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300 
  Display: x11 server: X.Org 1.20.11 driver: loaded: intel 
  unloaded: modesetting alternate: fbdev,vesa display-ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 3288x1080 s-dpi: 96 s-size: 870x286mm (34.3x11.3") 
  s-diag: 916mm (36.1") 
  Monitor-1: eDP1 res: 1368x768 hz: 60 dpi: 120 size: 290x170mm (11.4x6.7") 
  diag: 336mm (13.2") 
  Monitor-2: DP1 res: 1920x1080 hz: 60 dpi: 80 size: 610x350mm (24.0x13.8") 
  diag: 703mm (27.7") 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.0.2 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel 
  v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.11.14-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.25 running: no 
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter 
  vendor: Rivet Networks Killer 1435 Wireless-AC driver: ath10k_pci v: kernel 
  port: f040 bus-ID: 02:00.0 chip-ID: 168c:003e class-ID: 0280 
  IF: wlp2s0 state: down mac: <filter> 
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 
  bus-ID: 4-2:2 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter> 
  IF: enp57s0u2 state: up speed: 100 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Foxconn / Hon Hai type: USB driver: btusb v: 0.8 bus-ID: 1-7:2 
  chip-ID: 0489:e0a2 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running 
  rfk-block: hardware: no software: yes address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 476.94 GiB used: 25.04 GiB (5.2%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba 
  model: KXG50ZNV512G NVMe 512GB size: 476.94 GiB block-size: physical: 512 B 
  logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> 
  rev: AADA4102 temp: 45.9 C scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 459.76 GiB size: 451.55 GiB (98.21%) 
  used: 25.03 GiB (5.5%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  label: N/A uuid: 05b7f982-7fbf-4054-9c05-fb20c1b5b114 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A 
  uuid: EED6-7A14 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 16.88 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A 
  uuid: df2c89a5-46c4-4040-8008-18a0ffd168f9 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-1:5 info: Samsung USB Type-C HDTV Adapter type: Billboard 
  driver: N/A interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 100mA 
  chip-ID: 04e8:a025 class-ID: 1100 serial: <filter> 
  Device-2: 1-7:2 info: Foxconn / Hon Hai type: Bluetooth driver: btusb 
  interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 0489:e0a2 
  class-ID: e001 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Device-1: 4-2:2 info: Realtek RTL8153 Gigabit Ethernet Adapter type: Network 
  driver: r8152 interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 288mA 
  chip-ID: 0bda:8153 class-ID: 0000 serial: <filter> 
Sensors:
  System Temperatures: cpu: 49.0 C mobo: 43.0 C sodimm: SODIMM C 
  Fan Speeds (RPM): cpu: 4697 
Info:
  Processes: 259 Uptime: 3h 10m wakeups: 4174 Init: systemd v: 247 
  tool: systemctl Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1275 
  lib: 385 flatpak: 0 Shell: Zsh v: 5.8 running-in: xfce4-terminal 
  inxi: 3.3.04