usb wifi dongle improve connection stability


b_o_b

Advanced Member
Joined
Sep 7, 2010
Messages
1,493
Hi

Because of bad onboard wifi on my Pandora I have bought a couple of usb wifi dongles. They all work a lot better than the onboard chip, but still I am having connection issues.
For streaming video (with Kodi and UMS) I need a stable connection or a connection that reconnects immediately. I already bought a wifi repeater to be sure the signal is strong enough.

When connection fails it usually stops and doesn't seem to try to reconnect and if it does it seems to hang in the reconnect phase without ever reconnecting.
I then need to disable USB-host or even pull out the usb wifi dongle and try again.

So my question is - is there any method to improve connection reliability.
OS: SuperZaxxon 1.75 update 2 (just updated it to update 5.. maybe this update helps with this issue)

iwconfig

wlan5 IEEE 802.11bgn ESSID:"Ziggo54867 2" Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency:2.447 GHz Access Point: F4:F2:6D:C3:B3:08
Bit Rate:150 Mb/s Sensitivity:0/0
Retry:eek:ff RTS thr:eek:ff Fragment thr:eek:ff
Power Management:eek:ff
Link Quality=67/100 Signal level=-61 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

lsusb -v

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.02
iManufacturer 3 Linux 3.2.81 musb-hcd
iProduct 2 MUSB HDRC host driver
iSerial 1 musb-hdrc
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0011
Per-port power switching
No overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 5 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x02
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Device Status: 0x0001
Self Powered

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.02
iManufacturer 3 Linux 3.2.81 ehci_hcd
iProduct 2 OMAP-EHCI Host Controller
iSerial 1 ehci-omap.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 3
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0503 highspeed power enable connect
Port 3: 0000.0100 power
Device Status: 0x0001
Self Powered

Bus 002 Device 004: ID 7392:7811
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x7392
idProduct 0x7811
bcdDevice 2.00
iManufacturer 1 Realtek
iProduct 2 802.11n WLAN Adapter
iSerial 3 00e04c000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 46
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)


dmesg | grep -i usb

