albfan / miraclecast

Connect external monitors to your system via Wifi-Display specification also known as Miracast
Other
3.81k stars 411 forks source link

wpa_supplicant or driver does not support P2P #475

Closed zlz3132 closed 9 months ago

zlz3132 commented 1 year ago

From the log,I saw:

WARNING: supplicant: wpa_supplicant or driver does not support P2P (supplicant_status_fn() in ../../../src/wifi/wifid-supplicant.c:1718)

review the code :

wpas_message_dict_read(reply, "p2p_state", 's', &p2p_state);

p2p_state return value is false

but i input cmd

./test-hardware-capabilities.sh 
wlan0 supports P2P

miracast-wifid.log

Ergus commented 9 months ago

Hi: Any progress on this? I am having EXACTLY the same problem.

albfan commented 9 months ago

to me looks like you didn't stop the current networkmanager, so wpa_supplicant didn't start the interface with P2P support.

the log attached is not enough

Closing until logs for support are added as wiki describes in fact