Re: How would I make a driver?

From: Yusuf Khan <yusisamerican_at_gmail.com>
Date: Sat, 15 Jan 2022 06:05:31 UTC
That would be great, thanks! Would it use much ram(less than 80ish MB)
and why doesnt it use mkroot? Also does it run on other BSD hosts, and
should I open a github issue?

Thanks, Yusuf

On Thu, Jan 13, 2022 at 3:19 PM Páli Gábor <pali.gabor@gmail.com> wrote:
>
> Hi Yusuf,
>
> Le mer. 12 janv. 2022 à 04:55, Yusuf Khan <yusisamerican@gmail.com> a écrit :
> > I have a rtl 8821ce wireless adapter which does not currently have
> > a driver out for FreeBSD. [..]  how would I actually get
> > to writting the wireless driver(ie. getting the driver to load,
> > running FreeBSD on my laptop and loading the driver and other misc
> > stuff)
>
> I may have some good news for you.  A couple of months ago, I have
> started a project called "FreeBSD Wifibox" [1] to experiment with
> using the original Linux drivers via BHyVe PCI pass-through to talk to
> the wireless NICs that are officially not supported by the FreeBSD
> kernel as an easy alternative to porting the driver itself.  It runs
> Alpine Linux as a guest OS and it uses its drivers, which would be
> rtl8821ce-lts [2] in your case, I believe.  The latest (0.6.2) release
> does not include this package, so you will not be able to use it right
> away, but maybe I could help you to make it work like I did for the
> ath10k driver [3].
>
> Would you be interested?
>
> Cheers,
> Gábor
>
> [1] https://github.com/pgj/freebsd-wifibox
> [2] https://pkgs.alpinelinux.org/package/edge/community/x86_64/rtl8821ce-lts
> [3] https://github.com/pgj/freebsd-wifibox/issues/6