From owner-freebsd-wireless@freebsd.org Wed Nov 2 14:30:50 2016 Return-Path: Delivered-To: freebsd-wireless@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 D544BC2A60D; Wed, 2 Nov 2016 14:30:50 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 27C7718A2; Wed, 2 Nov 2016 14:30:49 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1c1wYp-000FUI-QX; Wed, 02 Nov 2016 16:30:39 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: urtwm -> rtwm From: Daniel Braniss In-Reply-To: Date: Wed, 2 Nov 2016 16:30:39 +0200 Cc: Andriy Voskoboinyk , freebsd-current , freebsd-wireless@freebsd.org, freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <4DC1B743-33EA-4AD7-B124-9D133316552C@cs.huji.ac.il> <9109ACA4-DBD4-4735-86A7-2F3F383829C7@cs.huji.ac.il> To: mattia.rossi.mailinglists@gmail.com X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2016 14:30:51 -0000 > On 2 Nov 2016, at 15:54, Mattia Rossi = wrote: >=20 >=20 >>> Hi! >>>=20 >>> rtwn_usb(4) depends on rtwn(4) module; you can try to >>> 1) add them to the kernel config; >>> 2) check / fix WITHOUT_MODULES and MODULES_OVERRIDE make.conf(5) = variables >>> 3) compile / install them manually >>>=20 >>> P.S. There is no 'rtwm' module in the tree; what is the exact error = message >>> where it was? >> the problem was that if_rtwn.ko was not compiled! >> all the others where, i.e. if_rtwn_[pci,usb].ko. >> I added all of them to the config, and now it seems to work >>=20 >> so the problem is that the loadable module if_rtwn.ko is NOT compiled >> by default, while all the others are, >> what is the magic to have it compiled? > =46rom my experience you always have to specify all modules and the = modules they depend on. I for example had to specify this for zfs = support in the config file: >=20 > makeoptions MODULES_OVERRIDE=3D"zfs opensolaris acl_nfs4" >=20 > I actually only wanted zfs, which depends on opensolaris which then = again depends on acl_nfs4 (probably because I sepcified nfs4 support in = the config file) >=20 not from my experience, the fact that all the other rtwn- where there = means that somewhere there is a missing directive. > I only found out after a few tries. It's really not ideal, that module = dependencies are not resolved. > But once you know about it, you can live with it :-) >=20 >>=20 >> BTW, I tried this on RPI2, and now will try on an orangepi one. > Is that the SDIO based internal WiFi? Let me know if it works! >=20 no, this is the cheapest orange one, with one usb, so it=E2=80=99s a = wifi dongle. my orange pi plus, with the onboard wifi, i managed to fry :-( cheers, danny > Cheers, >=20 > Mat >=20 >>>>> On 30 Oct 2016, at 14:07, Daniel Braniss = wrote: >>>>>=20 >>>>> hi, >>>>> between r30666 and r30808 i lost my wireless, >>>> s/r30666/r306333/ and s/r30808/r308087/ >>>>=20 >>>>> so reading UPDATE clarified why, I also did a mergemaster so now = devd et.all. seem to be in sync, >>>>> but now devd complains that if_rtwn_usb depends on rtwm and there = is no rtwn, instead there are >>>>> several rtwn-rtl8=E2=80=A6., the closest being rtwn-rt18188eufw.ko >>>>>=20 >>>>> this is what the old urtwn has to say: >>>>> ... >>>>> Starting devd. >>>>> wlan: <802.11 Link Layer> >>>>> urtwn0 on uhub1 >>>>> urtwn0: on = usbus0 >>>>> urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R >>>>> urtwn0: enabling 11n >>>>> urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps >>>>> urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps = 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps >>>>> urtwn0: 1T1R >>>>> urtwn0: 11ng MCS 20MHz >>>>> urtwn0: MCS 0-7: 6.5Mbps - 65Mbps >>>>>=20 >>>>> please help >>>>>=20 >>>>> thanks, >>>>> danny >>>>>=20 >>>>> _______________________________________________ >>>>> freebsd-current@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>>>> To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" >>>> _______________________________________________ >>>> freebsd-wireless@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>> To unsubscribe, send any mail to = "freebsd-wireless-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" >=20