I just applied both patches, the Xhci Error message actually went away BUT the device still didn't work.
Logs after unplugging & plugging in the device with the patches: [ 72.648791] usb 1-4: USB disconnect, device number 3 [ 72.650675] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -19 [ 72.753779] wlan0: deauthenticating from cc:ce:1e:99:77:ed by local choice (Reason: 3=DEAUTH_LEAVING) [ 72.781608] audit: type=1130 audit(1586883567.129:93): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 72.793722] audit: type=1130 audit(1586883567.139:94): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 73.317939] audit: type=1131 audit(1586883567.665:95): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 77.799300] audit: type=1131 audit(1586883572.149:96): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 80.933744] usb 1-4: new high-speed USB device number 6 using xhci_hcd [ 80.988187] usb 1-4: New USB device found, idVendor=148f, idProduct=5370, bcdDevice= 1.01 [ 80.988190] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 80.988191] usb 1-4: Product: 802.11 n WLAN [ 80.988192] usb 1-4: Manufacturer: Ralink [ 80.988193] usb 1-4: SerialNumber: 1.0 [ 81.131897] usb 1-4: reset high-speed USB device number 6 using xhci_hcd [ 81.174210] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected [ 81.852225] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 5370 detected [ 81.858386] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 81.920689] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin' [ 81.920711] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
Compared to the output without patches: [ 67.093338] usb 1-4: USB disconnect, device number 3 [ 67.093964] xhci_hcd 0000:15:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state. [ 67.096166] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -19 [ 67.168604] wlan0: deauthenticating from cc:ce:1e:99:77:ed by local choice (Reason: 3=DEAUTH_LEAVING) [ 67.179973] audit: type=1130 audit(1586883250.510:93): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 67.231226] audit: type=1130 audit(1586883250.560:94): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 72.236839] audit: type=1131 audit(1586883255.570:95): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 73.323295] audit: type=1131 audit(1586883256.653:96): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 77.327072] audit: type=1131 audit(1586883260.660:97): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 77.865232] usb 1-4: new high-speed USB device number 6 using xhci_hcd [ 77.919826] usb 1-4: New USB device found, idVendor=148f, idProduct=5370, bcdDevice= 1.01 [ 77.919830] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 77.919832] usb 1-4: Product: 802.11 n WLAN [ 77.919833] usb 1-4: Manufacturer: Ralink [ 77.919835] usb 1-4: SerialNumber: 1.0 [ 78.063383] usb 1-4: reset high-speed USB device number 6 using xhci_hcd [ 78.105846] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected [ 78.783888] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 5370 detected [ 78.790016] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 78.874273] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin' [ 78.874299] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
I just applied both patches, the Xhci Error message actually went away BUT the device still didn't work.
Logs after unplugging & plugging in the device with the patches: vendor_ request: Error - Vendor Request 0x07 failed for offset 0x101c with error -19 7.129:93) : pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit= NetworkManager- dispatcher comm="systemd" exe="/usr/ lib/systemd/ systemd" hostname=? addr=? terminal=? res=success' 7.139:94) : pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit= systemd- rfkill comm="systemd" exe="/usr/ lib/systemd/ systemd" hostname=? addr=? terminal=? res=success' 7.665:95) : pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/ lib/systemd/ systemd" hostname=? addr=? terminal=? res=success' 2.149:96) : pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit= systemd- rfkill comm="systemd" exe="/usr/ lib/systemd/ systemd" hostname=? addr=? terminal=? res=success' request_ firmware: Info - Loading firmware file 'rt2870.bin' request_ firmware: Info - Firmware detected - version: 0.36
[ 72.648791] usb 1-4: USB disconnect, device number 3
[ 72.650675] ieee80211 phy0: rt2x00usb_
[ 72.753779] wlan0: deauthenticating from cc:ce:1e:99:77:ed by local choice (Reason: 3=DEAUTH_LEAVING)
[ 72.781608] audit: type=1130 audit(158688356
[ 72.793722] audit: type=1130 audit(158688356
[ 73.317939] audit: type=1131 audit(158688356
[ 77.799300] audit: type=1131 audit(158688357
[ 80.933744] usb 1-4: new high-speed USB device number 6 using xhci_hcd
[ 80.988187] usb 1-4: New USB device found, idVendor=148f, idProduct=5370, bcdDevice= 1.01
[ 80.988190] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 80.988191] usb 1-4: Product: 802.11 n WLAN
[ 80.988192] usb 1-4: Manufacturer: Ralink
[ 80.988193] usb 1-4: SerialNumber: 1.0
[ 81.131897] usb 1-4: reset high-speed USB device number 6 using xhci_hcd
[ 81.174210] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[ 81.852225] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 81.858386] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 81.920689] ieee80211 phy1: rt2x00lib_
[ 81.920711] ieee80211 phy1: rt2x00lib_
Compared to the output without patches: vendor_ request: Error - Vendor Request 0x06 failed for offset 0x101c with error -19 0.510:93) : pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit= NetworkManager- dispatcher comm="systemd" exe="/usr/ lib/systemd/ systemd" hostname=? addr=? terminal=? res=success' 0.560:94) : pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit= systemd- rfkill comm="systemd" exe="/usr/ lib/systemd/ systemd" hostname=? addr=? terminal=? res=success' 5.570:95) : pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit= systemd- rfkill comm="systemd" exe="/usr/ lib/systemd/ systemd" hostname=? addr=? terminal=? res=success' 6.653:96) : pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/ lib/systemd/ systemd" hostname=? addr=? terminal=? res=success' 0.660:97) : pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit= NetworkManager- dispatcher comm="systemd" exe="/usr/ lib/systemd/ systemd" hostname=? addr=? terminal=? res=success' request_ firmware: Info - Loading firmware file 'rt2870.bin' request_ firmware: Info - Firmware detected - version: 0.36
[ 67.093338] usb 1-4: USB disconnect, device number 3
[ 67.093964] xhci_hcd 0000:15:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 67.096166] ieee80211 phy0: rt2x00usb_
[ 67.168604] wlan0: deauthenticating from cc:ce:1e:99:77:ed by local choice (Reason: 3=DEAUTH_LEAVING)
[ 67.179973] audit: type=1130 audit(158688325
[ 67.231226] audit: type=1130 audit(158688325
[ 72.236839] audit: type=1131 audit(158688325
[ 73.323295] audit: type=1131 audit(158688325
[ 77.327072] audit: type=1131 audit(158688326
[ 77.865232] usb 1-4: new high-speed USB device number 6 using xhci_hcd
[ 77.919826] usb 1-4: New USB device found, idVendor=148f, idProduct=5370, bcdDevice= 1.01
[ 77.919830] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 77.919832] usb 1-4: Product: 802.11 n WLAN
[ 77.919833] usb 1-4: Manufacturer: Ralink
[ 77.919835] usb 1-4: SerialNumber: 1.0
[ 78.063383] usb 1-4: reset high-speed USB device number 6 using xhci_hcd
[ 78.105846] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[ 78.783888] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 78.790016] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 78.874273] ieee80211 phy1: rt2x00lib_
[ 78.874299] ieee80211 phy1: rt2x00lib_
ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter