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

It would be useful.

But you can disable the internal adapter via SSH.

hciconfig -a

You can see.
For example

hci1 : Type: primary bus: UART
(internal adapter)

hci0 : Type: primary bus: USB
(dongle)

Shut down the internal.

hciconfig hci1 down

Check:

hciconfig -a

hci1:…DOWN (not up running)

Now connect your BT device in the CE bluetooth settings menu.
Next time you start the box the internal adapter will work again, but your BT device will not connect to it.

Check:

bluetoothctl

hci0 your-BT-device-MAC-address

Thanks

Do you think, if I put this in Autoconfig:-

sleep 5 # wait for the Bluetooth service to run at boot
hciconfig hci1 down # disable the internal Bluetooth controller

Would the non ssh option, Coreelec Bluetooth menu work to add/remove Bluetooth devices on the USB Bluetooth receiver?

I would expect you could disable this in the dtb so it never even gets detected.

But if you’re not already accustomed to modifying dtbs in this way then this isn’t a solution I can recommend.

Hi,
Is the aml/w2 driver missing from nightly build 20260318?

Dmesg doesn’t show anything about Wi-Fi, and lsmod doesn’t show the w2 module either.

https://paste.coreelec.org/FischerOptional

Linux version 5.15.196

Make dmesg | paste and udevadm info /sys/bus/sdio/devices/* | paste
and then downgrade to Index of /Amlogic-no/CE-22/20260314/
and make logs again.

EDIT:
On last nightly with kernel 5.15.196 try this DTB:
s4_s905w2_2g.dtb (68.2 KB)

dtb file from compilation:

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

CoreELEC

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

CoreELEC (official): 22.0-Piers_nightly_20260318 (Amlogic-no.aarch64)
Machine model: Amlogic
CoreELEC dt-id: s4_s905w2_2g
Linux version: 5.15.196 (docker@ed713eb608a4) #1 Wed Mar 18 01:29:18 IST 2026
Kodi compiled: 2026-03-18 01:36:58 +0100

CoreELEC:~ # udevadm info /sys/bus/sdio/devices/|paste
Unknown device "/sys/bus/sdio/devices/
": No such device

https://paste.coreelec.org/EmptyPaste

CoreELEC:~ # dmesg |paste

https://paste.coreelec.org/ScudderSends

dtb file from link:

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

CoreELEC

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

CoreELEC (official): 22.0-Piers_nightly_20260318 (Amlogic-no.aarch64)
Machine model: Amlogic
CoreELEC dt-id: s4_s905w2_2g
Linux version: 5.15.196 (docker@ed713eb608a4) #1 Wed Mar 18 01:29:18 IST 2026
Kodi compiled: 2026-03-18 01:36:58 +0100

CoreELEC:~ # udevadm info /sys/bus/sdio/devices/|paste
Unknown device "/sys/bus/sdio/devices/
": No such device

https://paste.coreelec.org/EmptyPaste

CoreELEC:~ # dmesg |paste

https://paste.coreelec.org/HicksPleasing

CoreELEC:~ #

night compilation 20260314:

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

CoreELEC

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

CoreELEC (official): 22.0-Piers_nightly_20260314 (Amlogic-no.aarch64)
Machine model: Amlogic
CoreELEC dt-id: s4_s905w2_2g
Linux version: 5.15.170 (docker@56adf6b3d8df) #1 Sat Mar 14 01:28:15 IST 2026
Kodi compiled: 2026-03-14 01:37:27 +0100

CoreELEC:~ # udevadm info /sys/bus/sdio/devices/*|paste

https://paste.coreelec.org/JerseyBacteria

CoreELEC:~ # dmesg |paste

https://paste.coreelec.org/StingsStudents

CoreELEC:~ #

fyi both of the times it states no such device you have a typo, you’re missing the asterisks *

compare to the 1 that worked

There are some changes in the driver what might cause this.

So best is to connect the device by LAN or LAN adapter and enable tmate sharing.
So I can try to fix the W1-Wifi again.

I turned on the tmate terminal.
I hope it works correctly.

Yes, works again. you can disable tmate, next nightly should work again.

editing the dtb.img, would this be persistent, as I am regularly updating to the latest nightly builds?

Hi mate
I am trying to find the best way to disable the internal bluetooth. you gave this as an option echo "blacklist your_module_name" >> /storage/.config/modprobe.d/blacklist.conf
when i run the lsmod cmd this is the relevent part of the responce-

8021q                  40960  0
hci_uart              172032  1
btqca                  28672  1 hci_uart
serdev                 32768  1 hci_uart
btusb                  69632  0
btrtl                  28672  1 btusb
btintel                49152  2 hci_uart,btusb
btbcm                  24576  2 hci_uart,btusb
bluetooth             876544  49 btrtl,btqca,btintel,hci_uart,btbcm,btusb,rfcomm
8852be               6762496  0
fusb302                32768  0
tcpm                   77824  1 fusb302
typec                  73728  1 tcpm
rtkm                   16384  1 8852be
mali_kbase           1310720  6
aml_erofs             147456  0
dm_mod                172032  22
nfsd                  585728  5
nfs_acl                20480  1 nfsd
nfnetlink              20480  1
autofs4                65536  0

Am i blacklisting ‘hci_uart’?
or the ‘btqca’,’serdev’?

It’s 8852be

Great Thanks :folded_hands:

I had a go at decompiling the dtb.img file on Win11 Ubuntu and disabled internal Bluetooth, then recompiled.

It worked but introduced annoying popups after reboot, asking yes/no for Bluetooth paring.

Is there a better way to edit the dtb.img file?

On CE image itself?

Btw: I’m working on a idea to list BT adapters under CE settings and select which one is enabled or disabled.

That’s exciting, thanks mate :+1:

Nightly build 20260413 has option to select which BT adapter is used in Kodi. Option is under BT settings. After the adapter is selected Kodi or whole device must be restarted. At least for now. The functionality still needs little adjustments but at least I hope it works as it should.

Thanks mate, tonight I will save my custom dbt.img file, replace with standard from package and give it a go.