New Order: Looking for users with no working WiFi or BT

In LibreElec I tested this driver on this box:

After changing the max-frequency to 40M, it worked fine with kernel 6.x.
Maybe it will be suitable for kernel 5.15?

I will try it, thx. It require known fixes to compile so it should not be to hard.

And above: max-frequency = <0xa21fe80>?

So 170000000Hz, default is 200000000Hz. So I see no issue to decrease as it’s minimal.

These 40000000Hz are the result of tests I did on LE from the post #3 .
With the value set by the driver of 50MHz, the card was not detected.
The above are Amlogic-no tests for the driver from the post #19.

Please adopt the driver from LE, maybe my box is defective and that’s why I have to change the max-frequency.

Testing NO on Hk1 RBoxx4 SC2 S905X4

System sees as unknown messon amlogic…

Ethernet /Bluetooth both working
No Wifi

Here is log from NE latest nightly dec 18 5.4.210
With Ethernet/Wifi/Bluetooth all working

https://paste.coreelec.org/2HBZtM

Here s log from NO latest nightly dec 27 5.15.78
With Ethernet/Bluetooth working no Wifi

https://paste.coreelec.org/BVfP9A

Looks like i forgot to turn on debug logging :upside_down_face:
Oooops
Had to reread the wiki

Here are logs for

5.4.210

https://paste.coreelec.org/qh9BoW

5.15.78

https://paste.coreelec.org/kGLld2

@freddy Please try with this test version:

Realtek usb Wifi device working with latest NG build 28/12 not with NO

Device = Odroid N2 2gb
DMSEG (NG): https://paste.coreelec.org/n6jyOH
USB Wifi SoC (NG) : https://paste.coreelec.org/BqnkuO

You must post also dmesg | paste from Amlogic-no as it should be supported already by RTW88 driver.

Here is dmesg from Amologic - no

https://paste.coreelec.org/pKbVDz

CE picks up wifi connection initially then drops out. There is also no green light showing on wifi device when using NO. Cheerz

It’s a problem with sdio on g12a, I checked new compilations and the card doesn’t work.
This is what it looks like on the unmodified g12a_s905x2_2g .

[    7.460906] [extern_wifi_set_enable] WIFI  Enable! 482
[    7.786810] meson-gx-mmc ffe03000.sdio: card claims to support voltages below defined range
[    7.804745] meson-gx-mmc ffe03000.sdio: 52 [0xe00], TIMEOUT[0x2800]
[    7.804876] mmc2: error -110 whilst initialising SDIO card

In this case the driver does not load

When I reduce the max-frequency:

[    7.660602] meson-gx-mmc ffe03000.sdio: card claims to support voltages below defined range
[    7.676394] mmc2: new high speed SDIO card at address 0001

The driver loads and restarts the box.

With the changed dtb, the card works in amlogic-ng

This is what it looks like for LE:

[   10.903257] 8189fs: loading out-of-tree module taints kernel.
[   10.929181] RTW: module init start
[   10.929207] RTW: rtl8189fs v5.7.9_35795.20191128
[   10.929216] RTW: build time: Apr  7 2023 01:46:41
[   10.929283] RTW: rtw_inetaddr_notifier_register
[   10.929828] RTW: == SDIO Card Info ==
[   10.929840] RTW:   card: 00000000e7e34aa6
[   10.929849] RTW:   clock: 40000000 Hz
[   10.929857] RTW:   timing spec: sd high-speed
[   10.929876] RTW:   sd3_bus_mode: FALSE
[   10.929883] RTW:   func num: 1
[   10.929891] RTW:   func1: 000000009e793df0 (*)
[   10.929899] RTW: ================
[   10.929909] RTW: CHIP TYPE: RTL8188F
[   10.930278] RTW: rtw_hal_config_rftype RF_Type is 0 TotalTxPath is 1
[   10.930295] RTW: Chip Version Info: CHIP_8188F_Normal_Chip_SMIC_B_CUT_1T1R_RomVer(0)
[   10.930500] RTW: SetHwReg: hci_sus_state=1
[   10.932389] RTW: SetHwReg: bMacPwrCtrlOn=1
[   10.932409] RTW: SetHwReg: hci_sus_state=2
[   10.932732] RTW: sdio_power_on_check: val_mix:0x0000063f, res:0x0000063f
[   10.932745] RTW: sdio_power_on_check: 0x100 the result of cmd52 and cmd53 is the same.
[   10.932893] RTW: sdio_power_on_check: 0x1B8 test Pass.
[   10.932952] RTW: EEPROM type is E-FUSE
[   10.933334] RTW: hal_EfuseSwitchToBank: Efuse switch bank to 0
[   11.012676] RTW: hal_ReadEFuse_WiFi: data end at address=0x9a
[   11.012757] RTW: HW EFUSE

Then you will need to wait for new kernel as it have a g12a fix, not sure if it will help.

Still no wifi
Ethernet/Bluetooth all good

Here is debug log

https://paste.coreelec.org/Mato3P

Here is dmesg

https://paste.coreelec.org/S4XsbK

Here is udevadm

https://paste.coreelec.org/eMy47t

These are from test image

Please try again with this build:

Still no wifi

Here is dmesg

https://paste.coreelec.org/J9IyAl

Here also is dmesg from 5.4.210 nightly dec 28

https://paste.coreelec.org/CghASw

I think you will need to share the device for more debugging. Please ping me again in about 2 weeks about this issue.

1 Like

Hi, I used the latest NO nightly building and have problems connecting to bluetooth devices.
In settings bluetooth my device (a speaker) is showing up I can connect however, after a few seconds the connections is broken (no reply from device).

I use sm1_s905x3_4g_1gbit.dtb as dtb.img. My box is a x96 max+.
dmesg says:
https://paste.coreelec.org/K3IzmS

The same happened btw with the latest ng build.
some hints?

A post was merged into an existing topic: Looking for users with no working WiFi or BT

A95X F3 4/64 (sm1)
New Order: No wifi or BT.
NG: Wifi working, BT not working
Chip: MT7668
I believe BT side of driver is supported in mainline kernel since 5.1 or thereabouts.
Logs are in attached zip (cannot get CE
A95X_F3.zip (31.0 KB)
to produce paste urls - keep getting a message that ix.io is taking a break.

1 Like

A post was merged into an existing topic: Looking for users with no working WiFi or BT