urtwn(4) / rtwn(4) drivers are merged - call for testing (Was: RTL8812AU / RTL8821AU driver)

Kurt Jaeger lists at opsec.eu
Sat Oct 22 06:22:34 UTC 2016


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 at 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 at opsec.eu            +49 171 3101372                         4 years to go !


More information about the freebsd-current mailing list