y52 post at 2016-5-1 00:52:12

Are you sure this commit works with the WiFi chip from OrangePI plus ?
Do you know the chip, which is built in ?

The Makefile doesn't offer the 8189 chip :
########################## WIFI IC ############################
CONFIG_MULTIDRV = n
CONFIG_RTL8188E = y
CONFIG_RTL8812A = n
CONFIG_RTL8821A = n
CONFIG_RTL8192E = n
CONFIG_RTL8723B = n
CONFIG_RTL8814A = n
CONFIG_RTL8703B = n
CONFIG_RTL8188F = n


Does the one you built works for you?

jernej post at 2016-5-1 01:14:26

I'm pretty sure it works, I tested it in my system (OpenELEC), just that I didn't enable monitor mode. You can try to compile with monitor mode disabled and see if that makes any difference.

y52 post at 2016-5-1 03:20:53

I disabled the Monitor and recompiled the driver, but in vain:

root@orangepiplus:~# lsmod
Module                  SizeUsed by
8189es               12125560

root@orangepiplus:~# iw list
root@orangepiplus:~# iwconfig
lo      no wireless extensions.
tunl0   no wireless extensions.
eth0      no wireless extensions.

The wlan i-face doesn't show up, not to speak for the rest.
It doesn't work for me. I am quite confused.

y52 post at 2016-5-1 03:25:16

the logs on the system boot up:

[    3.915685] RTL871X: module init start
[    3.915701] RTL871X: rtl8189es v4.3.18.1_15373.20151005
[    3.915710] RTL871X: build time: Apr 30 2016 21:01:55
[    3.915814] RTL871X: module init ret=0

pepadew post at 2016-5-1 03:57:55

i have rtl8188cu, and that works fine in monitor mode, i see it is loading rtl8192 drivers.

y52 post at 2016-5-1 04:51:07

Your wifi chip explains partially the reason it doesn't work on 8189rtv, which OPIplus is equipped with.
The 8189 is not part of this commit, It is specific for your model: CONFIG_RTL8188E = y
########################## WIFI IC ############################
CONFIG_MULTIDRV = n
CONFIG_RTL8188E = y
CONFIG_RTL8812A = n
CONFIG_RTL8821A = n
CONFIG_RTL8192E = n
CONFIG_RTL8723B = n
CONFIG_RTL8814A = n
CONFIG_RTL8703B = n
CONFIG_RTL8188F = n

Do you know which commit could work with the 8189 ?

pepadew post at 2016-5-1 09:28:19

i wish i could help you further, but im very new to this.
is there something i can do like looking for configs or so?
now i want to install my new adapter that arrived today but i do not seem to have the right kernel headers.

y52 post at 2016-5-1 23:42:59

My understanding is that the sources from
https://github.com/rdm-dev/rtl8189ES_linux.git
are not meant to work with the SDIO RTL8189ETV module the OPI+ is equipped with.
They are designed for the different WIFI IC, as listed in the Makefile (above).

I knocked upon the explanations here.
http://www.spinics.net/lists/linux-wireless/msg140294.html

They are two ways possible:
1) to add support of the SDIO RTL8189ETV to the main tree here
https://github.com/rdm-dev/rtl8189ES_linux.git

or

2) wait for the mainstream development.

If OrangePI team could guide their community in one or the other direction it would be a great initiative and remarkable support of their hardware.

y52 post at 2016-5-2 03:49:13

I approached the developer of the source we've been working with. What he told is:

> I have no clue where an official maintained project maintaining public part of rtl8189 driver.
> The repository you mentioned ( https://github.com/rdm-dev/rtl8189ES_linux ) has the only goal to make the BSP for the HomePilot device compilable by external developers.
>
> Best regards,
> Jens

As I understand it, the Realtek themselves don't care much about the generic driver for their equipment.
Is that the same approach with the OrangePI ? Could OrangePI provide support for the wifi module their SBC is equipped with?

y52 post at 2016-5-2 05:05:39

I understood, that Jernejsk created a patch to build to make driver to work for OPi2 and Plus boards:

https://github.com/jernejsk/OpenELEC-OPi2/blob/openelec-7.0/packages/linux-drivers/RTL8189ES/patches/RTL8189ES-000-change-build-settings.patch

I put the content of the patch to the file in the cloned gitto /usr/src/rtl8189ES_linux:

-rw-r--r-- 1 root root8695 May1 22:55 RTL8189ES-000-change-build-settings.patch

How could the sources be patched ?
What I did was :
root@orangepiplus:/usr/src/rtl8189ES_linux# patch < RTL8189ES-000-change-build-settings.patch
patching file Makefile
can't find file to patch at input line 43
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur a/platform/platform_ARM_SUNnI_sdio.c b/platform/platform_ARM_SUNnI_sdio.c
|--- a/platform/platform_ARM_SUNnI_sdio.c       2016-03-18 12:09:19.000000000 +0100
|+++ b/platform/platform_ARM_SUNnI_sdio.c       2016-04-15 23:25:04.000000000 +0200
--------------------------
File to patch: ^C
root@orangepiplus:/usr/src/rtl8189ES_linux#
page: 1 2 3 4 5 [6] 7 8
View full version: Kali 2 @ H3 boards doesn't switch to monitor mode