From owner-freebsd-current@freebsd.org Sat Oct 22 16:36:58 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 D142EC1CEF0 for ; Sat, 22 Oct 2016 16:36:58 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B3E76224 for ; Sat, 22 Oct 2016 16:36:58 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B3427C1CEEE; Sat, 22 Oct 2016 16:36:58 +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 B2EB5C1CEED for ; Sat, 22 Oct 2016 16:36:58 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) (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 43D6E223 for ; Sat, 22 Oct 2016 16:36:57 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f42.google.com with SMTP id x79so174966177lff.0 for ; Sat, 22 Oct 2016 09:36:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=h4X4h2ZmKltXb4qFz8PnGRfI/aNx+DoSxDEXBm6WVCw=; b=Y+8RtAD+NIEsjW91+HEijlcfIgpxHZ6eLWIQydjjSPF3qm76K6levftgc73c1yK74O umBDhZoYcXl2PHdZHEPyjk5G7G6f+TD/7pf/S+boC1dGoQ3KIsRALqtCPg9ll+O4nNim oeqcovbWA1iMMwSdQs9UdiQAI0/D8ErvMgDi/d664Bgz9PrB5SdPKfzgE4CyTJsyaSpI t3pUmeu7D4b/cMrxqOyhtkPk2WMftmxWLqKQm7aSIdpzXWSghAVXn3di3iB5xEc8w/gh VetFepDj6CdctzjqFtMevW+un9Mf5F3l2C9BHzX0CbAISMA3lU5dlDQVEQ8EIZPdhQOa UwCw== X-Gm-Message-State: ABUngvekWvV7Z/r1O0uUxsKtnN7lLkHu9qeCMQXXvdLKLN7HktKaiALK9U/UWJgvavilrQ== X-Received: by 10.25.201.1 with SMTP id z1mr3173246lff.6.1477153859682; Sat, 22 Oct 2016 09:30:59 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id 24sm1419964lfr.49.2016.10.22.09.30.58 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 22 Oct 2016 09:30:59 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: current@freebsd.org, "Kurt Jaeger" Subject: Re: urtwn(4) / rtwn(4) drivers are merged - call for testing (Was: RTL8812AU / RTL8821AU driver) References: <20161021191957.GA963@athena.sysfault.org> <20161022062232.GS51420@home.opsec.eu> Date: Sat, 22 Oct 2016 19:31:02 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <20161022062232.GS51420@home.opsec.eu> User-Agent: Opera Mail/12.16 (FreeBSD) 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 16:36:58 -0000 Sat, 22 Oct 2016 09:22:32 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Kurt Jaeger : Hi! You need to compile / load rtwn_pci(4) driver too. It should be compatible with 11.0-RELEASE (but not with 10 / 9) > Hi! > >> > rtwn(4), urtwn(4) and urtwm (from previous emails) drivers were mer= ged >> > 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=3D0x028000 card=3D0x819510ec chip=3D0x81= 7610ec = > rev=3D0x01 hdr=3D0x00 > vendor =3D 'Realtek Semiconductor Co., Ltd.' > device =3D 'RTL8188CE 802.11b/g/n WiFi Adapter' > class =3D network > bar [10] =3D type I/O Port, range 32, base 0x5000, size 256, ena= bled > bar [18] =3D type Memory, range 64, base 0xf2400000, size 16384,= = > enabled > > and tried to reboot with > > if_rtwn_load=3D"YES" > legal.realtek.license_ack=3D1 > rtwn-rtl8192cfwU_load=3D"YES" > rtwn-rtl8192cfwU_B_load=3D"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-}