The officially official Devuan Forum!

You are not logged in.

#1 2018-04-17 19:23:41

richard-tx
Member
Registered: 2018-03-21
Posts: 9  

8812 driver for Devuan Jessie

I am attempting to build a driver for the 8812 USB wifi device.

Can anyone help with a quick how-to?


I found this link for the Raspberry Pi, but that does not work with Devuan for obvious reasons.

One of the reasons is /lib/modules/build.   It is a sym linked to /home/paralyzd/arm-sdk....

This is for the Raspberry Pi 2 (32 bit) Jessie release.

rich

Last edited by richard-tx (2018-04-17 19:40:22)

Offline

#2 2018-04-17 20:17:03

bbatten
Member
Registered: 2017-07-02
Posts: 29  

Re: 8812 driver for Devuan Jessie

There is a Linux kernel driver for the Realtek RTL8812AU USB device which you can pull from Github here and compile.

Offline

#3 2018-04-17 20:23:41

golinux
Administrator
Registered: 2016-11-25
Posts: 1,224  

Re: 8812 driver for Devuan Jessie

Surely this is a typo: /home/paralyzd/arm-sdk....

Online

#4 2018-04-18 00:38:58

richard-tx
Member
Registered: 2018-03-21
Posts: 9  

Re: 8812 driver for Devuan Jessie

More of the same issue.

root@devuan:~/rtl8812AU_8821AU_linux# make
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.10.17-v7+/build M=/root/rtl8812AU_8821AU_linux  modules
make[1]: Entering directory '/home/parazyd/arm-sdk/tmp/kernels/raspi2/raspi2-linux'
make[1]: *** No rule to make target 'modules'.  Stop.
make[1]: Leaving directory '/home/parazyd/arm-sdk/tmp/kernels/raspi2/raspi2-linux'
Makefile:1584: recipe for target 'modules' failed
make: *** [modules] Error 2


[b]root@devuan:~/rtl8812AU_8821AU_linux# ls -l /lib/modules/4.6.3-gb48d47a/build
lrwxrwxrwx 1 root root 53 Oct 12  2016 /lib/modules/4.6.3-gb48d47a/build -> /home/parazyd/arm-sdk/tmp/kernels/raspi3/raspi3-linux[/b]
root@devuan:~/rtl8812AU_8821AU_linux#

You can see the problem.  I just don't know how to fix it.  Well I do, but I have no idea where to get the correct file(s).

Last edited by richard-tx (2018-04-18 00:47:52)

Offline

#5 2018-04-18 00:50:14

richard-tx
Member
Registered: 2018-03-21
Posts: 9  

Re: 8812 driver for Devuan Jessie

golinux wrote:

Surely this is a typo: /home/paralyzd/arm-sdk....

What do I know?  In any case, the sym link points to something that isn't there.  (:>)

Last edited by richard-tx (2018-04-18 00:54:32)

Offline

#6 2018-04-18 01:05:29

golinux
Administrator
Registered: 2016-11-25
Posts: 1,224  

Re: 8812 driver for Devuan Jessie

richard-tx wrote:
golinux wrote:

Surely this is a typo: /home/paralyzd/arm-sdk....

What do I know?  In any case, the sym link points to something that isn't there.  (:>)

This is what's in the script.

/home/parazyd/arm-sdk/

You might like to know that parazyd builds all of the arm stuff.

Online

#7 2018-04-18 02:05:50

richard-tx
Member
Registered: 2018-03-21
Posts: 9  

Re: 8812 driver for Devuan Jessie

All that is in the dir is directories.  No files.

I guess I am going to have to email parazyd.

Offline

#8 2018-04-18 02:31:23

golinux
Administrator
Registered: 2016-11-25
Posts: 1,224  

Re: 8812 driver for Devuan Jessie

richard-tx wrote:

All that is in the dir is directories.  No files.

I guess I am going to have to email parazyd.

That or freenode #devuan-arm

Online

#9 2018-04-18 13:54:29

fsmithred
Administrator
Registered: 2016-11-25
Posts: 857  

Re: 8812 driver for Devuan Jessie

Check the Makefile to see if there's a place to set that path so it corresponds to your own setup.

Offline

#10 2018-04-19 18:15:26

bbatten
Member
Registered: 2017-07-02
Posts: 29  

Re: 8812 driver for Devuan Jessie

richard-tx wrote:

... the sym link points to something that isn't there.

Your screen output doesn't seem to show a complaint about being unable to resolve a symlink. The line "No rule to make target 'modules'" means that target can't be found in a Makefile. The kernel Makefile has "modules:" as a target.

Have you installed a kernel header package? Alternatively, have you installed a kernel source tree?

Have you done a "make prepare"?

Offline

Board footer