Jump to content


Photo

OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver

openPLI 6.1 driver rtl8192eu TL-WN823N V2 ipk compile

  • Please log in to reply
23 replies to this topic

#1 andrearossidec1

  • Senior Member
  • 28 posts

0
Neutral

Posted 21 January 2018 - 11:09

Hi,

I would like to use TL-WN823N V2 or rtl8192eu with openPLI 6.1 image, but I cannot find the proper driver. The device works well under ubuntu as described here https://askubuntu.co...nect-to-network. I found the source code of the driver here https://github.com/M...u-linux-driver, but I do not know how to create and ipk package.

Can you help me?

Thank you



Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #2 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 January 2018 - 11:14

Did you check feeds?

opkg update
opkg install rtl8192eu

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #3 andrearossidec1

  • Senior Member
  • 28 posts

0
Neutral

Posted 21 January 2018 - 12:41

Did you check feeds?
 

opkg update
opkg install rtl8192eu

Thank you for your reply, it does not work:

opkg install rtl8192eu
Collected errors:
 * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'rtl8192eu'.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #4 WanWizard

  • PLi® Core member
  • 70,839 posts

+1,832
Excellent

Posted 21 January 2018 - 14:53

Not every box has this driver, it depends on the kernel version and config.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #5 andrearossidec1

  • Senior Member
  • 28 posts

0
Neutral

Posted 21 January 2018 - 21:26

Not every box has this driver, it depends on the kernel version and config.

 

I have openPLI 6.1 with linux kernel v.4.10.12 on h2h device. What can I do?

Thank you



Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #6 WanWizard

  • PLi® Core member
  • 70,839 posts

+1,832
Excellent

Posted 21 January 2018 - 21:42

Nothing much. It needs to be added to the kernel config if it's a kernel driver. And if not, a third party driver needs to be activated in the build. But that is beyond my expertise. 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #7 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 January 2018 - 21:52

But it is ...?

meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb:	rtl8192eu \

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #8 WanWizard

  • PLi® Core member
  • 70,839 posts

+1,832
Excellent

Posted 21 January 2018 - 22:01

The recipe is there, but it is not being build, there is no dependency that triggers it as far as I can see.

 

I'm 600km from my buildserver for a few weeks more, so I can't check myself.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #9 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 January 2018 - 22:10

EXTERNAL_WIFI_DRIVERS = " \
        firmware-rtl8192cu \
        \
        rtl8192cu \
        rtl8188eu \
        rtl8192eu \
        "
It seems that externalwifi triggers it.
 
        ${@bb.utils.contains("MACHINE_FEATURES", "externalwifi", "${EXTERNAL_WIFI_DRIVERS}", "", d)} \
We can try "IMAGE_INSTALL_append = " rtl8192eu" (in develop) and see if that will fail.

Edit1. Currently it builds for those models:
 
dm8000/rtl8192eu_1.0-r0.1_dm8000.ipk
et5x00/rtl8192eu_1.0-r0.1_et5x00.ipk
et6x00/rtl8192eu_1.0-r0.1_et6x00.ipk
et9x00/rtl8192eu_1.0-r0.1_et9x00.ipk
vuduo/rtl8192eu_1.0-r0.1_vuduo.ipk
vusolo/rtl8192eu_1.0-r0.1_vusolo.ipk
vuultimo/rtl8192eu_1.0-r0.1_vuultimo.ipk
vuuno/rtl8192eu_1.0-r0.1_vuuno.ipk
Edit2. In SDG it builds file for all experintal (by adding rtl8192eu on feeds)
 
