Jump to content

Installing wifi driver for rtl8812BU


badhon_raj

Recommended Posts

Armbianmonitor:

Hi,
I'm trying to install driver for my wifi dongle that is equipped with rtl8812bu chip.

 

I have been searching over the net for a few days, but have been unable to successfully install the driver.

What I tried:
I'm using latest availabel Armbian_5.75_Rock64_Debian_stretch_default_4.4.174_desktop.img
After first boot, I did apt-get update and upgrade.

Then in armbian-config, I installed "Headers, Source and Full firmware package".
then extracted 
linux-source-4.4.174-rockchip64.tar.xz and 
linux-rockchip64-default_4.4.174_5.75_config.xz 
in /usr/src/linux-headers-4.4.174-rockchip64 directory.

After that applied the workaround found here.
"make scripts" works after without any error after above steps.

now the driver.
The dongle comes with a cd with the linux driver in it.
The drivers compiles fine,  but at the last step I get 

modprobe: ERROR: could not insert '88x2bu': Exec format error

I can provide full output if required.

Next. I tried this driver:
https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959

I found this comment on this forum that says he was able to install the driver in rockpro64
although I followed basically same procedure (except building armbian myself),
The installation was not successfull.
I got 

modprobe: ERROR: could not insert '88x2bu': Exec format error

when I executed the last command 
"modprobe 88x2bu"

This is what I found in dmesg 
 


[31040.865892] 88x2bu: version magic '4.4.173-rockchip64 SMP mod_unload aarch64' should be '4.4.174-rockchip64 SMP mod_unload aarch64'


all previous command succeeded without any error.

So can anyone please help?
Let me know if I should provide any other log or anything.

Thanks in advance.

Update: Did
 

modprobe --force 88x2b

now if I insert the device, I get :
 

[ 1093.378297] usb 4-1: new high-speed USB device number 29 using xhci-hcd
[ 1093.506907] usb 4-1: New USB device found, idVendor=0bda, idProduct=b812
[ 1093.506931] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1093.506947] usb 4-1: Product: USB3.0 802.11ac 1200M Adapter
[ 1093.506961] usb 4-1: Manufacturer: Realtek
[ 1093.506975] usb 4-1: SerialNumber: 123456
[ 1093.538973] 88x2bu: version magic '4.4.173-rockchip64 SMP mod_unload aarch64' should be '4.4.174-rockchip64 SMP mod_unload aarch64'

device not working yet.

Edited by badhon_raj
Update
Link to comment
Share on other sites

On 3/6/2019 at 2:29 PM, badhon_raj said:

After that applied the workaround found here.
"make scripts" works after without any error after above steps.


Armbian provides kernel headers while 3rd party wireless chip drivers are user's problem. Try to work this out with a driver maintainer - if any.

 

On 3/6/2019 at 2:29 PM, badhon_raj said:

So can anyone please help?

 

Armbian is maintained by a few, not by a hundred people. 

Moved to general section since support is related for onboard hardware only.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines