Edimax wireless USB not working
#1
Hi all,

Such a fan of XBMC! I just bought a EDIMAX EW-7811Un (wireless USB) and it worked the first couple times I turned on the RPi (able to get wireless connection and see my remote library). Since then, for no apparent reason, it has been unable to connect to my router. Here's what I've looked at so far. dmesg seems helpful but I don't understand the issue. Could anyone please help?
  • Settings > Connections: only ethernet shows up
  • lsusb: dongle not there
    Quote:Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
  • RPi sees the dongle but disconnects it...
    Quote:[ 3.720496] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
    [ 3.822509] usb 1-1.3: New USB device found, idVendor=7392, idProduct=7811
    [ 3.822538] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 3.822555] usb 1-1.3: Product: 802.11n WLAN Adapter
    [ 3.822569] usb 1-1.3: Manufacturer: Realtek
    [ 3.822583] usb 1-1.3: SerialNumber: 00e04c000001
    [ 9.422221] EXT4-fs (mmcblk0p2): recovery complete
    [ 9.467591] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 10.822876] systemd-udevd[809]: starting version 208
    [ 12.124959] rtw driver version=v3.4.4_4749.20121105
    [ 12.124998] Build at: May 19 2014 12:19:54
    [ 12.125243] register rtw_netdev_ops to netdev_ops
    [ 12.125268] CHIP TYPE: RTL8188C_8192C
    [ 12.125290]
    [ 12.125290] usb_endpoint_descriptor(0):
    [ 12.125305] bLength=7
    [ 12.125313] bDescriptorType=5
    [ 12.125322] bEndpointAddress=81
    [ 12.125330] wMaxPacketSize=200
    [ 12.125338] bInterval=0
    [ 12.125346] RT_usb_endpoint_is_bulk_in = 1
    [ 12.125357]
    [ 12.125357] usb_endpoint_descriptor(1):
    [ 12.125369] bLength=7
    [ 12.125377] bDescriptorType=5
    [ 12.125385] bEndpointAddress=2
    [ 12.125394] wMaxPacketSize=200
    [ 12.125402] bInterval=0
    [ 12.125411] RT_usb_endpoint_is_bulk_out = 2
    [ 12.125419]
    [ 12.125419] usb_endpoint_descriptor(2):
    [ 12.125431] bLength=7
    [ 12.125438] bDescriptorType=5
    [ 12.125446] bEndpointAddress=3
    [ 12.125455] wMaxPacketSize=200
    [ 12.125463] bInterval=0
    [ 12.125470] RT_usb_endpoint_is_bulk_out = 3
    [ 12.125480]
    [ 12.125480] usb_endpoint_descriptor(3):
    [ 12.125493] bLength=7
    [ 12.125501] bDescriptorType=5
    [ 12.125509] bEndpointAddress=84
    [ 12.125517] wMaxPacketSize=40
    [ 12.125524] bInterval=1
    [ 12.125534] RT_usb_endpoint_is_int_in = 4, Interval = 1
    [ 12.125544] nr_endpoint=4, in_num=2, out_num=2
    [ 12.125544]
    [ 12.125556] USB_SPEED_HIGH
    [ 12.196511] Chip Version ID: VERSION_NORMAL_TSMC_CHIP_88C.
    [ 12.196550] RF_Type is 3!!
    [ 12.209819] EEPROM type is E-FUSE
    [ 12.209855] ====> ReadAdapterInfo8192C
    [ 12.210134] Boot from EFUSE, Autoload OK !
    [ 12.685470] EEPROMVID = 0x7392
    [ 12.685496] EEPROMPID = 0x7811
    [ 12.685506] EEPROMCustomerID : 0x00
    [ 12.685514] EEPROMSubCustomerID: 0x00
    [ 12.685523] RT_CustomerID: 0x00
    [ 12.685541] _ReadMACAddress MAC Address from EFUSE = 80:1f:02:b6:b3:96
    [ 12.685560] EEPROMRegulatory = 0x0
    [ 12.685570] _ReadBoardType(0)
    [ 12.685581] BT Coexistance = disable
    [ 12.685591] RT_ChannelPlan: 0x00
    [ 12.685605] _ReadPSSetting...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
    [ 12.685616] ### PS params=> power_mgnt(0),usbss_enable(0) ###
    [ 12.685625] ### AntDivCfg(0)
    [ 12.685635] readAdapterInfo_8192CU(): REPLACEMENT = 1
    [ 12.685647] <==== ReadAdapterInfo8192C in 480 ms
    [ 12.686659] rtw_macaddr_cfg MAC Address = 80:1f:02:b6:b3:96
    [ 12.686685] MAC Address from pnetdev->dev_addr= 80:1f:02:b6:b3:96
    [ 12.701338] bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0
    [ 12.701582] usbcore: registered new interface driver rtl8192cu
    [ 12.782509] lirc_dev: IR Remote Control driver registered, major 248
    [ 12.850709] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
    [ 13.820297] lirc_rpi: auto-detected active high receiver on GPIO pin 18
    [ 13.820739] lirc_rpi lirc_rpi.0: lirc_dev: driver lirc_rpi registered at minor = 0
    [ 13.820758] lirc_rpi: driver registered!
    [ 14.838969] Adding 255996k swap on /storage/.cache/swapfile. Priority:10000 extents:4 across:278524k SSFS
    [ 15.209276] input: lircd as /devices/virtual/input/input0
    [ 15.252642] ip_tables: © 2000-2006 Netfilter Core Team
    [ 15.525049] Console: switching to colour dummy device 80x30
    [ 15.693193] Bluetooth: Core ver 2.16
    [ 15.700412] NET: Registered protocol family 31
    [ 15.700423] Bluetooth: HCI device and connection manager initialized
    [ 15.700476] Bluetooth: HCI socket layer initialized
    [ 15.700493] Bluetooth: L2CAP socket layer initialized
    [ 15.700557] Bluetooth: SCO socket layer initialized
    [ 16.127985] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [ 16.128621] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 16.503260] +871x_drv - drv_open, bup=0
    [ 16.507846] ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC
    [ 16.507875] FirmwareDownload92C accquire FW from embedded image
    [ 16.507889] fw_ver=v80, fw_subver=0, sig=0x88c0
    [ 16.552961] fw download ok!
    [ 16.552996] Set RF Chip ID to RF_6052 and RF type to 1T1R.
    [ 16.954621] IQK:Start!!!
    [ 16.966496] Path A IQK Success!!
    [ 16.974996] Path A IQK Success!!
    [ 16.980003] IQK: final_candidate is 0
    [ 16.980036] IQK: RegE94=101 RegE9C=b RegEA4=fd RegEAC=3fd RegEB4=0 RegEBC=0 RegEC4=0 RegECC=0
    [ 16.980036] Path A IQ Calibration Success !
    [ 17.094305] reg 0xfe40, usb write 1 fail, status:-71 value=0xe5, vendorreq_times:1
    [ 17.094539] reg 0xfe40, usb write 1 fail, status:-71 value=0xe5, vendorreq_times:2
    [ 17.094791] reg 0xfe40, usb write 1 fail, status:-71 value=0xe5, vendorreq_times:3
    [ 17.095043] reg 0xfe40, usb write 1 fail, status:-71 value=0xe5, vendorreq_times:4
    [ 17.095299] reg 0xfe40, usb write 1 fail, status:-71 value=0xe5, vendorreq_times:5
    [ 17.095321] [dvobjpriv:d468e01c][ERROR] continual_urb_error:5 > 4
    [ 17.095501] pdmpriv->TxPowerTrackControl = 1
    [ 17.095524] MAC Address from REG_MACID = 00:00:00:00:00:00
    [ 17.095538] rtl8192cu_hal_init in 590ms
    [ 17.095554] MAC Address = 80:1f:02:b6:b3:96
    [ 17.102119] -871x_drv - drv_open, bup=1
    [ 17.102300] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 17.102385] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
    [ 17.102440] set_mode = IW_MODE_INFRA
    [ 17.103127] =>rtw_wx_set_essid
    [ 17.103158] ssid=gÆisQÿJì)ͺ«òûãF|ÂTøèçvZ.c3ŸÉšÀ-[Ѫ, len=32
    [ 17.103182] Set SSID under fw_state=0x00000008
    [ 17.103214] <=rtw_wx_set_essid, ret 0
    [ 17.106830] ###> rtw_cmd_thread break.................
    [ 17.106869] rtw_cmd_thread: leaving... check & free all cmd_obj resources
    [ 17.106884] rtw_cmd_thread: leaving... drop cmdcode:17
    [ 17.106898] rtw_cmd_thread: leaving... drop cmdcode:19
    [ 17.106912] rtw_cmd_thread: leaving... drop cmdcode:19
    [ 17.106923] rtw_cmd_thread: leaving... drop cmdcode:18
    [ 17.106935] rtw_cmd_thread: leaving... call up terminate_cmdthread_sema
    [ 17.163211] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
    [ 17.218192] usb 1-1.3: USB disconnect, device number 4
    [ 17.218438] +rtw_dev_remove
    [ 17.218459] rtw_sta_flush
    [ 17.218531] (2)871x_drv - drv_close, bup=1, hw_init_completed=1
    [ 17.218615] -871x_drv - drv_close, bup=1
    [ 17.230407] ------------[ cut here ]------------
    [ 17.230475] WARNING: at fs/proc/generic.c:562 remove_proc_entry+0x180/0x1ac()
    [ 17.230491] remove_proc_entry: removing non-empty directory 'rtl819xC/wlan0', leaking at least 'ampdu_enable'
    [ 17.230502] Modules linked in: bluetooth iptable_filter ip_tables lirc_rpi© lirc_dev 8192cu(O)
    [ 17.230551] CPU: 0 PID: 293 Comm: khubd Tainted: G C O 3.10.20 #1
    [ 17.230561] Backtrace:
    [ 17.230609] [<c00113a0>] (dump_backtrace+0x0/0x114) from [<c0011578>] (show_stack+0x20/0x24)
    [ 17.230622] r6:c0120af4 r5:00000009 r4:d30c9d48 r3:00000000
    [ 17.230676] [<c0011558>] (show_stack+0x0/0x24) from [<c063b188>] (dump_stack+0x20/0x28)
    [ 17.230704] [<c063b168>] (dump_stack+0x0/0x28) from [<c001e718>] (warn_slowpath_common+0x5c/0x78)
    [ 17.230727] [<c001e6bc>] (warn_slowpath_common+0x0/0x78) from [<c001e7f0>] (warn_slowpath_fmt+0x40/0x48)
    [ 17.230737] r8:d26bd000 r7:d15be030 r6:d30c8000 r5:00000005 r4:d15be0c0
    [ 17.230737] r3:00000009
    [ 17.230778] [<c001e7b0>] (warn_slowpath_fmt+0x0/0x48) from [<c0120af4>] (remove_proc_entry+0x180/0x1ac)
    [ 17.230789] r3:c0653e40 r2:c0755c68
    [ 17.231224] [<c0120974>] (remove_proc_entry+0x0/0x1ac) from [<bf043328>] (rtw_proc_remove_one+0x104/0x198 [8192cu])
    [ 17.231766] [<bf043224>] (rtw_proc_remove_one+0x0/0x198 [8192cu]) from [<bf044604>] (rtw_dev_remove+0xac/0x184 [8192cu])
    [ 17.231781] r5:d268a520 r4:d268a500
    [ 17.232082] [<bf044558>] (rtw_dev_remove+0x0/0x184 [8192cu]) from [<c04b57c0>] (usb_unbind_interface+0x5c/0x124)
    [ 17.232096] r7:d268a500 r6:bf070948 r5:d26bc800 r4:d268a520
    [ 17.232145] [<c04b5764>] (usb_unbind_interface+0x0/0x124) from [<c0450fbc>] (__device_release_driver+0x68/0xc4)
    [ 17.232156] r8:d268a500 r7:d266a000 r6:c0af7180 r5:bf070948 r4:d268a520
    [ 17.232156] r3:c04b5764
    [ 17.232203] [<c0450f54>] (__device_release_driver+0x0/0xc4) from [<c0451044>] (device_release_driver+0x2c/0x38)
    [ 17.232214] r5:d268a520 r4:d268a554
    [ 17.232242] [<c0451018>] (device_release_driver+0x0/0x38) from [<c0450ad0>] (bus_remove_device+0xd4/0xf4)
    [ 17.232252] r5:d268a520 r4:d312356c
    [ 17.232279] [<c04509fc>] (bus_remove_device+0x0/0xf4) from [<c044e410>] (device_del+0xf8/0x174)
    [ 17.232290] r6:d26bc868 r5:d268a520 r4:d26bc800 r3:00000002
    [ 17.232325] [<c044e318>] (device_del+0x0/0x174) from [<c04b3cf4>] (usb_disable_device+0xb0/0x1d8)
    [ 17.232336] r6:00000000 r5:00000001 r4:d26bc800 r3:00000005
    [ 17.232382] [<c04b3c44>] (usb_disable_device+0x0/0x1d8) from [<c04ac670>] (usb_disconnect+0x9c/0x19c)
    [ 17.232409] [<c04ac5d4>] (usb_disconnect+0x0/0x19c) from [<c04ad2ac>] (hub_thread+0x39c/0x10e0)
    [ 17.232453] [<c04acf10>] (hub_thread+0x0/0x10e0) from [<c00410f0>] (kthread+0xb4/0xc0)
    [ 17.232483] [<c004103c>] (kthread+0x0/0xc0) from [<c000e338>] (ret_from_fork+0x14/0x20)
    [ 17.232494] r7:00000000 r6:00000000 r5:c004103c r4:d3077e84
    [ 17.232516] ---[ end trace e9af99cdfae6d1d2 ]---
    [ 17.232548] ===> rtw_dev_unload
    [ 17.232562] usb_read_port_cancel
    [ 17.232574] usb_write_port_cancel
    [ 17.232651] <=== rtw_dev_unload
    [ 17.232661] +r871xu_dev_remove, hw_init_completed=1
    [ 17.233062] free_recv_skb_queue not empty, 8
    [ 17.233114] =====> rtl8192c_free_hal_data =====
    [ 17.233127] <===== rtl8192c_free_hal_data =====
    [ 17.233181] -r871xu_dev_remove, done
    [ 17.599021] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
    [ 17.601460] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Reply
#2
Are you running it off a powered USB hub? Also this is more of a disto issue - are you running OpenELEC or Raspbmc?
Reply
#3
Wow, quick reply!! Smile It's not a powered USB and I'm running Rasplex (but as I understand it's xbmc underneath?). What are your thoughts at this point?

I thought power might an issue because I'm currently using a 5V 2A power adapter and that doesn't seem like much, but then the wireless dongle did work for at least 15 min when I first plugged it in. I also don't know exactly when it stopped working.
Reply

Logout Mark Read Team Forum Stats Members Help
Edimax wireless USB not working0