From owner-freebsd-arm@freebsd.org Tue Dec 29 17:42:13 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7ABAA55B40; Tue, 29 Dec 2015 17:42:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83D3B1D97; Tue, 29 Dec 2015 17:42:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x229.google.com with SMTP id to4so165919278igc.0; Tue, 29 Dec 2015 09:42:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ewfdmgcCvVzj8ej0KyiWR9pCxg9HG80tlC7Z7r76Vjo=; b=zKxrF/9vRbeBI2lTTsfIYYEM5TRhEu6s5DKP3QUugH8psN/cuFi0sDJD8jRRweVAKv Grovm1CGjVvy0mR3/PS+rMYW+JAY9Ncmlnu5asGrALZ93Eh8ebdMnSLAiN8W5kcgFr8U WQHE42RlCqn5m5+MQjD7FADYScrA0vBCTDUWgdebKkX8zrD0/ArynqLsH8cRrDYaDkKx 8ySFIhL7vqay9YmIroEvA7vznINaAISpx2Fn5o3qnAKVJG/OrdkB08no147lacVlsC9a JMqI6pHVV+arfq+a71GnY58nXE0PeGYflEV7ebnRzHnGchkhAU7c91GzRY5IOYIWiLOz AYrQ== MIME-Version: 1.0 X-Received: by 10.50.50.238 with SMTP id f14mr7380028igo.37.1451410932912; Tue, 29 Dec 2015 09:42:12 -0800 (PST) Received: by 10.36.121.202 with HTTP; Tue, 29 Dec 2015 09:42:12 -0800 (PST) In-Reply-To: <20151229141940.GA16117@ns.kevlo.org> References: <382E50DE-7B65-4469-9851-8F28A335096C@cs.huji.ac.il> <5682580B.30107@selasky.org> <346C6669-E51E-498F-8AD0-C294F70B441D@cs.huji.ac.il> <56825E74.3050609@selasky.org> <1EC3E6CB-5031-46F3-A3AD-329DB1FDC882@cs.huji.ac.il> <56827D08.2070602@selasky.org> <5682801B.6020404@selasky.org> <5682927B.6020704@selasky.org> <20151229141940.GA16117@ns.kevlo.org> Date: Tue, 29 Dec 2015 09:42:12 -0800 Message-ID: Subject: Re: D-link wireless not detected From: Adrian Chadd To: Kevin Lo Cc: Hans Petter Selasky , "freebsd-arm@freebsd.org" , "freebsd-wireless@freebsd.org" , freebsd-current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2015 17:42:13 -0000 I'll go order one and take a crack at it soon. (I saw this when looking at the r92su and realtek linux drivers - they do a whole bunch of extra endpoint gymnastics that we don't..) -a On 29 December 2015 at 06:19, Kevin Lo wrote: > On Tue, Dec 29, 2015 at 03:02:35PM +0100, Hans Petter Selasky wrote: >> On 12/29/15 14:00, Daniel Braniss wrote: >> > >> >> On 29 Dec 2015, at 14:44, Hans Petter Selasky wrote= : >> >> >> >> On 12/29/15 13:36, Daniel Braniss wrote: >> >>> >> >> >> >> Until /etc/devd/usb.conf is regenerated, you'll need to manually load= the kernel module for urtwn. Did you do that? >> >> >> >> --HPS >> >> >> > ok, set if_urtwn_load=3Dyes >> > and now I get: >> > >> > ugen0.4: at usbus0 >> > urtwn0: on usbus0 >> > urtwn0: could not allocate USB transfers, err=3DUSB_ERR_NO_PIPE >> > Fatal kernel mode data abort: 'Translation Fault (L1)' on write >> > trapframe: 0xda29fb88 >> > FSR=3D00000805, FAR=3D00000000, spsr=3D60000013 >> > r0 =3D00000000, r1 =3D00000000, r2 =3Dc0a72cb0, r3 =3D00000165 >> > r4 =3Dc2cd0000, r5 =3Dc0a86650, r6 =3Dc2cd1a80, r7 =3D00000000 >> > r8 =3Dc2cd1dd8, r9 =3Dc2cd1a20, r10=3Dc2a85dd0, r11=3Dda29fc20 >> > r12=3D00000000, ssp=3Dda29fc18, slr=3D00000004, pc =3Dc0a3f7cc >> > >> > [ thread pid 13 tid 100045 ] >> > Stopped at ieee80211_ifdetach+0x4c: str r0, [r1] >> > db> >> > >> > btw, as long as you are willing to help, I will keep testing, >> > in other words, i=E2=80=99m ok. >> >> Hi Andriy, >> >> Can you fix the crash above and verify this error patch? >> >> Andriy: >> >> After: >> usbd_transfer_unsetup(sc->sc_xfer, URTWN_N_TRANSFER); >> There is no need for: >> usbd_transfer_drain(sc->sc_xfer[x]); > > As I mentioned previously we don't support rtl8192eu. One difference > between those is the the number of endpoints and its addresses. > >> --HPS > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"