Skip to content

Ps4 linux 6.15.y#10

Open
kridency wants to merge 26 commits into
crashniels:ps4-linux-6.15.yfrom
kridency:ps4-linux-6.15.y
Open

Ps4 linux 6.15.y#10
kridency wants to merge 26 commits into
crashniels:ps4-linux-6.15.yfrom
kridency:ps4-linux-6.15.y

Conversation

@kridency

Copy link
Copy Markdown

Contribute for those appliances that utilize MT7668s chip.

@crashniels

Copy link
Copy Markdown
Owner

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

@kridency

kridency commented Jul 10, 2025

Copy link
Copy Markdown
Author

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
Copy Markdown
Owner

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

@kridency

kridency commented Jul 10, 2025

Copy link
Copy Markdown
Author

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
Copy Markdown
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
Copy Markdown
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

kridency commented Jul 18, 2025

Copy link
Copy Markdown
Author

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

@kridency

kridency commented Aug 28, 2025

Copy link
Copy Markdown
Author

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

@kridency

kridency commented May 26, 2026

Copy link
Copy Markdown
Author

For the record. Bluetooth works. WiFi works only under systemd-networkd. NetworkManager for some reason sends deauth packet right after association.

Update: Wifi works. Prior to the STA connection the AP has to be turned off.

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