16
/
16
Have you tried building your own firmware? It's not so difficult: https://openwrt.org/docs/guide-user/additional-software/beginners-build-guide
When you have set up the build environment it is trivial to turn off USB3. It's under Kernel modules / USB Support in the make menuconfig menu.
I don't know of a way to switch it off in realtime if rmmod doesn't work. My guess is that they have added the functionality themselves.
1
Thanks! I've just built own firmware without USB 3.0 but with USB 2.0.
- Yes, there is no USB 3.0 in a system now
- USB 2.0 does not work => unable to initialize libusb: -99
- Kernel log => https://pastebin.com/raw/B0bV3k4M
- Menuconfig => https://pastebin.com/raw/P0xKyZN9
- Some additional information:
lsusb
unable to initialize libusb: -99
opkg list-installed | grep libusb
libusb-1.0 - 1.0.22-1
lsmod
cfg80211 227028 4 mt76x2e,mt7603e,mt76,mac80211
compat 699 2 mac80211,cfg80211
crc_ccitt 1067 1 ppp_async
crc32c_generic 1456 0
ehci_hcd 35351 1 ehci_platform
ehci_platform 4688 0
ext4 389200 0
gpio_button_hotplug 6448 0
ip_tables 10509 4 iptable_nat,iptable_mangle,iptable_filter
ipt_MASQUERADE 752 1
ipt_REJECT 1040 2
iptable_filter 720 1
iptable_mangle 976 1
iptable_nat 784 1
jbd2 57986 1 ext4
leds_gpio 2992 0
ledtrig_usbport 2816 0
mac80211 446911 3 mt76x2e,mt7603e,mt76
mbcache 4046 1 ext4
mt76 20938 2 mt76x2e,mt7603e
mt7603e 31887 0
mt76x2e 48332 0
nf_conntrack 62728 11 ipt_MASQUERADE,xt_state,xt_nat,xt_conntrack,xt_REDIRECT,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_flow_table,nf_conntrack_rtcache
nf_conntrack_ipv4 4464 11
nf_conntrack_rtcache 2448 0
nf_defrag_ipv4 1078 1 nf_conntrack_ipv4
nf_flow_table 13919 2 xt_FLOWOFFLOAD,nf_flow_table_hw
nf_flow_table_hw 2336 1
nf_log_common 2767 1 nf_log_ipv4
nf_log_ipv4 3536 0
nf_nat 13611 4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_nat_ipv4 3473 1 iptable_nat
nf_nat_masquerade_ipv4 1660 1 ipt_MASQUERADE
nf_nat_redirect 1531 1 xt_REDIRECT
nf_reject_ipv4 2179 1 ipt_REJECT
nls_base 5456 1 usbcore
ppp_async 7136 0
ppp_generic 23202 3 pppoe,ppp_async,pppox
pppoe 8880 0
pppox 1418 1 pppoe
scsi_mod 93330 2 usb_storage,sd_mod
sd_mod 29536 0
slhc 5275 1 ppp_generic
usb_common 2583 1 usbcore
usb_storage 39643 0
usbcore 132371 4 ledtrig_usbport,usb_storage,ehci_platform,ehci_hcd
x_tables 14159 19 iptable_mangle,iptable_filter,ipt_REJECT,ipt_MASQUERADE,ip_tables,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,xt_FLOWOFFLOAD
xt_FLOWOFFLOAD 2848 0
xt_LOG 752 0
xt_REDIRECT 784 0
xt_TCPMSS 2160 1
xt_comment 560 61
xt_conntrack 2384 9
xt_limit 1264 1
xt_mac 688 0
xt_mark 752 0
xt_multiport 1360 0
xt_nat 1616 0
xt_state 784 0
xt_tcpudp 1872 6
xt_time 1840 0
opkg list-installed | grep usb
kmod-usb-core - 4.14.67-1
kmod-usb-ehci - 4.14.67-1
kmod-usb-ledtrig-usbport - 4.14.67-1
kmod-usb-storage - 4.14.67-1
kmod-usb2 - 4.14.67-1
libusb-1.0 - 1.0.22-1
usbutils - 007-8
1
That's unfortunate. You could try adding kmod-usb-dwc2, and possibly kmod-usb-ohci, kmod-usb-uhci, kmod-usb-ohci-pci and kmod-usb2-pci.
The same
$ lsusb
unable to initialize libusb: -99
P.S: Do you have this device? Could you try if lsusb
works for you? It seems that we can't turn off USB 3.0 kernel module
I have one, but unfortunately I won't have access to it for a while so I can't test anything myself.
13 DAYS LATER
I resolved this issue with Padavan's firmware https://bitbucket.org/padavan/rt-n56u
I highly recommend everyone to try Padavan's firmware. You will never back to OpenWrt/LEDE version.
Of course, I can control USB2.0/USB3.0. Everything works great!!! No more problems!
d8:c4:6a:d6:20:71 IEEE 802.11: disassociated
Tue Sep 25 01:21:12 2018 daemon.info hostapd: wlan0: STA d8:c4:6a:d6:20:71 IEEE 802.11: authenticated
Tue Sep 25 01:21:12 2018 daemon.info hostapd: wlan0: STA d8:c4:6a:d6:20:71 IEEE 802.11: associated (aid 2)
Tue Sep 25 01:21:12 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED d8:c4:6a:d6:20:71
Tue Sep 25 01:21:12 2018 daemon.info hostapd: wlan0: STA d8:c4:6a:d6:20:71 WPA: pairwise key handshake completed (RSN)
Tue Sep 25 01:21:12 2018 daemon.info dnsmasq-dhcp[2381]: DHCPDISCOVER(br-lan) d8:c4:6a:d6:20:71
Tue Sep 25 01:21:12 2018 daemon.info dnsmasq-dhcp[2381]: DHCPOFFER(br-lan) 192.168.6.245 d8:c4:6a:d6:20:71
Tue Sep 25 01:21:12 2018 daemon.info hostapd: wlan1: STA d8:c4:6a:d6:20:71 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Sep 25 01:21:13 2018 daemon.info dnsmasq-dhcp[2381]: DHCPREQUEST(br-lan) 192.168.6.245 d8:c4:6a:d6:20:71
Tue Sep 25 01:21:13 2018 daemon.info dnsmasq-dhcp[2381]: DHCPACK(br-lan) 192.168.6.245 d8:c4:6a:d6:20:71 Matrix88
Tue Sep 25 01:21:29 2018 daemon.err uhttpd[1185]: luci: accepted login on / for root from 192.168.6.245
Tue Sep 25 01:24:32 2018 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED d8:c4:6a:d6:20:71
Tue Sep 25 01:24:32 2018 daemon.info hostapd: wlan0: STA d8:c4:6a:d6:20:71 IEEE 802.11: disassociated
Tue Sep 25 01:24:32 2018 daemon.info hostapd: wlan1: STA d8:c4:6a:d6:20:71 IEEE 802.11: authenticated
Tue Sep 25 01:24:32 2018 daemon.info hostapd: wlan1: STA d8:c4:6a:d6:20:71 IEEE 802.11: associated (aid 1)
Tue Sep 25 01:24:32 2018 daemon.
Always error please fix