CE-22 NO: Looking for users with no working WiFi or BT

stock Android firmware Tanix TX5 Plus — Яндекс Диск

dmesg from stock Android

https://paste.coreelec.org/CustomerRoxbury

ls -la /sys/bus/sdio/devices/

total 0
drwxr-xr-x 2 root root 0 2025-11-22 02:07 .
drwxr-xr-x 4 root root 0 2025-11-22 02:07 ..
lrwxrwxrwx 1 root root 0 2025-11-22 02:08 mmc2:0000:1 → ../../../devices/platform/soc/fe088000.sdio/mmc_host/mmc2/mmc2:0000/mmc2:0000:1
lrwxrwxrwx 1 root root 0 2025-11-22 02:08 mmc2:0000:2 → ../../../devices/platform/soc/fe088000.sdio/mmc_host/mmc2/mmc2:0000/mmc2:0000:2
lrwxrwxrwx 1 root root 0 2025-11-22 02:08 mmc2:0000:3 → ../../../devices/platform/soc/fe088000.sdio/mmc_host/mmc2/mmc2:0000/mmc2:0000:3
lrwxrwxrwx 1 root root 0 2025-11-22 02:08 mmc2:0000:4 → ../../../devices/platform/soc/fe088000.sdio/mmc_host/mmc2/mmc2:0000/mmc2:0000:4
lrwxrwxrwx 1 root root 0 2025-11-22 02:08 mmc2:0000:5 → ../../../devices/platform/soc/fe088000.sdio/mmc_host/mmc2/mmc2:0000/mmc2:0000:5
lrwxrwxrwx 1 root root 0 2025-11-22 02:08 mmc2:0000:6 → ../../../devices/platform/soc/fe088000.sdio/mmc_host/mmc2/mmc2:0000/mmc2:0000:6
lrwxrwxrwx 1 root root 0 2025-11-22 02:08 mmc2:0000:7 → ../../../devices/platform/soc/fe088000.sdio/mmc_host/mmc2/mmc2:0000/mmc2:0000:7
cat /sys/bus/sdio/devices//vendor

0x8888
0x8888
0x8888
0x8888
0x8888
0x8888
0x8888*
cat /sys/bus/sdio/devices/*/device

0x8888
0x8888
0x8888
0x8888
0x8888
0x8888
0x8888
cat /sys/bus/sdio/devices/*/class

0x07
0x07
0x07
0x07
0x07
0x07
0x07

Does anyone work on uwe5631-aml driver for CE-NO ?
I have uwe5621ds wifi/bt chip and I see that the uwe5631-aml is not included in CE-NO. I imported it from CE-NG and with some preliminary modifications to make it build under kernel 5.15 it successfully loaded. But it require more work to be functional.

It never worked great and nobody did need it yet …

I managed to adapt uwe5631-aml for CE-NO and after simple tests it seems it works.

But there is some clash with EA6X21QX driver.
EA6X21QX driver installs this udev rule:

ENV{MODALIAS}=="?*", ENV{SUBSYSTEM}=="sdio", ENV{SDIO_ID}=="0000:0000", GOTO="load_module"
GOTO="end"

LABEL="load_module"
ENV{MODALIAS}=="?*", ENV{SUBSYSTEM}=="sdio", RUN{builtin}+="kmod load skw_sdio", RUN{builtin}+="kmod load skw"

LABEL="end"

which also triggers for the uwe5621ds wifi module … how can I distinguish those two devices in udev rules ?

This was the old udev rule:

And you will need a special node in your DTS to enable the driver:

What device is it for?

This will not solve the problem of unwanted skw module loading

Sure, this must be adjusted as well like:

diff --git a/projects/Amlogic-ce/packages/linux-drivers/amlogic/EA6X21QX/udev.d/80-ea6x21qx.rules b/projects/Amlogic-ce/packages/linux-drivers/amlogic/EA6X21QX/udev.d/80-ea6x21qx.rules
index c63ee42749..6fb2446b8e 100644
--- a/projects/Amlogic-ce/packages/linux-drivers/amlogic/EA6X21QX/udev.d/80-ea6x21qx.rules
+++ b/projects/Amlogic-ce/packages/linux-drivers/amlogic/EA6X21QX/udev.d/80-ea6x21qx.rules
@@ -1,6 +1,7 @@
 ### EA6X21QX
 ### this driver is split in two individual kernel modules
-ENV{MODALIAS}=="?*", ENV{SUBSYSTEM}=="sdio", ENV{SDIO_ID}=="0000:0000", GOTO="load_module"
+ENV{MODALIAS}=="?*", ENV{SUBSYSTEM}=="sdio", ENV{OF_NAME}=="wifi", ENV{OF_COMPATIBLE_0}!="sprd,unisoc-wifi", \
+  ENV{SDIO_ID}=="0000:0000", GOTO="load_module"
 GOTO="end"
 
 LABEL="load_module"

But without even know what device you work on it’s hard to say how to solve this issue.

Please share your last changes to the driver as I just was able to find a device with such chip.
Then we are able to finish up the driver for CE-NO.

Ok, i will clean it up and make a pr, maybe even today

I use gtmedia gtcombo device

@Portisch I made a PR into this fork Port to linux 5.15 (part 2) by mczerski · Pull Request #1 · Stane1983/uwe5631-aml · GitHub, as @Stane1983 already started working on porting this driver into 5.15.

2 Likes

S905x4

In NO I cannot get over 90 mb download using Speedtest app with wireless

In NG I can see up to 200+ mb using Speedtest app with wireless

I dont know if this helps. 2 clean installs

NO https://paste.coreelec.org/SaddledHometown

NG https://paste.coreelec/RoomieYvette

Baz

Please ask there for help as this driver is used: GitHub - lwfinger/rtw88: A backport of the Realtek Wifi 5 drivers from the wireless-next repo.

Thx, driver works. Wifi + BT is working on BuzzTV HD5. So the driver will be inlcuded with tomorrow nigthly.

You will still need to set the wifi node in your DT:

&sd_emmc_a {
	brcmf: wifi@1 {
		compatible = "sprd,unisoc-wifi";
	};
};
1 Like

NE 21 work wifi & BT

dmesg | paste

https://paste.coreelec.org/PlummerGarage

udevadm info /sys/bus/sdio/devices/* | paste

https://paste.coreelec.org/ToxicLongest

lsusb | paste

https://paste.coreelec.org/ApproachSlaves

NO 22.0-Piers_nightly_20251127 not work wifi, not work BT

dmesg | paste

https://paste.coreelec.org/DougieGrubbing

udevadm info /sys/bus/sdio/devices/* | paste
Unknown device “/sys/bus/sdio/devices/*”: No such device

https://paste.coreelec.org/EmptyPaste

lsusb | paste

https://paste.coreelec.org/StrokesMisses

Try with this image:

And make a dmesg | paste log please.

Thx.

https://paste.coreelec.org/OccasionWastin

Nothing. Best is to emable tmate and we can more easy solve the issue:

I left it just as it appears on the wiki, but I just activated the second line.

Yes, now it is available. Leave it on and Portisch will look tomorrow.

OK. Thanks.