[ 0.119354] usbcore: registered new interface driver usbfs
[ 0.119689] usbcore: registered new interface driver hub
[ 0.120025] usbcore: registered new device driver usb
[ 0.133422] print_constraints: VUSB1V5: 1500 mV normal standby
[ 0.134277] print_constraints: VUSB1V8: 1800 mV normal standby
[ 0.135101] print_constraints: VUSB3V1: 3100 mV normal standby
[ 0.195434] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.244232] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.249938] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 0.249969] musb-hdrc: MHDRC RTL version 1.400
[ 0.249969] musb-hdrc: setup fifo_mode 4
[ 0.250000] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 0.250640] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 1.599884] usbcore: registered new interface driver libusual
[ 1.882659] usbcore: registered new interface driver usbhid
[ 1.882659] usbhid: USB HID core driver
[ 15.776123] usb0: MAC
[ 15.776153] usb0: HOST MAC
[ 15.795715] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 15.795867] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[ 15.795989] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 15.796020] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.796020] usb usb1: Product: MUSB HDRC host driver
[ 15.796020] usb usb1: Manufacturer: Linux 3.2.81 musb-hcd
[ 15.796051] usb usb1: SerialNumber: musb-hdrc
[ 15.798431] hub 1-0:1.0: USB hub found
[ 63.505981] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 64.515319] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[ 64.526977] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 64.527099] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 64.527099] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 64.527130] usb usb2: Product: OMAP-EHCI Host Controller
[ 64.527130] usb usb2: Manufacturer: Linux 3.2.81 ehci_hcd
[ 64.527130] usb usb2: SerialNumber: ehci-omap.0
[ 64.529602] hub 2-0:1.0: USB hub found
[ 64.855224] usb 2-2: new high-speed USB device number 2 using ehci-omap
[ 65.014190] usb 2-2: New USB device found, idVendor=7392, idProduct=7811
[ 65.014221] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 65.014221] usb 2-2: Product: 802.11n WLAN Adapter
[ 65.014221] usb 2-2: Manufacturer: Realtek
[ 65.014251] usb 2-2: SerialNumber: 00e04c000001
[ 65.443542] usb_endpoint_descriptor(0):
[ 65.443572] RT_usb_endpoint_is_bulk_in = 1
[ 65.443603] usb_endpoint_descriptor(1):
[ 65.443634] RT_usb_endpoint_is_bulk_out = 2
[ 65.443634] usb_endpoint_descriptor(2):
[ 65.443664] RT_usb_endpoint_is_bulk_out = 3
[ 65.443664] usb_endpoint_descriptor(3):
[ 65.443725] RT_usb_endpoint_is_int_in = 4, Interval = 1
[ 65.443725] USB_SPEED_HIGH
[ 65.695312] ### PS params=> power_mgnt(1),usbss_enable(0) ###
[ 65.700927] usbcore: registered new interface driver rtl8192cu
[ 69.164825] usb_read_port_cancel
[ 69.185455] usb_read_port_complete()-1341: RX Warning!
[ 69.189453] usb_read_port_complete()-1341: RX Warning!
[ 69.189544] usb_read_port_complete()-1341: RX Warning!
[ 69.189697] usb_read_port_complete()-1341: RX Warning!
[ 69.189697] usb_write_port_cancel
[ 74.801605] usb_read_port_cancel
[ 74.801788] usb_read_port_complete()-1341: RX Warning!
[ 74.801910] usb_read_port_complete()-1341: RX Warning!
[ 74.802032] usb_read_port_complete()-1341: RX Warning!
[ 74.802154] usb_read_port_complete()-1341: RX Warning!
[ 74.802215] usb_write_port_cancel
[ 162.669769] usb 2-2: USB disconnect, device number 2
[ 162.670104] ###=> usb_read_port_complete => urb status(-108)
[ 162.670104] usb_read_port_complete()-1341: RX Warning!
[ 162.670135] usb_read_port_complete()-1341: RX Warning!
[ 162.670135] usb_read_port_complete()-1341: RX Warning!
[ 162.670501] reg 0x1cc, usb read fail ,status:-19 value=0x0
[ 162.679321] usb_read_port_cancel
[ 162.679351] usb_write_port_cancel
[ 203.035125] usb 2-2: new high-speed USB device number 3 using ehci-omap
[ 203.193115] usb 2-2: New USB device found, idVendor=0bda, idProduct=8179
[ 203.193115] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 203.193145] usb 2-2: Product: 802.11n NIC
[ 203.193145] usb 2-2: Manufacturer: Realtek
[ 203.193145] usb 2-2: SerialNumber: 00E04C0001
[ 203.692657] usbcore: registered new interface driver rtl8188eu
[ 1002.987487] usb 2-2: USB disconnect, device number 3
[ 1043.151733] usb 2-2: new high-speed USB device number 4 using ehci-omap
[ 1043.312255] usb 2-2: New USB device found, idVendor=0bda, idProduct=8179
[ 1043.312255] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1043.312286] usb 2-2: Product: 802.11n NIC
[ 1043.312286] usb 2-2: Manufacturer: Realtek
[ 1043.312286] usb 2-2: SerialNumber: 00E04C0001
[ 5941.482971] usb 2-2: USB disconnect, device number 4
[19023.042541] usb 2-2: new high-speed USB device number 5 using ehci-omap
[19023.200561] usb 2-2: New USB device found, idVendor=0bda, idProduct=8179
[19023.200561] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[19023.200592] usb 2-2: Product: 802.11n NIC
[19023.200592] usb 2-2: Manufacturer: Realtek
[19023.200592] usb 2-2: SerialNumber: 00E04C0001
[67442.607910] usb 2-2: USB disconnect, device number 5
[67443.925140] hub 2-0:1.0: unable to enumerate USB device on port 2
[67594.309265] usb usb2: USB disconnect, device number 1
[67594.331726] ehci-omap ehci-omap.0: USB bus 2 deregistered
[67603.835662] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[67604.842895] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[67604.854980] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[67604.855102] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[67604.855102] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[67604.855133] usb usb2: Product: OMAP-EHCI Host Controller
[67604.855133] usb usb2: Manufacturer: Linux 3.2.81 ehci_hcd
[67604.855133] usb usb2: SerialNumber: ehci-omap.0
[67604.857727] hub 2-0:1.0: USB hub found
[67605.183258] usb 2-2: new high-speed USB device number 2 using ehci-omap
[67605.341278] usb 2-2: New USB device found, idVendor=0bda, idProduct=8179
[67605.341308] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[67605.341308] usb 2-2: Product: 802.11n NIC
[67605.341339] usb 2-2: Manufacturer: Realtek
[67605.341339] usb 2-2: SerialNumber: 00E04C0001
[67636.226837] usb 2-2: USB disconnect, device number 2
[67649.042602] usb 2-2: new high-speed USB device number 3 using ehci-omap
[67649.200622] usb 2-2: New USB device found, idVendor=0bda, idProduct=8179
[67649.200622] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[67649.200653] usb 2-2: Product: 802.11n NIC
[67649.200653] usb 2-2: Manufacturer: Realtek
[67649.200653] usb 2-2: SerialNumber: 00E04C0001
[67659.306945] usb usb2: USB disconnect, device number 1
[67659.306945] usb 2-2: USB disconnect, device number 3
[67659.397155] ehci-omap ehci-omap.0: USB bus 2 deregistered
[67678.908111] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[67679.919097] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[67679.933105] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[67679.933227] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[67679.933227] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[67679.933258] usb usb2: Product: OMAP-EHCI Host Controller
[67679.933258] usb usb2: Manufacturer: Linux 3.2.81 ehci_hcd
[67679.933258] usb usb2: SerialNumber: ehci-omap.0
[67679.935699] hub 2-0:1.0: USB hub found
[67680.261352] usb 2-2: new high-speed USB device number 2 using ehci-omap
[67680.419342] usb 2-2: New USB device found, idVendor=0bda, idProduct=8179
[67680.419342] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[67680.419372] usb 2-2: Product: 802.11n NIC
[67680.419372] usb 2-2: Manufacturer: Realtek
[67680.419372] usb 2-2: SerialNumber: 00E04C0001
[67977.937652] usb 2-2: USB disconnect, device number 2
[67993.068572] usb 2-2: new high-speed USB device number 3 using ehci-omap
[67993.226715] usb 2-2: New USB device found, idVendor=0bda, idProduct=8179
[67993.226745] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[67993.226745] usb 2-2: Product: 802.11n NIC
[67993.226745] usb 2-2: Manufacturer: Realtek
[67993.226776] usb 2-2: SerialNumber: 00E04C0001
[67995.670318] usb 2-2: USB disconnect, device number 3
[68004.950714] usb usb2: USB disconnect, device number 1
[68004.976104] ehci-omap ehci-omap.0: USB bus 2 deregistered
[68041.325866] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[68042.336700] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[68042.349945] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[68042.350097] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[68042.350097] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[68042.350128] usb usb2: Product: OMAP-EHCI Host Controller
[68042.350128] usb usb2: Manufacturer: Linux 3.2.81 ehci_hcd
[68042.350128] usb usb2: SerialNumber: ehci-omap.0
[68042.352813] hub 2-0:1.0: USB hub found
[68053.733520] usb usb2: USB disconnect, device number 1
[68053.746826] ehci-omap ehci-omap.0: USB bus 2 deregistered
[68069.307312] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[68070.312927] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[68070.326812] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[68070.326934] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[68070.326934] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[68070.326965] usb usb2: Product: OMAP-EHCI Host Controller
[68070.326965] usb usb2: Manufacturer: Linux 3.2.81 ehci_hcd
[68070.326965] usb usb2: SerialNumber: ehci-omap.0
[68070.329589] hub 2-0:1.0: USB hub found
[68070.967376] usb 2-2: new high-speed USB device number 2 using ehci-omap
[68071.137298] usb 2-2: device descriptor read/all, error -71
[68071.193969] hub 2-0:1.0: unable to enumerate USB device on port 2
[68089.717468] usb 2-2: new high-speed USB device number 4 using ehci-omap
[68089.876800] usb 2-2: New USB device found, idVendor=7392, idProduct=7811
[68089.876800] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[68089.876831] usb 2-2: Product: 802.11n WLAN Adapter
[68089.876831] usb 2-2: Manufacturer: Realtek
[68089.876831] usb 2-2: SerialNumber: 00e04c000001
[68089.879669] usb_endpoint_descriptor(0):
[68089.879699] RT_usb_endpoint_is_bulk_in = 1
[68089.879699] usb_endpoint_descriptor(1):
[68089.879730] RT_usb_endpoint_is_bulk_out = 2
[68089.879760] usb_endpoint_descriptor(2):
[68089.879791] RT_usb_endpoint_is_bulk_out = 3
[68089.879791] usb_endpoint_descriptor(3):
[68089.879821] RT_usb_endpoint_is_int_in = 4, Interval = 1
[68089.879852] USB_SPEED_HIGH
[68090.172912] ### PS params=> power_mgnt(1),usbss_enable(0) ###
[68093.852691] usb_read_port_cancel
[68093.855468] usb_read_port_complete()-1341: RX Warning!
[68093.855560] usb_read_port_complete()-1341: RX Warning!
[68093.855682] usb_read_port_complete()-1341: RX Warning!
[68093.855804] usb_read_port_complete()-1341: RX Warning!
[68093.855834] usb_write_port_cancel
 
Well, it can mean the drivers are unstable.
Before you plug in your wifi dongle (open a xterm as root):

lsmod > /media/sdcard/before.txt

plug it in, enable usb, and then:

lsmod > /media/sdcard/after.txt

Now see what driver it loaded:

diff /media/sdcard/before.txt /media/sdcard/after.txt

for example "twl4030", you then reload the module into the kernel:

rmmod twl4030 ; modprobe twl4030

Now, to make it automatic, you will need a program that monitors the connection and does de reconnecting. Can not find one now...

but you could:

1. tail the log and act when a certain string is found.
2. each 1 minute to a "iwlist scan" and somehow detect the error is present and act
3. run a program as root that waits until fifo input is given (very efficient), and have a desktop program that writes something to that pipe (in userspace), and then the program acts...

Do you have a "iwlist scan" when healthy and when unhealthy?
 
Last edited:
For Kodi and UMS streaming via Wifi, I had to force the bitrate to 20Mbit I shared my configuration on this post:

https://pyra-handheld.com/boards/threads/port-requests-no-source-no-port.73589/page-84#post-1388810

I am using your configuration, if connection is made it works great :)
After the update of SuperZaxxon I could stream video for almost an hour from various rooms in my house. Connection strength fine too. But then connection failed again.

Now it wouldn't be that bad if the network was automatically reconnected and the video would be resumed, but the videos (mp4 format) played through ums cannot be fast forwarded and I don't think there is a 'goto' option as well. UMS even continues streaming the video without having a recipient.
After reconnecting you need to start the whole video over again or it resumes from different position than it should...

