USB Ethernet adapter - r8152 couldn't register the device

Hi, I have a problem with the USB Ethernet adapter. After connecting it to USB3, it’s not working. The brand is I-TEC, the adapter is only for ethernet, has none usb ports. It’s fully functioning, tried it on Fedora.

I’ve tried to reinstall r8152-dkms and use kernel 5.8, but without any luck.

From ip addr I found out, that there is no interface for ethernet, just wifi and loopback. I tried to create dummy interface for ethernet, but again without any luck.
Can you help me with this?

Some info about my system and logs:

5.9.1-1-MANJARO

lsusb:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 003: ID 06cb:0081 Synaptics, Inc.
Bus 001 Device 002: ID 04f2:b5d9 Chicony Electronics Co., Ltd EasyCamera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pamac list | grep r8152

r8152-dkms                            2.13-1                                 596.7 kB

journalctl -r:

Oct 21 18:34:58 lenivo-lenovo upowerd[893]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
Oct 21 18:34:58 lenivo-lenovo upowerd[893]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
Oct 21 18:34:58 lenivo-lenovo upowerd[893]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
Oct 21 18:34:58 lenivo-lenovo upowerd[893]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
Oct 21 18:34:58 lenivo-lenovo upowerd[893]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
Oct 21 18:34:58 lenivo-lenovo upowerd[893]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
Oct 21 18:34:58 lenivo-lenovo upowerd[893]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
Oct 21 18:34:58 lenivo-lenovo upowerd[893]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
Oct 21 18:34:58 lenivo-lenovo mtp-probe[41069]: bus: 2, device: 5 was not an MTP device
Oct 21 18:34:58 lenivo-lenovo mtp-probe[41069]: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2"
Oct 21 18:34:58 lenivo-lenovo upowerd[893]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
Oct 21 18:34:57 lenivo-lenovo mtp-probe[41038]: bus: 2, device: 5 was not an MTP device
Oct 21 18:34:57 lenivo-lenovo mtp-probe[41038]: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2"
Oct 21 18:34:57 lenivo-lenovo kernel: r8152: probe of 2-2:1.0 failed with error -22
Oct 21 18:34:57 lenivo-lenovo kernel: r8152 2-2:1.0: couldn't register the device
Oct 21 18:34:57 lenivo-lenovo kernel: ---[ end trace 2b03ac91fcc2b6f6 ]---
Oct 21 18:34:57 lenivo-lenovo kernel: R13: 0000564f322cc630 R14: 0000000000000001 R15: 00007f95111a5720
Oct 21 18:34:57 lenivo-lenovo kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
Oct 21 18:34:57 lenivo-lenovo kernel: RBP: 00007ffc80c4f350 R08: 0000000000000000 R09: 0000000000000000
Oct 21 18:34:57 lenivo-lenovo kernel: RDX: 0000000000000001 RSI: 00007ffc80c4f350 RDI: 0000000000000006
Oct 21 18:34:57 lenivo-lenovo kernel: RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f95110d2f67
Oct 21 18:34:57 lenivo-lenovo kernel: RSP: 002b:00007ffc80c4ed48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
Oct 21 18:34:57 lenivo-lenovo kernel: Code: 0d 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
Oct 21 18:34:57 lenivo-lenovo kernel: RIP: 0033:0x7f95110d2f67
Oct 21 18:34:57 lenivo-lenovo kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Oct 21 18:34:57 lenivo-lenovo kernel:  do_syscall_64+0x33/0x40
Oct 21 18:34:57 lenivo-lenovo kernel:  ksys_write+0x67/0xe0
Oct 21 18:34:57 lenivo-lenovo kernel:  vfs_write+0xc7/0x210
Oct 21 18:34:57 lenivo-lenovo kernel:  kernfs_fop_write+0xce/0x1b0
Oct 21 18:34:57 lenivo-lenovo kernel:  bConfigurationValue_store+0x77/0xc0
Oct 21 18:34:57 lenivo-lenovo kernel:  usb_set_configuration+0x4d7/0x8b0
Oct 21 18:34:57 lenivo-lenovo kernel:  device_add+0x3c4/0x830
Oct 21 18:34:57 lenivo-lenovo kernel:  bus_probe_device+0x8e/0xa0
Oct 21 18:34:57 lenivo-lenovo kernel:  __device_attach+0xe9/0x1e0
Oct 21 18:34:57 lenivo-lenovo kernel:  bus_for_each_drv+0x8f/0xd0
Oct 21 18:34:57 lenivo-lenovo kernel:  ? driver_allows_async_probing+0x50/0x50
Oct 21 18:34:57 lenivo-lenovo kernel:  driver_probe_device+0xe1/0x150
Oct 21 18:34:57 lenivo-lenovo kernel:  really_probe+0x358/0x460
Oct 21 18:34:57 lenivo-lenovo kernel:  usb_probe_interface+0xe2/0x2a0
Oct 21 18:34:57 lenivo-lenovo kernel:  rtl8152_probe+0x871/0xaf0 [r8152]
Oct 21 18:34:57 lenivo-lenovo kernel:  register_netdev+0x1c/0x40
Oct 21 18:34:57 lenivo-lenovo kernel:  register_netdevice+0x87/0x650
Oct 21 18:34:57 lenivo-lenovo kernel: Call Trace:
Oct 21 18:34:57 lenivo-lenovo kernel: CR2: 000055e6781b47e8 CR3: 00000001f24de003 CR4: 00000000003706e0
Oct 21 18:34:57 lenivo-lenovo kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 21 18:34:57 lenivo-lenovo kernel: FS:  00007f951032f440(0000) GS:ffff9a05b6c80000(0000) knlGS:0000000000000000
Oct 21 18:34:57 lenivo-lenovo kernel: R13: ffff9a04cd94d940 R14: ffff9a04cd94d000 R15: ffff9a04cd94ddc0
Oct 21 18:34:57 lenivo-lenovo kernel: R10: 0000000000000146 R11: 0000000000000000 R12: ffff9a046af130a0
Oct 21 18:34:57 lenivo-lenovo kernel: RBP: ffff9a04cd94d000 R08: 0000000000000000 R09: ffffb732c4cbba98
Oct 21 18:34:57 lenivo-lenovo kernel: RDX: 0000000000000000 RSI: ffffffff8817f140 RDI: ffffffffc1113e40
Oct 21 18:34:57 lenivo-lenovo kernel: RAX: 0000000000000000 RBX: ffffffff88126d00 RCX: 0000000000000000
Oct 21 18:34:57 lenivo-lenovo kernel: RSP: 0018:ffffb732c4cbbba0 EFLAGS: 00010246
Oct 21 18:34:57 lenivo-lenovo kernel: Code: bc f4 ff ff ff eb e6 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 0f 1f 44 00 00 31 c0 48 83 7f 78 00 74 0d 8b 17 85 d2 75 07 <0f> 0b b8 ea ff ff ff c3 0f 1f 40 00 0f 1f 44 00 00 4c 8b 8f f8 01
Oct 21 18:34:57 lenivo-lenovo kernel: RIP: 0010:ethtool_check_ops+0x14/0x20
Oct 21 18:34:57 lenivo-lenovo kernel: Hardware name: LENOVO 80X2/Lenovo ideapad 520S-14IKB, BIOS 4QCN25WW(V1.05) 04/25/2017
Oct 21 18:34:57 lenivo-lenovo kernel: CPU: 1 PID: 41035 Comm: systemd-udevd Tainted: G        W  OE     5.9.1-1-MANJARO #1
Oct 21 18:34:57 lenivo-lenovo kernel:  rc_core snd_pcm fat intel_uncore snd_timer cfg80211 input_leds drm pcspkr i2c_i801 snd i2c_smbus intel_gtt soundcore mei_me agpgart syscopyarea sysfillrect i2c_hid sysimgblt mei fb_sys_fops intel_pch_>
Oct 21 18:34:57 lenivo-lenovo kernel: Modules linked in: r8152(OE) cdc_ether usbnet mii rfcomm ccm fuse cmac algif_hash algif_skcipher af_alg bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio uvcvideo btusb >
Oct 21 18:34:57 lenivo-lenovo kernel: WARNING: CPU: 1 PID: 41035 at net/ethtool/common.c:373 ethtool_check_ops+0x14/0x20
Oct 21 18:34:57 lenivo-lenovo kernel: ------------[ cut here ]------------
Oct 21 18:34:57 lenivo-lenovo kernel: usb 2-2: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
Oct 21 18:34:57 lenivo-lenovo kernel: r8152: probe of 2-2:1.0 failed with error -22
Oct 21 18:34:57 lenivo-lenovo kernel: r8152 2-2:1.0: couldn't register the device
Oct 21 18:34:57 lenivo-lenovo kernel: ---[ end trace 2b03ac91fcc2b6f5 ]---
Oct 21 18:34:57 lenivo-lenovo kernel:  ret_from_fork+0x22/0x30
Oct 21 18:34:57 lenivo-lenovo kernel:  ? __kthread_bind_mask+0x60/0x60
Oct 21 18:34:57 lenivo-lenovo kernel:  kthread+0x142/0x160
Oct 21 18:34:57 lenivo-lenovo kernel:  ? rescuer_thread+0x410/0x410
Oct 21 18:34:57 lenivo-lenovo kernel:  worker_thread+0x4d/0x3d0
Oct 21 18:34:57 lenivo-lenovo kernel:  process_one_work+0x1da/0x3d0
Oct 21 18:34:57 lenivo-lenovo kernel:  driver_set_config_work+0x72/0x90
Oct 21 18:34:57 lenivo-lenovo kernel:  usb_set_configuration+0x4d7/0x8b0
Oct 21 18:34:57 lenivo-lenovo kernel:  device_add+0x3c4/0x830
Oct 21 18:34:57 lenivo-lenovo kernel:  bus_probe_device+0x8e/0xa0
Oct 21 18:34:57 lenivo-lenovo kernel:  __device_attach+0xe9/0x1e0
Oct 21 18:34:57 lenivo-lenovo kernel:  bus_for_each_drv+0x8f/0xd0
Oct 21 18:34:57 lenivo-lenovo kernel:  ? driver_allows_async_probing+0x50/0x50
Oct 21 18:34:57 lenivo-lenovo kernel:  driver_probe_device+0xe1/0x150
Oct 21 18:34:57 lenivo-lenovo kernel:  really_probe+0x358/0x460
Oct 21 18:34:57 lenivo-lenovo kernel:  usb_probe_interface+0xe2/0x2a0
Oct 21 18:34:57 lenivo-lenovo kernel:  rtl8152_probe+0x871/0xaf0 [r8152]
Oct 21 18:34:57 lenivo-lenovo kernel:  register_netdev+0x1c/0x40
Oct 21 18:34:57 lenivo-lenovo kernel:  register_netdevice+0x87/0x650
Oct 21 18:34:57 lenivo-lenovo kernel: Call Trace:
Oct 21 18:34:57 lenivo-lenovo kernel: CR2: 00007f7fc82ab000 CR3: 00000001e1c0e002 CR4: 00000000003706f0
Oct 21 18:34:57 lenivo-lenovo kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 21 18:34:57 lenivo-lenovo kernel: FS:  0000000000000000(0000) GS:ffff9a05b6c00000(0000) knlGS:0000000000000000
Oct 21 18:34:57 lenivo-lenovo kernel: R13: ffff9a04d31f8940 R14: ffff9a04d31f8000 R15: ffff9a04d31f8dc0
Oct 21 18:34:57 lenivo-lenovo kernel: R10: 00000000000000ed R11: 0000000000000000 R12: ffff9a046af130a0
Oct 21 18:34:57 lenivo-lenovo kernel: RBP: ffff9a04d31f8000 R08: 0000000000000000 R09: ffffb732c0fabaa0
Oct 21 18:34:57 lenivo-lenovo kernel: RDX: 0000000000000000 RSI: ffffffff8817f138 RDI: ffffffffc1113e40
Oct 21 18:34:57 lenivo-lenovo kernel: RAX: 0000000000000000 RBX: ffffffff88126d00 RCX: 0000000000000000
Oct 21 18:34:57 lenivo-lenovo kernel: RSP: 0018:ffffb732c0fabba8 EFLAGS: 00010246
Oct 21 18:34:57 lenivo-lenovo kernel: Code: bc f4 ff ff ff eb e6 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 0f 1f 44 00 00 31 c0 48 83 7f 78 00 74 0d 8b 17 85 d2 75 07 <0f> 0b b8 ea ff ff ff c3 0f 1f 40 00 0f 1f 44 00 00 4c 8b 8f f8 01
Oct 21 18:34:57 lenivo-lenovo kernel: RIP: 0010:ethtool_check_ops+0x14/0x20
Oct 21 18:34:57 lenivo-lenovo kernel: Workqueue: events driver_set_config_work
Oct 21 18:34:57 lenivo-lenovo kernel: Hardware name: LENOVO 80X2/Lenovo ideapad 520S-14IKB, BIOS 4QCN25WW(V1.05) 04/25/2017
Oct 21 18:34:57 lenivo-lenovo kernel: CPU: 0 PID: 39842 Comm: kworker/0:2 Tainted: G        W  OE     5.9.1-1-MANJARO #1
Oct 21 18:34:57 lenivo-lenovo kernel:  rc_core snd_pcm fat intel_uncore snd_timer cfg80211 input_leds drm pcspkr i2c_i801 snd i2c_smbus intel_gtt soundcore mei_me agpgart syscopyarea sysfillrect i2c_hid sysimgblt mei fb_sys_fops intel_pch_>
Oct 21 18:34:57 lenivo-lenovo kernel: Modules linked in: r8152(OE) cdc_ether usbnet mii rfcomm ccm fuse cmac algif_hash algif_skcipher af_alg bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio uvcvideo btusb >
Oct 21 18:34:57 lenivo-lenovo kernel: WARNING: CPU: 0 PID: 39842 at net/ethtool/common.c:373 ethtool_check_ops+0x14/0x20
Oct 21 18:34:57 lenivo-lenovo kernel: ------------[ cut here ]------------
Oct 21 18:34:57 lenivo-lenovo kernel: usb 2-2: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
Oct 21 18:34:57 lenivo-lenovo kernel: usb 2-2: SerialNumber: 000001000000
Oct 21 18:34:57 lenivo-lenovo kernel: usb 2-2: Manufacturer: Realtek
Oct 21 18:34:57 lenivo-lenovo kernel: usb 2-2: Product: USB 10/100/1000 LAN
Oct 21 18:34:57 lenivo-lenovo kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
Oct 21 18:34:57 lenivo-lenovo kernel: usb 2-2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
Oct 21 18:34:57 lenivo-lenovo kernel: usb 2-2: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd