Skip to content

Conversation

kridency
Copy link

Contribute for those appliances that utilize MT7668s chip.

@crashniels
Copy link
Owner

Hi. Did you test this? And also this is quite a bit of code.

@kridency
Copy link
Author

kridency commented Jul 10, 2025

Hi. I've only compiled it with these options :

CONFIG_MTK_COMBO=y CONFIG_MTK_COMBO_CHIP_MT7668=y CONFIG_MTK_COMBO_CHIP="MT7668" CONFIG_MTK_COMBO_PLAT_PATH="" CONFIG_MTK_COMBO_COMM=y CONFIG_MTK_COMBO_COMM_SDIO=y CONFIG_MTK_COMBO_COMM_NPWR=y CONFIG_MTK_COMBO_COMM_APO=y CONFIG_MTK_COMBO_BT_MT7668_SDIO=y CONFIG_MTK_COMBO_WIFI=y CONFIG_MTK_WIFI_DEVICE=y CONFIG_MTK_WAPI_SUPPORT=y CONFIG_MTK_WIFI_MCC_SUPPORT=y CONFIG_GPS=y CONFIG_MTK_GPS=y CONFIG_MTK_MERGE_INTERFACE_SUPPORT=y

Unfortunately right now have no reach of particular hardware. But previously i've been successfully using this driver on 5.3 kernel.

Edit: Oh, and additionally was forced to use following environment variables:

KCFLAGS="-Wno-incompatible-pointer-types -Wno-error=unused-const-variable -Wno-error=missing-prototypes"

@crashniels
Copy link
Owner

There is already a mainline driver here but I guess no one tried it yet.

@kridency
Copy link
Author

kridency commented Jul 10, 2025

There is already a mainline driver here but I guess no one tried it yet.

This is bluetooth driver only in connection with firmware - mt7668pr2h.bin.

@crashniels
Copy link
Owner

This still adds over a million lines of code. It would be best if it only added code from the card we have. CoreELEC already has a repo for this here.

…hed_setscheduler"

in order to have opportunity to compile drivers as kernel modules.
@kridency
Copy link
Author

This still adds over a million lines of code. It would be best if it only added code from the card we have. CoreELEC already has a repo for this here.

Well, I do not insist. The code in PR is just combo (uses single loaded firmware) driver not scattered drivers. Thought it matters for this chip as long it is 2in1 device.

@kridency
Copy link
Author

kridency commented Jul 18, 2025

Managed to get hands on PS4 Pro. Seems drivers work as intended.

@kridency
Copy link
Author

kridency commented Aug 28, 2025

Faced weird deadlock bug in distros using systemd NetworkManager. Further details are listed in the following issue - https://github.com/lwfinger/rtl8188eu/issues/386 . Came across easy fix, but I'm not certain if it is valid for other systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants