urtwn device timeout

2014-12-17 Thread Marko Cupać
Hi,

I have occasional device timeout from urtwn on my ThinkPad T440 with usb
wifi dongle.

All I get in dmesg is:
urtwn0: device timeout


ifconfig still shows it as associated:
urtwn0: flags=28c43UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST,NOINET6 mtu 
1500
lladdr 6c:19:8f:b3:98:02
priority: 4
groups: wlan egress
media: IEEE802.11 autoselect (OFDM54 mode 11g)
status: active
ieee80211: nwid somessid chan 6 bssid 24:a4:3c:65:ca:f7 180dB wpakey 
not displayed wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp 
wpagroupcipher tkip
inet 10.90.7.15 netmask 0xff80 broadcast 10.90.7.127

I can ping local IP address, but nothing else.

Little blue light on the adapter is on during times of outage.
netstart restores the connection for a few seconds, after which it
drops again.

Re-inserting usb dongle followed by netstart re-estabilishes
connection for a longer period. I noticed that dongle was quite
hot when I removed it.

I don't know if it is related, but I had similar problem with
integrated wifi adapter on linux with iwlwifi driver. It would
wander off to AP with worse signal, or just stop transmitting.
I'd have to turn adapter off and on in order to restore the
connection.

Any good people out there to help me out with this?
-- 
Marko Cupać
https://www.mimar.rs/



Re: urtwn device timeout

2014-12-17 Thread Stefan Sperling
On Wed, Dec 17, 2014 at 12:39:15PM +0100, Marko Cupać wrote:
 Hi,
 
 I have occasional device timeout from urtwn on my ThinkPad T440 with usb
 wifi dongle.
 
 All I get in dmesg is:
 urtwn0: device timeout

Yes, these devices tend to run hot and stop working. I have a
urtwn(4) device that has the same problem. No fix is known.

It's possible that powersaving is required for these devices to work
reliably, which I don't think our urtwn(4) driver has support for.
Someone with the necessary patience could try adding support for it.
The Linux rtlwifi driver seems to support powersaving for this device.



Re: urtwn device timeout

2014-12-17 Thread Aaron Bieber
Stefan Sperling writes:

 On Wed, Dec 17, 2014 at 12:39:15PM +0100, Marko Cupać wrote:
 Hi,
 
 I have occasional device timeout from urtwn on my ThinkPad T440 with usb
 wifi dongle.
 
 All I get in dmesg is:
 urtwn0: device timeout

 Yes, these devices tend to run hot and stop working. I have a
 urtwn(4) device that has the same problem. No fix is known.

 It's possible that powersaving is required for these devices to work
 reliably, which I don't think our urtwn(4) driver has support for.
 Someone with the necessary patience could try adding support for it.
 The Linux rtlwifi driver seems to support powersaving for this device.

If it's a heat thing, they sure seem to heat up faster with xhci
enabled.

I get an occasional timeout without xhci and about one every 5 to 10
minutes with it enabled. 

-- 



Re: urtwn device timeout

2014-12-17 Thread martin
Marko Cupa?? marko.cu...@mimar.rs wrote:

 Hi,
 
 I have occasional device timeout from urtwn on my ThinkPad T440 with usb
 wifi dongle.
 
 All I get in dmesg is:
 urtwn0: device timeout
 
 
 ifconfig still shows it as associated:
 urtwn0: flags=28c43UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST,NOINET6 
 mtu 1500
   lladdr 6c:19:8f:b3:98:02
   priority: 4
   groups: wlan egress
   media: IEEE802.11 autoselect (OFDM54 mode 11g)
   status: active
   ieee80211: nwid somessid chan 6 bssid 24:a4:3c:65:ca:f7 180dB wpakey 
 not displayed wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp 
 wpagroupcipher tkip
   inet 10.90.7.15 netmask 0xff80 broadcast 10.90.7.127
 
 I can ping local IP address, but nothing else.
 
 Little blue light on the adapter is on during times of outage.
 netstart restores the connection for a few seconds, after which it
 drops again.
 
 Re-inserting usb dongle followed by netstart re-estabilishes
 connection for a longer period. I noticed that dongle was quite
 hot when I removed it.
 
 I don't know if it is related, but I had similar problem with
 integrated wifi adapter on linux with iwlwifi driver. It would
 wander off to AP with worse signal, or just stop transmitting.
 I'd have to turn adapter off and on in order to restore the
 connection.
 
 Any good people out there to help me out with this?
 -- 
 Marko Cupa??
 https://www.mimar.rs/

I have the same problem with 5.6 on a ThinkPad x120e but not with
-current on a MacBook. I thought it had gotten better and that was that,
but the other replies here indicate that xhci makes it worse.

-- Martin