Hello,
I'm trying to setup a OpenWRT VM (x86 on Proxmox) with a USB wifi Comfast WU782AC (MT7612U / MT7612UN).
I'm doing the USB Passthrough of the device "0e8d:7612 MediaTek Inc. 802.11ac WLAN".
But the dmesg shows the following error:
page_pool_create() gave up with errno -22
mt76x2u: probe of 3-1:1.0 failed with error -22
I'm not building from the source, and I'm not using a ARM, but looks to be similar to the following post:
Question:
Is there any correct way to setup this USB wifi device or fix the "errno -22"?
Below I'm sharing more details:
# Device details (it is running as a Proxmox VM):
Architecture: Intel(R) Celeron(R) N5105 @ 2.00GHz
Target Platform: x86/generic
Firmware Version: OpenWrt 23.05.2 r23630-842932a63d / LuCI openwrt-23.05 branch git-23.306.39416-c86c256
Kernel Version: 5.15.137
# lsusb
Bus 003 Device 002: ID 0e8d:7612 MediaTek Inc. 802.11ac WLAN
Bus 002 Device 001: ID 1d6b:0002 Linux 5.15.137 xhci-hcd xHCI Host Controller
Bus 001 Device 001: ID 1d6b:0001 Linux 5.15.137 uhci_hcd UHCI Host Controller
Bus 003 Device 001: ID 1d6b:0003 Linux 5.15.137 xhci-hcd xHCI Host Controller
# opkg list-installed | egrep -i '(usb|mt)'
kmod-mt76 - 5.15.137+2023-08-14-b14c2351-1
kmod-mt76-core - 5.15.137+2023-08-14-b14c2351-1
kmod-mt76-usb - 5.15.137+2023-08-14-b14c2351-1
kmod-mt7603 - 5.15.137+2023-08-14-b14c2351-1
kmod-mt76x02-common - 5.15.137+2023-08-14-b14c2351-1
kmod-mt76x02-usb - 5.15.137+2023-08-14-b14c2351-1
kmod-mt76x2 - 5.15.137+2023-08-14-b14c2351-1
kmod-mt76x2-common - 5.15.137+2023-08-14-b14c2351-1
kmod-mt76x2u - 5.15.137+2023-08-14-b14c2351-1
kmod-usb-core - 5.15.137-1
kmod-usb-xhci-hcd - 5.15.137-1
kmod-usb3 - 5.15.137-1
libusb-1.0-0 - 1.0.26-3
mtd - 26
usb-modeswitch - 2022-02-24-3c8595a4-1
usbutils - 014-1
# dmesg
[ 61.044371] pci 0000:02:1b.0: [1b36:000d] type 00 class 0x0c0330
[ 61.047350] pci 0000:02:1b.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[ 61.051266] pci 0000:02:1b.0: BAR 0: assigned [mem 0xfe600000-0xfe603fff 64bit]
[ 61.052727] pci 0000:00:1e.0: PCI bridge to [bus 02]
[ 61.055045] pci 0000:00:1e.0: bridge window [io 0xd000-0xdfff]
[ 61.056852] pci 0000:00:1e.0: bridge window [mem 0xfe600000-0xfe7fffff]
[ 61.058384] pci 0000:00:1e.0: bridge window [mem 0xfd200000-0xfd3fffff 64bit pref]
[ 61.060568] pci 0000:02:1b.0: enabling device (0000 -> 0002)
[ 61.097930] pci 0000:02:1b.0: 0xc175e900 took 36749 usecs
[ 61.116638] xhci_hcd 0000:02:1b.0: xHCI Host Controller
[ 61.117403] xhci_hcd 0000:02:1b.0: new USB bus registered, assigned bus number 2
[ 61.118580] xhci_hcd 0000:02:1b.0: hcc params 0x00087001 hci version 0x100 quirks 0x0000000000000010
[ 61.120199] xhci_hcd 0000:02:1b.0: xHCI Host Controller
[ 61.120900] xhci_hcd 0000:02:1b.0: new USB bus registered, assigned bus number 3
[ 61.121811] xhci_hcd 0000:02:1b.0: Host supports USB 3.0 SuperSpeed
[ 61.123612] hub 2-0:1.0: USB hub found
[ 61.125252] hub 2-0:1.0: 15 ports detected
[ 61.127456] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 61.129365] hub 3-0:1.0: USB hub found
[ 61.130953] hub 3-0:1.0: 15 ports detected
[ 61.495114] usb 3-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 61.823065] usb 3-1: reset SuperSpeed USB device number 2 using xhci_hcd
[ 61.856694] mt76x2u 3-1:1.0: ASIC revision: 76120044
[ 61.884919] page_pool_create() gave up with errno -22
[ 62.594862] mt76x2u: probe of 3-1:1.0 failed with error -22