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

My report on the testing of the new BT selection feature.

I dropped in the unmodified dtb.img file.

And removed the other custom commands to ensure only USB BT is available.

Installed today’s release of nightly build. Went to the services option in the CoreELEC menu, in the Default adapter I had 3 options 1 with no name, 2 with UART and MAC address, 3 USB MAC address.

Selected the third option, popup advised I needed to reboot. I did this, after reboot, I needed to put the UR02 into learning mode to re-connect the remote to the USB Bluetooth, trust and connect. UR2 works well, after additional reboots it continues to work.

However my Harmony Hub, which I had working very well, with my AI guided hack.

Programmed the hub back to the system, the connection is present and displays with gold star, lock and yes, It works great until a reboot. After reboot looking at Bluetooth the connection is present with a lock symbol. Press any hub button and a large Bluetooth overlay with a yes no message for accepting pairing, Selected yes, connect changes to yes, but press button connect is dropped again with 2 consecutive yes no overlays to pair and connect. Functionality is restored and kept after 3 Yes for pairing, untill the next reboot. Then pairing 3 times to restore functionality for the harmony hub.

I really like the new option, I think you have done a great job to get it to this point already.

Thanks for your work this far.

1 Like

Have edited and corrected my previous information about the harmony hub pairing

Hi everybody :slight_smile:

I just buy a X88 pro x5m box and try to install Coreelec with latest CE-NO available.

CoreELEC (official): 22.0-Piers_nightly_20260416 (Amlogic-no.aarch64)
Machine model: Amlogic
CoreELEC dt-id: s7d_s905x5m_4g_1gbit
Linux version: 5.15.196 (docker@9bc7b8c86cfd) #1 Thu Apr 16 01:28:29 IDT 2026
Kodi compiled: 2026-04-15 23:36:30 +0000

Wifi and BT are not available ( only Wired connection )

CoreELEC:~ # dmesg | paste
https://paste.coreelec.org/BowlingDoghouse

CoreELEC:~ # udevadm info /sys/bus/sdio/devices/* | paste
https://paste.coreelec.org/TabletsAbiding

How can I help you to make it work ? I found some previous message with same box and issue but no solution so far ?

You will connect your device by LAN and enable tmate and keep the device online until we get time to fix it.

1 Like

I don’t have a screen connected on it, so I activate tmate with :

echo -e ‘TMATE_INVITE=true\nTMATE_SSH_KEY=“User key”\nTMATE_USERNAME=“max3163”’ > /storage/.cache/services/tmate.conf
sc start tmate

Hope it work ?

1 Like

and offline again :frowning:

@max3163 please update with this image:
https://mega.nz/file/bSAkHLZb#D3NEcqTLsRaN3PtYPir6qAVVPswDsGuZTWwPl5zH7eA

New image instaled but still no Wifi :

##############################################

CoreELEC (community): 22.0-Piers_devel_20260421171436 (Amlogic-no.aarch64)
Machine model: Amlogic
CoreELEC dt-id: s7d_s905x5m_4g_1gbit
Linux version: 5.15.196 (portisch@ubuntu) #2 Tue Apr 21 15:20:54 CEST 2026
Kodi compiled: 2026-04-21 17:00:07 +0200

CoreELEC:~ # iw list
CoreELEC:~ #

tmate is open

@max3163 I updated with devel_20260422075851 and tmate is off again.

I don’t understand why the service crash on boot :

Apr 22 08:04:01 CoreELEC systemd\[1\]: Starting tmate.service... 
Apr 22 08:04:01 CoreELEC tmate-pre.sh\[676\]:   % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current 
Apr 22 08:04:01 CoreELEC tmate-pre.sh\[676\]:                                  Dload  Upload  Total   Spent   Left   Speed 
Apr 22 08:04:01 CoreELEC tmate-pre.sh\[676\]: \[124B blob data\] 
Apr 22 08:04:01 CoreELEC systemd\[1\]: Started tmate.service. 
Apr 22 08:04:01 CoreELEC sh\[690\]: To connect to the session locally, run: tmate -S /var/run/tmate.sock attach 
Apr 22 08:04:01 CoreELEC sh\[690\]: Using /var/run/tmate_id_ed25519_ce.pub for access control 
Apr 22 08:04:01 CoreELEC sh\[690\]: /var/run/tmate_id_ed25519_ce.pub: No such file or directory 
Apr 22 08:04:01 CoreELEC systemd\[1\]: tmate.service: Main process exited, code=exited, status=1/FAILURE 
Apr 22 08:04:01 CoreELEC systemd\[1\]: tmate.service: Failed with result 'exit-code'.

Manually, second time, it’s OK… tmate is online now.

And the Wifi is still not present btw.

/var/run/tmate_id_ed25519_ce.pub: No such file or directory

This file is downloaded which means when service is started there is no network.

I checked it with 5.15.170 kernel and it’s same.
Looks like you got a box with new hardware:

