morrownr / 8821au-20210708

Linux Driver for USB WiFi Adapters that are based on the RTL8811AU and RTL8821AU Chipsets - v5.12.5.2
Other
737 stars 109 forks source link

Does not work on Bazzite #150

Open mubinulhaque opened 2 months ago

mubinulhaque commented 2 months ago
: ---------------------------
: install-driver.sh v20240314
: x86_64 (kernel architecture)
: x86_64 (architecture to send to gcc)
: 8/8 (in-use/total processing units)
: 16319844 (total system memory)
: 6.9.12-205.fsync.fc40.x86_64 (kernel version)
: gcc (version of gcc used to compile the kernel)
: gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1)
: SecureBoot disabled
: ---------------------------

Checking for previously installed drivers...
Finished checking for and removing previously installed drivers.
: ---------------------------

Starting installation.
Installing 8821au.conf to /etc/modprobe.d
The non-dkms installation routines are in use.
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.9.12-205.fsync.fc40.x86_64/build M=/var/home/pro/src/8821au-20210708  modules
make[1]: Entering directory '/var/home/pro/src/8821au-20210708'
make[1]: *** /lib/modules/6.9.12-205.fsync.fc40.x86_64/build: No such file or directory.  Stop.
make[1]: Leaving directory '/var/home/pro/src/8821au-20210708'
make: *** [Makefile:2498: modules] Error 2
An error occurred:  2
Please report this error.
Please copy all screen output and paste it into the problem report.
You will need to run the following before reattempting installation.
$ sudo ./remove-driver.sh

Bazzite 40 has to use the non-DKMS installation, since it doesn't support DKMS. Nevertheless, the program has a weird error, where it can't find a file (/lib/modules/6.9.12-205.fsync.fc40.x86_64/build) that I can very much confirm is there.

morrownr commented 2 months ago

Hi @mubinulhaque

The installation script, install-driver.sh, checks to see if dkms is installed and if it is not installed then a non-dkms installation is performed.

make[1]: *** /lib/modules/6.9.12-205.fsync.fc40.x86_64/build: No such file or directory. Stop.

There is the problem. That indicates that the kernel header files are not installed. I am not familiar with this distro so you will be need to check where ever you get help to find out how to install the kernel header files.

Regards