Open thindata opened 3 years ago
Place a file named 8814au.conf under /etc/modprobe.d
Put in there
options 8814au rtw_switch_usb_mode=1
The option is then applied whenever the module is loaded.
Else, how should the module know which options you want to use?
Can confirm that options 8814au rtw_switch_usb_mode=1 placed in /etc/modprobe.d/8814au.conf works for me:
terry@sniffer01:~$ cat /etc/modprobe.d/8814au.conf
options 8814au rtw_switch_usb_mode=1
terry@sniffer01:~$ cat /sys/module/8814au/parameters/rtw_switch_usb_mode
1
terry@sniffer01:~$
After adding that to the file and rebooting the wifi adapter is no longer detected but if I remove and reinsert it's detected ok and switched to usb 3.0 . What would the cause the issue with it not being detected during boot?
Might be a bug in the XHCI drivers on your system, or you had a bad connection, or maybe the cable has issues.
Does it happen every time you boot, or only that one time?
If it happens on every boot, it's probably worth filing a kernel bug and helping them collect info needed to fix the issue.
If it only happens sometimes, you might try replacing your USB 3.0 cable and see if that's any better.
After adding that to the file and rebooting the wifi adapter is no longer detected but if I remove and reinsert it's detected ok and switched to usb 3.0 . What would the cause the issue with it not being detected during boot?
Check via lsusb -t if the device is shown. Also try to switch the mode manually to 0 via the sys interface and check via lsusb again, if it's detected.
I assume the same as Terry, when I switch to USB 3.0 it also falls back to USB 2.0 as my connected cable is too long.
When using with an Asus USB-AC68 and applying
sh -c "echo '1' > /sys/module/8814au/parameters/rtw_switch_usb_mode"
after a reboot the file reverts to 0