et10000/rtl8192eu_1.0-r0_et10000.ipk
et4x00/rtl8192eu_1.0-r0_et4x00.ipk
et5x00/rtl8192eu_1.0-r0_et5x00.ipk
et6x00/rtl8192eu_1.0-r0_et6x00.ipk
et7x00/rtl8192eu_1.0-r0_et7x00.ipk
et8000/rtl8192eu_1.0-r0_et8000.ipk
et9x00/rtl8192eu_1.0-r0_et9x00.ipk
gbquadplus/rtl8192eu_1.0-r0_gbquadplus.ipk
ixussone/rtl8192eu_1.0-r0_ixussone.ipk
ixusszero/rtl8192eu_1.0-r0_ixusszero.ipk
osmega/rtl8192eu_1.0-r0_osmega.ipk
osmini/rtl8192eu_1.0-r0_osmini.ipk
osminiplus/rtl8192eu_1.0-r0_osminiplus.ipk
osnino/rtl8192eu_1.0-r0_osnino.ipk
osninoplus/rtl8192eu_1.0-r0_osninoplus.ipk
sf4008/rtl8192eu_1.0-r0_sf4008.ipk
vuduo/rtl8192eu_1.0-r0_vuduo.ipk
vuduo2/rtl8192eu_1.0-r0_vuduo2.ipk
vusolo/rtl8192eu_1.0-r0_vusolo.ipk
vusolo2/rtl8192eu_1.0-r0_vusolo2.ipk
vusolo4k/rtl8192eu_1.0-r0_vusolo4k.ipk
vusolose/rtl8192eu_1.0-r0_vusolose.ipk
vuultimo/rtl8192eu_1.0-r0_vuultimo.ipk
vuultimo4k/rtl8192eu_1.0-r0_vuultimo4k.ipk
vuuno/rtl8192eu_1.0-r0_vuuno.ipk
vuuno4k/rtl8192eu_1.0-r0_vuuno4k.ipk
vuzero/rtl8192eu_1.0-r0_vuzero.ipk
xp1000/rtl8192eu_1.0-r0_xp1000.ipk

Edited by athoik, 21 January 2018 - 22:17.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #10 WanWizard

  • PLi® Core member
  • 70,839 posts

+1,832
Excellent

Posted 21 January 2018 - 22:24

I know. ;)

 

What I don't know is why it builds for those boxes, but not for others? BSP configuration? Kernel config?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #11 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 January 2018 - 22:27

It tries to locate the MACHINE_FEATURES externalwifi.

Most boxes seem to miss that feature.

So adding rtl8192eu to feed without checking machine feature seems possible solution.

Adding externalwifi to all BSP might take ages.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #12 WanWizard

  • PLi® Core member
  • 70,839 posts

+1,832
Excellent

Posted 21 January 2018 - 22:33

Probably. Maybe check with Erik before making changes,


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #13 andrearossidec1

  • Senior Member
  • 28 posts

0
Neutral

Posted 25 January 2018 - 21:36

Thank you for your effort. Let me know if I have or I can do something.



Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #14 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 27 January 2018 - 12:59

Why is this is an MACHINE_FEATURE to start with? It suggests that the low-level kernel driver is in the kernel, but only for some models (depending on kernel version and config). But according to Wanwizard the rtl8192eu driver is never in the kernel (which is really bad from Realtek).


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #15 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 27 January 2018 - 13:01

 

#
# RTL8XXXU Wireless LAN device configuration
#
config RTL8XXXU
    tristate "RTL8723AU/RTL8188[CR]U/RTL819[12]CU (mac80211) support"
    depends on MAC80211 && USB
    ---help---
      This is an alternative driver for various Realtek RTL8XXX
      parts written to utilize the Linux mac80211 stack.
      The driver is known to work with a number of RTL8723AU,
      RL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU devices

      This driver is under development and has a limited feature
      set. In particular it does not yet support 40MHz channels
      and power management. However it should have a smaller
      memory footprint than the vendor drivers and benefits
      from the in kernel mac80211 stack.

      It can coexist with drivers from drivers/staging/rtl8723au,
      drivers/staging/rtl8192u, and drivers/net/wireless/rtlwifi,
      but you will need to control which module you wish to load.

      To compile this driver as a module, choose M here: the module will
      be called r8xxxu.  If unsure, say N.

config RTL8XXXU_UNTESTED
    bool "Include support for untested Realtek 8xxx USB devices (EXPERIMENTAL)"
    depends on RTL8XXXU
    ---help---
      This option enables detection of Realtek 8723/8188/8191/8192 WiFi
      USB devices which have not been tested directly by the driver
      author or reported to be working by third parties.

      Please report your results!


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #16 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 27 January 2018 - 13:03

..

static int rtl8192eu_load_firmware(struct rtl8xxxu_priv *priv)
{
    char *fw_name;
    int ret;

    fw_name = "rtlwifi/rtl8192eu_nic.bin";

    ret = rtl8xxxu_load_firmware(priv, fw_name);

    return ret;
}

..

This suggests rtl8192eu support in the (recent) kernel.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #17 WanWizard

  • PLi® Core member
  • 70,839 posts

+1,832
Excellent

Posted 27 January 2018 - 13:06

I checked 4.10.x and couldn't find it.

 

I know the externalwifi is there from DMM days, where the 2.6 kernel had virtually no support. 

 

I didn't spend much time on it, due to lack of it. ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #18 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 27 January 2018 - 13:06

It's a patch from or signed-off by MiLo, years ago:

commit 47f42b259c0b96d507cd812395d1bcf0d9f5191d
Author: build <build@nowhere.(none)>
Date:   4 years, 1 month ago

    wifi patch
    
    Signed-off-by: MiLo <milo-software@users.sourceforge.net>

diff --git a/meta-openpli/conf/machine/include/etxx00.inc b/meta-openpli/conf/machine/include/etxx00.inc
index 52eb5a13..540f2df9 100644
--- a/meta-openpli/conf/machine/include/etxx00.inc
+++ b/meta-openpli/conf/machine/include/etxx00.inc
@@ -48,8 +48,8 @@ IMAGE_CMD_ubi_append = " \
 	rm -Rf ${IMAGEDIR}; \
 	"
 
-MACHINE_FEATURES += "alsa usbhost wifi 3dtv switchoff textlcd osdposition hdmicec"
+MACHINE_FEATURES += "alsa usbhost wlan kernelwifi externalwifi 3dtv switchoff textlcd osdposition hdmicec"
 
 require conf/machine/include/tune-mips32.inc
 
-MACHINE_KERNEL_PR = "r5"
+MACHINE_KERNEL_PR = "r6"
diff --git a/meta-openpli/conf/machine/include/vuxxo.inc b/meta-openpli/conf/machine/include/vuxxo.inc
index b53935b1..e4b99922 100644
--- a/meta-openpli/conf/machine/include/vuxxo.inc
+++ b/meta-openpli/conf/machine/include/vuxxo.inc
@@ -53,6 +53,6 @@ IMAGE_CMD_ubi_append = " \
 
 TARGET_FPU = "hard"
 
-MACHINE_FEATURES += "alsa usbhost wifi 3dtv switchoff osdposition hdmicec"
+MACHINE_FEATURES += "alsa usbhost wlan kernelwifi externalwifi 3dtv switchoff osdposition hdmicec"
 
 require conf/machine/include/tune-mips32.inc
diff --git a/meta-openpli/conf/machine/include/vuxxo2.inc b/meta-openpli/conf/machine/include/vuxxo2.inc
index eeb7259f..f1f2034f 100644
--- a/meta-openpli/conf/machine/include/vuxxo2.inc
+++ b/meta-openpli/conf/machine/include/vuxxo2.inc
@@ -69,6 +69,6 @@ IMAGE_CMD_ubi_append = " \
 
 TARGET_FPU = "hard"
 
-MACHINE_FEATURES += "alsa usbhost wifi 3dtv switchoff osdposition hdmicec fan"
+MACHINE_FEATURES += "alsa usbhost wlan kernelwifi externalwifi 3dtv switchoff osdposition hdmicec fan"
 
 require conf/machine/include/tune-mips32.inc
diff --git a/meta-openpli/conf/machine/include/xp.inc b/meta-openpli/conf/machine/include/xp.inc
index 9c393197..bd61e05f 100644
--- a/meta-openpli/conf/machine/include/xp.inc
+++ b/meta-openpli/conf/machine/include/xp.inc
@@ -51,8 +51,8 @@ IMAGE_CMD_ubi_append = " \
 
 TARGET_FPU = "soft"
 
-MACHINE_FEATURES += "alsa usbhost wifi 3dtv switchoff textlcd osdposition hdmicec"
+MACHINE_FEATURES += "alsa usbhost wlan kernelwifi extrakernelwifi 3dtv switchoff textlcd osdposition hdmicec"
 
 require conf/machine/include/tune-mips32.inc
 
-MACHINE_KERNEL_PR = "r1"
+MACHINE_KERNEL_PR = "r2"
diff --git a/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb b/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb
index c078ba4b..587e5e01 100644
--- a/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb
+++ b/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb
@@ -1,12 +1,11 @@
 require openpli-image.bb
 
-WIFI_DRIVERS = " \
+KERNEL_WIFI_DRIVERS = " \
 	firmware-carl9170 \
 	firmware-htc7010 \
 	firmware-htc9271 \
 	firmware-rt2870 \
 	firmware-rt73 \
-	firmware-rtl8192cu \
 	firmware-rtl8712u \
 	firmware-zd1211 \
 	\
@@ -18,6 +17,18 @@ WIFI_DRIVERS = " \
 	kernel-module-rt73usb \
 	kernel-module-rtl8187 \
 	kernel-module-zd1211rw \
+	"
+
+EXTRA_KERNEL_WIFI_DRIVERS = " \
+	firmware-rtl8192cu \
+	\
+	kernel-module-r8188eu \
+	kernel-module-rtl8192cu \
+	"
+
+EXTERNAL_WIFI_DRIVERS = " \
+	firmware-rtl8192cu \
+	\
 	rtl8192cu \
 	rtl8188eu \
 	"
@@ -50,7 +61,7 @@ ENIGMA2_PLUGINS = " \
 	${@base_contains("MACHINE_FEATURES", "frontprocessor", "enigma2-plugin-systemplugins-frontprocessorupgrade" , "", d)} \
 	${@base_contains("MACHINE_FEATURES", "hdmicec", "enigma2-plugin-systemplugins-hdmicec" , "", d)} \
 	${@base_contains("MACHINE_FEATURES", "osdposition", "enigma2-plugin-systemplugins-osdpositionsetup" , "", d)} \
-	${@base_contains("MACHINE_FEATURES", "wifi", "enigma2-plugin-systemplugins-wirelesslan", "", d)} \
+	${@base_contains("MACHINE_FEATURES", "wlan", "enigma2-plugin-systemplugins-wirelesslan", "", d)} \
 	\
 	${@base_contains('OPENPLI_FEATURES', 'ci', 'enigma2-plugin-systemplugins-commoninterfaceassignment', '', d)} \
 	${@base_contains('OPENPLI_FEATURES', 'dvd', 'enigma2-plugin-extensions-cdinfo enigma2-plugin-extensions-dvdplayer', '', d)} \
@@ -94,7 +105,9 @@ IMAGE_INSTALL += " \
 	${ENIGMA2_PLUGINS} \
 	\
 	${@base_contains("MACHINE_FEATURES", "tpm", "tpmd", "", d)} \
-	${@base_contains("MACHINE_FEATURES", "wifi", "${WIFI_DRIVERS}", "", d)} \
+	${@base_contains("MACHINE_FEATURES", "kernelwifi", "${KERNEL_WIFI_DRIVERS}", "", d)} \
+	${@base_contains("MACHINE_FEATURES", "extrakernelwifi", "${EXTRA_KERNEL_WIFI_DRIVERS}", "", d)} \
+	${@base_contains("MACHINE_FEATURES", "externalwifi", "${EXTERNAL_WIFI_DRIVERS}", "", d)} \
 	\
 	${@base_contains('OPENPLI_FEATURES', 'dvd', 'cdfs cdtextinfo kernel-module-isofs kernel-module-udf', '', d)} \
 	"

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #19 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 27 January 2018 - 13:07

I checked 4.10.x and couldn't find it.

Maybe the issue is exactly that the support has been removed recently? I searched inside the 4.9 kernel source tree.


Edited by Erik Slagter, 27 January 2018 - 13:07.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: OpenPLI 6.1: TL-WN823N V2 or rtl8192eu driver #20 WanWizard

  • PLi® Core member
  • 70,839 posts

+1,832
Excellent

Posted 27 January 2018 - 13:07

Added to which boxes?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.




Also tagged with one or more of these keywords: openPLI 6.1, driver, rtl8192eu, TL-WN823N V2, ipk compile

4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users