[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Driver/firmware for Realtek RTL8814U WiFi USB Adapter?



Hi Larry,

Sorry for sending you down a rabbit hole.  The reason the DKMS steps
didn't work is that the git repository for the rtl8814au lacks the
configuration file(s) for DKMS.  Specifically, if you check your logs,
you'll see that if failed to locate DKMS.conf.  I thought it would work
because the rtl8814au driver appears to be based off the driver here:
https://github.com/gnab/rtl8812au.  That driver does have the
configuration files to support DKMS (Makefile.dkms and dkms.conf).  I
don't know enough about DKMS to modify the configuration files in the
above repository to make it work with the rtl8814au git repository.

Fortunately, you can still compile the package for your existing
kernel.  The only downside of this step is that you will need to
re-compile the drivers if you install a new kernel which is not ABI
compatible.  For example, the current Stretch kernel for AMD64 is
linux-image-4.9.0-3-amd64 (4.9.30-2+deb9u2).  Thus, it should work with
any future kernel starting with linux-image-4.9.0-3, but if you see
4.9.0-4, you would likely have to recompile.  I haven't actually tested
this, but it's what I've read.

In any case, since you've already installed the build dependencies, you
just need to do the following:

#Clone the git repository (again) - Might as well work from a fresh
directory
git clone https://github.com/astsam/rtl8812au.git
cd rtl8812au

#Compile driver for your hardware
make RTL8814=1

#Install Module
make install

#With Wifi adapter connected, load Module  (If this fails, reboot and it
should load the correct module.)
modprobe 8812au

Regards,

Jason




Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: