Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2014 12:32:21 +0800
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        Carlos Jacobo Puga Medina <cpm@fbsd.es>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: TP-LINK TL-WN821N
Message-ID:  <20140909043220.GA18621@ns.kevlo.org>
In-Reply-To: <20140824180120.37f6e1018e38dc970585e61e@fbsd.es>
References:  <20140707211035.5ce0a482fe062bc1ea64ace7@fbsd.es> <CAJ-VmokHTSGU6a7JBAx2=m6zU%2BEmE3eyn0YQJfjkja4uHHurpw@mail.gmail.com> <20140708022220.GA87876@ns.kevlo.org> <20140708124550.c60683f2c01f3f9aa6a4ff70@fbsd.es> <20140709100229.GA6733@ns.kevlo.org> <20140709154223.9623a93c2d458dc32339b554@fbsd.es> <20140710050524.GA14437@ns.kevlo.org> <20140710112344.86496b02b2d62197a1e467ba@fbsd.es> <20140710100317.GA16286@ns.kevlo.org> <20140824180120.37f6e1018e38dc970585e61e@fbsd.es>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 24, 2014 at 06:01:20PM +0200, Carlos Jacobo Puga Medina wrote:
> 
> Hi Kevin,

Hi,

Sorry for the late response.

> Sometimes my wireless device fails to connect at boot, and I need to restart the system. Also it states that the device is not configured.
> 
> /boot/loader.conf
> if_urtwn_load="YES"
> legal.realtek.license_ack=1

You might add the following lines to /boot/loader.conf:

urtwn-rtl8192cfwT_load="YES"
urtwn-rtl8192cfwU_load="YES"

> It shows the following output:
> 
> urtwn0: timeout waiting for checksum report
> 
> Any thoughts?

I thought this problem was fixed in r263154, but apparently not.
Could you try this patch?  Thanks

Index: sys/dev/usb/wlan/if_urtwn.c
===================================================================
--- sys/dev/usb/wlan/if_urtwn.c	(revision 271297)
+++ sys/dev/usb/wlan/if_urtwn.c	(working copy)
@@ -2280,8 +2280,6 @@ urtwn_fw_reset(struct urtwn_softc *sc)
 			return;
 		urtwn_ms_delay(sc);
 	}
-	/* Force 8051 reset. */
-	urtwn_write_2(sc, R92C_SYS_FUNC_EN, reg & ~R92C_SYS_FUNC_EN_CPUEN);
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140909043220.GA18621>