Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2016 14:54:41 +0100
From:      Mattia Rossi <mattia.rossi.mailinglists@gmail.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>, Andriy Voskoboinyk <avos@FreeBSD.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>, freebsd-wireless@freebsd.org, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: urtwm -> rtwm
Message-ID:  <c0ebb8e2-cef3-e516-8a07-715829c23039@gmail.com>
In-Reply-To: <9109ACA4-DBD4-4735-86A7-2F3F383829C7@cs.huji.ac.il>
References:  <B53F5185-2857-4164-A97D-FF95FA99DE91@cs.huji.ac.il> <4DC1B743-33EA-4AD7-B124-9D133316552C@cs.huji.ac.il> <op.yp7p5jah4dikkl@localhost> <9109ACA4-DBD4-4735-86A7-2F3F383829C7@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

>> Hi!
>>
>> 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
>>
>> 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
>
> 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?
 From 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:

makeoptions     MODULES_OVERRIDE="zfs opensolaris acl_nfs4"

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)

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 :-)

>
> 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!

Cheers,

Mat

>>>> On 30 Oct 2016, at 14:07, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>>>>
>>>> hi,
>>>> between r30666 and r30808 i lost my wireless,
>>> s/r30666/r306333/ and s/r30808/r308087/
>>>
>>>> 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…., the closest being rtwn-rt18188eufw.ko
>>>>
>>>> this is what the old urtwn has to say:
>>>> ...
>>>> Starting devd.
>>>> wlan: <802.11 Link Layer>
>>>> urtwn0 on uhub1
>>>> urtwn0: <Realtek 802.11n NIC, class 0/0, rev 2.00/0.00, addr 2> 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
>>>>
>>>> please help
>>>>
>>>> thanks,
>>>> 	danny
>>>>
>>>> _______________________________________________
>>>> 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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c0ebb8e2-cef3-e516-8a07-715829c23039>