R: 1
J: +sdio:mmc2:0001:1
U: sdio
E: DEVPATH=/devices/platform/soc/fe088000.sdio/mmc_host/mmc2/mmc2:0001/mmc2:0001:1
E: OF_NAME=wifi
E: OF_FULLNAME=/soc/sdio@fe088000/wifi@1
E: OF_COMPATIBLE_0=brcm,bcm4329-fmac
E: OF_COMPATIBLE_N=1
E: SDIO_CLASS=00
E: SDIO_ID=1FFE:6621
E: SDIO_REVISION=0.0
E: MODALIAS=sdio:c00v1FFEd6621
E: SUBSYSTEM=sdio
E: USEC_INITIALIZED=5789293
E: ID_SDIO_CLASS_FROM_DATABASE=Non-standard SDIO interface

We use this driver but it looks like not working anymore. Contact your vendor and ask for the correct driver source of the EA6X21QX chip.

We support only the one with the sdio id 0000:0000.

I bought the box on Aliexpress and as expected when I send a message for a driver to the vendor he answer :

Current, we have only the firmware for the product, do you need it ?

Not sure if my issue goes to this topic. I’ve got Ugoos X5M Pro. Successfully install 22.0-Piers_alpha3 but have strange issue with remote which is UR02. It can be paired over BT and works until reboot.

I would like to point out that remote is able to wake up device so IR looks normal. But after power up BT connections section lists UR02 as not connected and when I try to connect Kodi hangs out for a little and then reply Bluetooth error “did not receive reply“. The only solution that works is delete and re-pair remote once again.

Same thing happens to occur if I just pair remote and left it unattended for a while.

I tried this remote with X4Q Pro on CoreElec 21.3-ng and remote works after reboot and BT connections section lists UR02 as connected so my guess there is something specific to X5M.

Would be glad to provide any additional information to debug the issue.

mt7668 bluetooth not working.

#> hciconfig
hci0:	Type: Primary  Bus: SDIO
	BD Address: 40:8C:4C:CC:D1:0B  ACL MTU: 1021:8  SCO MTU: 244:4
	DOWN 
	RX bytes:0 acl:0 sco:0 events:42 errors:0
	TX bytes:0 acl:0 sco:0 commands:0 errors:0
#> hciconfig hci0 up
Can't init device hci0: Invalid request code (56)
#> dmesg
[  154.420079] File 'dut_mode' in directory 'hci0' already present!

I compared the dmesg from NG and it is exactly the same except in NO there is this last log:

hci0: unexpected event for opcode 0xfcd1

The hic0 is stuck in DOWN state and cannot go up.

I gathered kernel logs with debug logs enabled for bluetooth. This unexpected event for opcode log I think is not really relevant. More important is this:

[   60.980357] hci0
[   60.980372] hci0 Event packet
[   60.980382] hci0 opcode 0x2031
[   60.980390] opcode 0x2031 status 0x01
[   60.980396] hci0 opcode 0x2031
[   60.980404] hci0: result 0x01
[   60.980433] hci0: end: err -56
[   60.980478] hdev hci0 event 8

ce21.bt-core.debug.log (202.5 KB)
ce22.bt-core.debug.log (80.4 KB)

Yeah, so commenting out this:

    /* Set Default PHY parameters if command is supported */
    if (hdev->commands[35] & 0x20) {
        struct hci_cp_le_set_default_phy cp;

        cp.all_phys = 0x00;
        cp.tx_phys = hdev->le_tx_def_phys;
        cp.rx_phys = hdev->le_rx_def_phys;

        hci_req_add(req, HCI_OP_LE_SET_DEFAULT_PHY, sizeof(cp), &cp);
    }

in kernel net/bluetooth/hci_core.c fix the adapter DOWN state.
So it seems like the mt7668 report it support HCI_OP_LE_SET_DEFAULT_PHY but does not.
I will do some more tests to see if this fix does not brake other things.

A post was merged into an existing topic: Amlogic-NO discussion

Dear Portisch, could you help me make my box’s LAN (and wifi and BT) work under CE22?

  1. Tried lasted available Nightly build? Yes (20260504)
  2. Device used? X99 Max+ S905X3
  3. Wifi/BT is working by using Amlogic-ng? Yes (21.3 Omega) (and LAN)
    I couldn’t provide dmesg log:
CoreELEC:~ # dmesg | paste
cURL error: (28), Operation timed out after 20001 milliseconds with 0 bytes received
  1. SDIO Wifi SoC
E: ID_VENDOR_FROM_DATABASE=Broadcom Corp.
E: ID_MODEL_FROM_DATABASE=BCM4335/BCM4339 WLAN card

LAN

CoreELEC:~ # ls -l /sys/class/net/eth0/device/driver
lrwxrwxrwx    1 root     root             0 May 11 06:57 /sys/class/net/eth0/device/driver -> ../../../bus/platform/drivers/meson6-dwmac

Thank you very much in advance.

This “old” chip is not supported by newer drivers anymore, therefor no Wifi anymore.

The main issue is there does no firmware exist for newer drivers - at least I did not found one be compatible with kernel 5.15 or higher.

1 Like

Thank you.
So no Wifi and BT. Not important for me.
LAN is also problem?
Wifi+LAN same chipset?