[SOLVED] Fail to install Realtek 8812au drivers

This forum is for discussion about general software issues.

[SOLVED] Fail to install Realtek 8812au drivers

Postby marakasmalan » Tue May 02, 2017 2:43 am

Good day,

I have been struggling for hours now and fail to get the correct advice from the internet.

HW: I have a raspberry pi 3, Edimax EW-7811UAC
the chipset and this usb wifi dongle is also specifically referencend on the Arch Wiki

the driver is not part of the latest kernel, but there seems to be good support for linux drivers from the manufacturer and plenty of drivers on the AUR available.

$this->bbcode_second_pass_code('', 'uname -r
4.9.25-1-ARCH')

$this->bbcode_second_pass_code('', 'pacman -Qi linux-raspberrypi
Name : linux-raspberrypi
Version : 4.9.25-1
Description : The Linux Kernel and modules - Raspberry Pi
Architecture : armv7h')

from dmesg:
$this->bbcode_second_pass_code('', '
[ 5.395791] usb 1-1.2: Product: Edimax AC600 USB
[ 5.395797] usb 1-1.2: Manufacturer: Realtek
[ 5.395803] usb 1-1.2: SerialNumber: 00e04c000001')

and also reported by lsusb

$this->bbcode_second_pass_code('', 'lsusb
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 1a2c:0b2a China Resource Semico Co., Ltd
Bus 001 Device 004: ID 7392:a812 Edimax Technology Co., Ltd
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub')

I have tried various different packages from the AUR for the Realtek 8812au chipset, but all yield the same result.

After running makepkg -cs the tar.xz file is created

$this->bbcode_second_pass_code('', 'pacman -U rtl8812au_rtl8821au-dkms-git-4.3.20.r16.d716b38-1-armv7h.pkg.tar.xz')

yields:

$this->bbcode_second_pass_code('', ':: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) installing rtl8812au_rtl8821au-dkms-git [######################] 100%
:: Running post-transaction hooks...
(1/2) Install DKMS modules
==> No kernel 4.10.13-1-ARCH modules. You must install them to use DKMS!
(2/2) Arming ConditionNeedsUpdate...
')
the linux-headers package installed:

$this->bbcode_second_pass_code('', 'pacman -Qi linux-armv7-headers
Name : linux-armv7-headers
Version : 4.10.13-1')

Am I missing something? Does the version of linux-headers and the linux-raspberrypi need to be the same.
From another forum thread:

$this->bbcode_second_pass_quote('', 'I')nstalling a dkms package does nothing but stick the source on your machine. dkms is a daemon that will build the module for each new kernel version. But if you don't start the daemon, it isn't going to do a damn thing.


Do I need to do

$this->bbcode_second_pass_code('', 'systemctl start dkms')

or something similar?

Any help or pointing me to a direction where I can find a solution will be greatly appreciated.

regards

m
Last edited by marakasmalan on Thu May 04, 2017 10:49 pm, edited 1 time in total.
marakasmalan
 
Posts: 6
Joined: Tue May 02, 2017 2:34 am

Re: Fail to install Realtek 8812au drivers

Postby WarheadsSE » Wed May 03, 2017 12:34 pm

Your kernel and kernel-headers should match, yes.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Fail to install Realtek 8812au drivers

Postby marakasmalan » Thu May 04, 2017 7:36 pm

Thanks WarheadsSE!

On my intel machine I managed the same objective without much trouble, simply by running "sudo pacman -Su linux-headers" and then proceeding to compile the AUR package.

in that instance, the version of the kernel and the headers matched each other.

For the Arch Linux ARM the linux-header packages available, suitable for the pi 3 consists of:
armv7h core linux-armv7-headers 4.11.0-1
armv7h core linux-armv7-rc-headers 4.11.rc8-1

In raspbian the command is
$this->bbcode_second_pass_code('', 'linux-headers-`uname -r`')

this does not work in Arch and neither does substituting the 'uname -r' with the kernel version.
pacman -Ss linux-armv7-h* also shows up only header packages for kernel version 4.11.0-1

I really tried looking for information, but struggled to find anything that can put me on the right track.

Any help would be appreciated.

Regards

m
marakasmalan
 
Posts: 6
Joined: Tue May 02, 2017 2:34 am

Re: Fail to install Realtek 8812au drivers

Postby marakasmalan » Thu May 04, 2017 10:47 pm

OK, I installed the linux-armv7-headers package.

Instead I should have installed the package linux-raspberrypi-headers .

Sorry, thank you in any case!
marakasmalan
 
Posts: 6
Joined: Tue May 02, 2017 2:34 am


Return to General

Who is online

Users browsing this forum: No registered users and 34 guests