Jump to content

Install rtl8821cu driver on orange pi one with Armbian 22.11 Jammy XFCE on board


oleg-orangepione

Recommended Posts

Hi!

I installed an Armbian 22.11 Jammy XFCE on my Orange Pi One device and would like using wifi+bluetooth USB stick with rtl8821cu chipset.

I found the driver at https://github.com/morrownr/8821cu-20210118 , so at first-time runing distro I launch:

sudo apt update && sudo apt upgrade

then clone repo and

sudo apt install -y build-essential

and for the end launch

sudo ./install-driver.sh

Now i get an error shown below. Does anybody now how it can be resolved?


 

root@orangepione:~/src/8821cu-20210118# sudo ./install-driver.sh
Script:  install-driver.sh v20230101
Kernel:  5.15.80-sunxi
Arch  :  armv7l
gcc   :  gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Installing 8821cu.conf to /etc/modprobe.d
The non-dkms installation routines are in use.
make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.15.80-sunxi/build M=/root/src/8821cu-20210118  modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.80-sunxi'

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

make[1]: *** [Makefile:749: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.15.80-sunxi'
make: *** [Makefile:2501: 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

 

Link to comment
Share on other sites

From second driver very similar error:
 

root@orangepione:~/build/rtl8821CU# make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.15.80-sunxi/build M=/root/build/rtl8821CU  modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.80-sunxi'

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

make[1]: *** [Makefile:749: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.15.80-sunxi'
make: *** [Makefile:2217: modules] Error 2

 

Edited by oleg-orangepione
lexical error
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines