From owner-freebsd-current@freebsd.org Sat Oct 22 06:22:34 2016 Return-Path: Delivered-To: freebsd-current@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 6CA84C1CAEE for ; Sat, 22 Oct 2016 06:22:34 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5B33DF46 for ; Sat, 22 Oct 2016 06:22:34 +0000 (UTC) (envelope-from lists@opsec.eu) Received: by mailman.ysv.freebsd.org (Postfix) id 5A939C1CAED; Sat, 22 Oct 2016 06:22:34 +0000 (UTC) Delivered-To: current@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 5A3D2C1CAEC for ; Sat, 22 Oct 2016 06:22:34 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18C43F44; Sat, 22 Oct 2016 06:22:34 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bxphQ-000DwF-9K; Sat, 22 Oct 2016 08:22:32 +0200 Date: Sat, 22 Oct 2016 08:22:32 +0200 From: Kurt Jaeger To: Andriy Voskoboinyk , current@FreeBSD.org Subject: Re: urtwn(4) / rtwn(4) drivers are merged - call for testing (Was: RTL8812AU / RTL8821AU driver) Message-ID: <20161022062232.GS51420@home.opsec.eu> References: <20161021191957.GA963@athena.sysfault.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161021191957.GA963@athena.sysfault.org> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2016 06:22:34 -0000 Hi! > > rtwn(4), urtwn(4) and urtwm (from previous emails) drivers were merged > > into a > > single rtwn driver (plus rtwn_usb / rtwn_pci device glue); the code is > > available on https://github.com/s3erios/rtwn repository. Among bugfixes / > > code deduplication, there some new features too: > [...] > > It took a while to test both, the github version as well as the most > recent version on -CURRENT (r307731) with my RTL8188CE (PCI). Does this code only work on CURRENT or should it also work on 11.0p1 ? I've build it on a X220 thinkpad with none2@pci0:3:0:0: class=0x028000 card=0x819510ec chip=0x817610ec rev=0x01 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8188CE 802.11b/g/n WiFi Adapter' class = network bar [10] = type I/O Port, range 32, base 0x5000, size 256, enabled bar [18] = type Memory, range 64, base 0xf2400000, size 16384, enabled and tried to reboot with if_rtwn_load="YES" legal.realtek.license_ack=1 rtwn-rtl8192cfwU_load="YES" rtwn-rtl8192cfwU_B_load="YES" in /boot/loader.conf. The device was not found/detected. kldstat finds those (I did a kldload rtwn-* post-boot): Id Refs Address Size Name 1 55 0xffffffff80200000 1fa7c38 kernel 2 1 0xffffffff821a9000 30aee8 zfs.ko 3 2 0xffffffff824b4000 adc8 opensolaris.ko 4 1 0xffffffff824bf000 21be8 geom_eli.ko 5 1 0xffffffff824e2000 b3f0 aesni.ko 6 1 0xffffffff824ee000 23ce8 if_rtwn.ko 7 1 0xffffffff82512000 5368 rtwn-rtl8192cfwU.ko 8 1 0xffffffff8273d000 3980 umodem.ko 9 1 0xffffffff82741000 53e3 ucom.ko 10 1 0xffffffff82747000 5769 if_cdce.ko 11 1 0xffffffff8274d000 2bf2 uether.ko 12 1 0xffffffff82750000 2324f ipfw.ko 13 1 0xffffffff82774000 3d84 rtwn-rtl8188eufw.ko 14 1 0xffffffff82778000 4117 rtwn-rtl8192cfwE.ko 15 1 0xffffffff8277d000 4704 rtwn-rtl8192cfwE_B.ko 16 1 0xffffffff82782000 462a rtwn-rtl8192cfwT.ko 17 1 0xffffffff82787000 846b rtwn-rtl8812aufw.ko 18 1 0xffffffff82790000 73cb rtwn-rtl8821aufw.ko Now I need some pointers on what I can do 8-} -- pi@opsec.eu +49 171 3101372 4 years to go !