@FBnil thx will check later and report back.
 
A bit later than I thought.... but anyway I tried again today, streamed for 30 minutes and had the same issue.

@FBnil

My dongle is an edimax ew 7811un and it uses module 8192cu and that seems to be correct.
Added and removed the module and that works as expected.

I am now installing Kodi on my Android tablet to check if the table has the same issue to rule out that the problem is in the router settings.
 
!Disable power management!

from: https://github.com/raspberrypi/linux/issues/1342


EDIMAX EW-7811UN.... That's using rtl8188cus chipset, IIRC.
If you haven't already got one, create /etc/modprobe.d/8192cu.conf, with content....


options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

and another user:

What I'm doing at the moment (gentoo install) is the following at bootup to disable the power saving on the wifi card

iw wlan0 set power_save off
 
Thanks! Disabled power management by doing:

sudo nano /etc/network/interfaces
added line: wireless-power off

iwconfig -> Power Management off

The tablets connection was very stable btw. Didn't disconnect during active streaming (appr. 2 hours). The connection was still active and I could resume streaming this morning after having it connected during the night.
So I am pretty sure the modem isn't the culprit.

Will test the connection later today with power management off.
[doublepost=1482931685,1482914972][/doublepost]With power management off my Pandora was disconnected after 35 minutes of streaming. I closed kodi, tried to reconnect to the wifi network and that failed. Then removed module 8192cu, added it and tried again. Still connection couldn't be made (wireless connections are visible but wireless connection icon keeps spinning without connecting, once failing and asking for a password).
Removed the USB dongle - plugged it in and tried again, that finally caused the wifi network to re-connect.
 
Back
Top