RTL8192EU USB Wifi error: rtwn0: r92e_power_off: failed to block Tx queues
Kris G
netsick at gmail.com
Thu Feb 13 00:39:41 UTC 2020
Hi,
I can't seem to get my USB wifi working. Here is what I see..
Logs when I insert the device.
kernel: rtwn0 on uhub0
kernel: rtwn0: <802.11n NIC> on usbus0
kernel: rtwn0: MAC/BB RTL8192EU, RF 6052 2T2R
kernel: wlan0: Ethernet address: a0:f4:59:7f:4b:8c
kernel: wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition
lost
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Network is down
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
wlan0: CTRL-EVENT-TERMINATING
Logs below returned when running wpa_supplicant command above.
kernel: ugen0.4: <Realtek 802.11n NIC> at usbus0 (disconnected)
kernel: rtwn0: at uhub0, port 4, addr 6 (disconnected)
kernel: rtwn0: r92e_power_off: failed to block Tx queues
kernel: rtwn0: detached
root[70569]: /etc/rc.d/netif: WARNING: wlan0 does not exist. Skipped.
kernel: usb_alloc_device: set address 4 failed (USB_ERR_IOERROR, ignored)
kernel: usbd_setup_device_desc: getting device descriptor at addr 4 failed,
USB_ERR_IOERROR
kernel: usbd_req_re_enumerate: addr=4, set address failed!
(USB_ERR_IOERROR, ignored)
kernel: usbd_setup_device_desc: getting device descriptor at addr 4 failed,
USB_ERR_IOERROR
kernel: usbd_req_re_enumerate: addr=4, set address failed!
(USB_ERR_IOERROR, ignored)
kernel: usbd_setup_device_desc: getting device descriptor at addr 4 failed,
USB_ERR_IOERROR
kernel: usbd_req_re_enumerate: addr=4, set address failed!
(USB_ERR_IOERROR, ignored)
kernel: usbd_setup_device_desc: getting device descriptor at addr 4 failed,
USB_ERR_IOERROR
kernel: usbd_req_re_enumerate: addr=4, set address failed!
(USB_ERR_IOERROR, ignored)
kernel: usbd_setup_device_desc: getting device descriptor at addr 4 failed,
USB_ERR_IOERROR
kernel: ugen0.4: <Unknown > at usbus0 (disconnected)
kernel: uhub_reattach_port: could not allocate new device
I now have to reinsert the device to have it attached again. How can I fix
error " kernel: rtwn0: r92e_power_off: failed to block Tx queues"
# usbconfig -d 0.4 dump_all_desc
ugen0.4: <Realtek 802.11n NIC> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON (500mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0210
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0bda
idProduct = 0x818b
bcdDevice = 0x0200
iManufacturer = 0x0001 <Realtek>
iProduct = 0x0002 <802.11n NIC>
iSerialNumber = 0x0003 <00e04c000001>
bNumConfigurations = 0x0001
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0035
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x00e0
bMaxPower = 0x00fa
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0005
bInterfaceClass = 0x00ff <Vendor specific>
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0002 <802.11n NIC>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0084 <IN>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0005 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 2
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0006 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 3
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0087 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0040
bInterval = 0x0003
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 4
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0008 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Cheers
Kris
More information about the freebsd-usb
mailing list