-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My phone can't find the sink #453
Comments
when miracle-wifid and miracle-sinkctl are running in two terminals,I run sudo miracle-wifictl in the third terminal,then connect ae:92:32:a4:f2:be@3,my mate 20 can show miracle device,but when i click this device,mate 20 shows connection failed |
The config for normal wifi is not compatible woth wifi-direct. There's a issue for this #75 but still not completed. From your logs, looks you never start to share the screen from your phone. You need to find something like screensharing and select the sink (should be "miracle" if you don't change anything) |
I think My Mate 20 will show the sink(named miracle) ,but it‘’s always searching |
logs(1).zip |
logs are the same again. Nothing starts the group negotiation. It should be just phone finding your laptop available like (I guess you have a huawei mate 20): https://youtu.be/U-lhrPnsoIk?t=76 (min 1:16) Basically you need your phone send a:
But I'm unsure about details on huawei, why it do not detect miraclecast. I just can say I have a huawei p10 time ago and it works perfectly. if you can collect logs from phone (probably you would need root) Just try several times, people report somehow finally phone decide to work. Closing from our side (there's no clue for us on why phone do not detect miraclecast) |
Thanks for your suggestions I think the wifi dongle is ok, because I can mirror my phone(mate 20) to miracast of Win10 I don't know why mate 20 can not find the miracle-sinkctl, but in the terminal of miracle-wifid, I run "connect ae:92:32:a4:f2:be@3", then mate 20 show a dialog to accept the connection or not, if I accept, the searching dialog will show a device "Miracle", I run "list", the CONNECTED state is still “no”,like
If I click this "Miracle",I hope it can mirror to Ubuntu20.04,unfortunately it's failed, so I'm confused I will try to use some other brand phones, maybe it works |
you mean miracle-wifictl? that is still not working see #4 As you said, if your phone do not find a target to share the screen you are not starting the sharing so that's why nothing happens |
Yes,in the terminal of miracle-wifictl, I run "connect ae:92:32:a4:f2:be@3", it should be a wrong usage Is miracle-wifictl only used as a source? If I want to mirror my phone to Ubuntu,I should only run miracle-wifid and miracle-sinkctl? Unfortunately,I try two other phones,Mi 8 and OPPO K1, both can not find sink too I don't know if the wifi dongle, rtl8192eu(TP-Link TL-WN821N) has some compatible problem, while it works on Windows10 |
miracle-wifid is a daemon, then miracle-sinkctl is a controller to use your laptop as sink (see other screen device) and miracle-wifictl is a controller to share your laptop screen in another device. Only the Connect part is implemented for miracle-wifictl If you can capture the windows10 comunications (with wireshark) we can see what is different on those implementations ( what is the miracast server on Windows 10 replying to your phone so It found the sink and launch a connection) |
I got the same phenomenon as you at Xiaomi 10,miraclecast was install at allwinner f133 with openwrt. |
The difference between the two phenomena is that when running Miracle cast on F133, the phone does not find "Miracle" when casting the screen, at the smae time, "P2P-DEVICE-FOUND 3a:80:b6:32:25:c6 p2p_dev_addr=3a:80:b6:32:25:c6 pri_dev_type=10-0050F204-5 name='Mi 10' config_methods=0x188 dev_capab=0x25 group_capab=0x0 new=1" is displayed on F133 console. |
I think this is your phone needing something else to accept miraclecast as sink. I think if you have configs that work you need to compare what is different in each of them: Huawei Mate 20 + raspberry pi works? Collect logs for support (see FAQ on Wiki) Something on |
Hello,
1)I use Ubuntu 20.04 and rtl8192eu(TP-Link TL-WN821N) usb dongle
2)test-viewer.sh and test-hardware-capabilities.sh are passed
3)I want to use my huawei mate 20 casting to linux os
4)my steps :
this step make me can not use WiFi (internet),I don't understand why should I stop the two services
those steps seem no problem,I think my phone should find this sink(Ubuntu 20.04),but no sink can be found
logs.zip
this is my log files
Thanks for your help
The text was updated successfully, but these errors were encountered: