Skip to content
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

Failure in the middle of connection #119

Closed
unoexperto opened this issue Aug 29, 2016 · 7 comments
Closed

Failure in the middle of connection #119

unoexperto opened this issue Aug 29, 2016 · 7 comments

Comments

@unoexperto
Copy link

Hey guys!

I'm trying to use miraclecast with Sony MP-CL1 projector. p2p-scan finds the devices. Projectors asks my permission of accept source and everything seems cool but in the middle of the process miraclecast control app shows DISCONNECT event. What could be the problem ?

I ran daemon with trace logging and here is what I got:

DEBUG: supplicant: p2p-scanning now active on wlp3s0 (supplicant_p2p_find_fn() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:1901)
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>P2P-DEVICE-FOUND 06:32:f4:02:6c:05 p2p_dev_addr=06:32:f4:02:6c:05 pri_dev_type=7-0050F204-1 name='MP-CL1' config_methods=0x88 dev_capab=0x25 group_capab=0x0 wfd_dev_info=0x01111c440032 vendor_elems=1 new=1
TRACE: wpa: raw message: <3>P2P-DEVICE-FOUND 06:32:f4:02:6c:05 p2p_dev_addr=06:32:f4:02:6c:05 pri_dev_type=7-0050F204-1 name='MP-CL1' config_methods=0x88 dev_capab=0x25 group_capab=0x0 wfd_dev_info=0x01111c440032 vendor_elems=1 new=1
DEBUG: peer: new peer: 06:32:f4:02:6c:05 @ wlp3s0 (peer_new() in /home/expert/miraclecast/src/wifi/wifid-peer.c:52)
INFO: peer: add peer: 06:32:f4:02:6c:05
DEBUG: peer: peer 06:32:f4:02:6c:05 @ wlp3s0 started (peer_supplicant_started() in /home/expert/miraclecast/src/wifi/wifid-peer.c:162)
DEBUG: supplicant: requesting data for new peer 06:32:f4:02:6c:05 (supplicant_event_p2p_device_found() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:962)
TRACE: wpa: raw message: 06:32:f4:02:6c:05
pri_dev_type=7-0050F204-1
device_name=MP-CL1
manufacturer= 
model_name= 
model_number= 
serial_number= 
config_methods=0x88
dev_capab=0x25
group_capab=0x0
level=-49
age=2
listen_freq=2462
wps_method=not-ready
interface_addr=00:00:00:00:00:00
member_in_go_dev=00:00:00:00:00:00
member_in_go_iface=00:00:00:00:00:00
go_neg_req_sent=0
go_state=unknown
dialog_token=0
intended_addr=00:00:00:00:00:00
country=__
oper_freq=0
req_config_methods=0x0
flags=[REPORTED]
status=0
invitation_reqs=0
wfd_subelems=00000601111c440032
vendor_elems=dd09001018020000000000

TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-STARTED 
DEBUG: supplicant: connect to 06:32:f4:02:6c:05 via pbc/(null) (supplicant_peer_connect() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:739)
TRACE: wpa: raw message: <3>P2P-FIND-STOPPED 
TRACE: wpa: raw message: <3>P2P-FIND-STOPPED 
DEBUG: supplicant: p2p-scanning stopped on wlp3s0 (supplicant_event_p2p_find_stopped() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:904)
TRACE: wpa: raw message: OK

TRACE: wpa: raw message: <3>P2P-GO-NEG-SUCCESS role=client freq=2437 ht40=0 peer_dev=06:32:f4:02:6c:05 peer_iface=06:32:f4:02:ec:05 wps_method=PBC
TRACE: wpa: raw message: <3>P2P-GO-NEG-SUCCESS role=client freq=2437 ht40=0 peer_dev=06:32:f4:02:6c:05 peer_iface=06:32:f4:02:ec:05 wps_method=PBC
DEBUG: supplicant: set STA-MAC for 06:32:f4:02:6c:05 from <none> to 06:32:f4:02:ec:05 (via GO-NEG-SUCCESS) (supplicant_event_p2p_go_neg_success() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:1195)
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-SCAN-RESULTS 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-RESULTS 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-RESULTS 
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 0 f0:3e:90:23:dc:98
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 1 f0:3e:90:22:68:48
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 2 f0:3e:90:24:0b:a8
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 3 f0:3e:90:23:dc:c8
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 4 62:67:f0:38:55:d8
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 5 f0:3e:90:23:ee:38
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 6 f0:3e:90:23:e2:58
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 7 f0:3e:90:2b:bf:b8
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 8 f0:3e:90:63:dc:98
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 9 f0:3e:90:62:68:48
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 10 f0:3e:90:64:0b:a8
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 11 f0:3e:90:63:dc:c8
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 12 f0:3e:90:63:ee:38
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 13 f0:3e:90:63:e2:58
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-BSS-ADDED 14 f0:3e:90:6b:bf:b8
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-SCAN-RESULTS 
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-SCAN-RESULTS 
TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-SCAN-RESULTS 
TRACE: wpa: raw message: <3>CTRL-EVENT-SCAN-RESULTS 
TRACE: wpa: raw message: IFNAME=wlp3s0 <3>CTRL-EVENT-SCAN-RESULTS 
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-SCAN-STARTED 
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-BSS-ADDED 0 06:32:f4:02:ec:05
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-SCAN-RESULTS 
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>WPS-AP-AVAILABLE-PBC 
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>SME: Trying to authenticate with 06:32:f4:02:ec:05 (SSID='DIRECT-F2-MP-CL1 ' freq=2437 MHz)
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>Trying to associate with 06:32:f4:02:ec:05 (SSID='DIRECT-F2-MP-CL1 ' freq=2437 MHz)
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>Associated with 06:32:f4:02:ec:05
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-EAP-STARTED EAP authentication started
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-EAP-STATUS status='started' parameter=''
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=1
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-EAP-STATUS status='accept proposed method' parameter='WSC'
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-EAP-METHOD EAP vendor 14122 method 1 (WSC) selected
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>WPS-CRED-RECEIVED 
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>WPS-SUCCESS 
TRACE: wpa: raw message: <3>P2P-GROUP-FORMATION-SUCCESS 
TRACE: wpa: raw message: <3>P2P-GROUP-FORMATION-SUCCESS 
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-EAP-STATUS status='completion' parameter='failure'
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-EAP-FAILURE EAP authentication failed
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-DISCONNECTED bssid=06:32:f4:02:ec:05 reason=3 locally_generated=1
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>SME: Trying to authenticate with 06:32:f4:02:ec:05 (SSID='DIRECT-F2-MP-CL1 ' freq=2437 MHz)
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>Trying to associate with 06:32:f4:02:ec:05 (SSID='DIRECT-F2-MP-CL1 ' freq=2437 MHz)
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>Associated with 06:32:f4:02:ec:05
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>WPA: Key negotiation completed with 06:32:f4:02:ec:05 [PTK=CCMP GTK=CCMP]
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-CONNECTED - Connection to 06:32:f4:02:ec:05 completed [id=0 id_str=]
TRACE: wpa: raw message: <3>P2P-GROUP-STARTED p2p-wlp3s0-0 client ssid="DIRECT-F2-MP-CL1 " freq=2437 psk=4990864ae685fcb92d58b6584663e0737cdba1994bd0908096085a316ecf0d09 go_dev_addr=06:32:f4:02:6c:05 [PERSISTENT]
TRACE: wpa: raw message: <3>P2P-GROUP-STARTED p2p-wlp3s0-0 client ssid="DIRECT-F2-MP-CL1 " freq=2437 psk=4990864ae685fcb92d58b6584663e0737cdba1994bd0908096085a316ecf0d09 go_dev_addr=06:32:f4:02:6c:05 [PERSISTENT]
DEBUG: supplicant: ssid: DIRECT-F2-MP-CL1  (supplicant_event_p2p_group_started() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:1220)
DEBUG: supplicant: new group: p2p-wlp3s0-0 (supplicant_group_new() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:489)
DEBUG: supplicant: start remote group on new group p2p-wlp3s0-0 as client/0 (supplicant_event_p2p_group_started() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:1255)
DEBUG: supplicant: dhcp-comm-p2p-wlp3s0-0: L:192.168.49.20 (supplicant_group_comm_fn() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:254)
DEBUG: supplicant: dhcp-comm-p2p-wlp3s0-0: S:255.255.255.0 (supplicant_group_comm_fn() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:254)
DEBUG: supplicant: dhcp-comm-p2p-wlp3s0-0: D:192.168.49.1 (supplicant_group_comm_fn() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:254)
DEBUG: supplicant: dhcp-comm-p2p-wlp3s0-0: G:192.168.49.1 (supplicant_group_comm_fn() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:254)
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-DISCONNECTED bssid=06:32:f4:02:ec:05 reason=3
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-DISCONNECTED bssid=06:32:f4:02:ec:05 reason=3 locally_generated=1
TRACE: wpa: raw message: <3>P2P-GROUP-REMOVED p2p-wlp3s0-0 client reason=GO_ENDING_SESSION
TRACE: wpa: raw message: <3>P2P-GROUP-REMOVED p2p-wlp3s0-0 client reason=GO_ENDING_SESSION
DEBUG: supplicant: remove group p2p-wlp3s0-0 (supplicant_event_p2p_group_removed() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:1291)
DEBUG: supplicant: free group p2p-wlp3s0-0 (supplicant_group_free() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:174)
DEBUG: supplicant: killing DHCP-process pid:12301.. (supplicant_group_free() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:198)
DEBUG: caught SIGCHLD for 12301, reaping child (manager_signal_fn() in /home/expert/miraclecast/src/wifi/wifid.c:174)
TRACE: wpa: raw message: IFNAME=p2p-wlp3s0-0 <3>CTRL-EVENT-BSS-REMOVED 0 06:32:f4:02:ec:05
TRACE: wpa: raw message: FAIL

TRACE: wpa: raw message: IFNAME=p2p-dev-wlp3s0 <3>CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
TRACE: wpa: raw message: <3>CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
DEBUG: supplicant: unhandled wpas-event: <3>CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD (supplicant_event() in /home/expert/miraclecast/src/wifi/wifid-supplicant.c:1483)

@albfan
Copy link
Owner

albfan commented Aug 29, 2016

Did you check if you did installed all required plugins with res/test-viewer.sh?

If you did, as long as both devices are connected, daemon work is done, so post here output from miracle-sinkctl --log-level trace to see miracast protocol messages interchange between both devices from sink controller

@unoexperto
Copy link
Author

Running apt-get install gstreamer1.0-plugins-bad helped installing missing plugins. test-viewer output now is

testing plugins required:

test udpsrc... (passed)
test rtpjitterbuffer... (passed)
test rtpmp2tdepay... (passed)
test tsdemux... (passed)
test h264parse... (passed)
test avdec_h264... (passed)
test autovideosink... (passed)

everything installed

but it didn't help me with connection laptop with the projector. Connection is broken in the middle of handshake.

Could you please clarify why I need to see output of miracle-sinkctl ? My understanding was that miracle-sinkctl is used when I want to receive miracast stream on my laptop (thus using it as display) not vise versa.

@midi1996
Copy link

Apparently, miraclecast cant cast the av source automatically, however it works on android or other miraclecast devices manually.
Check this one #4

@unoexperto
Copy link
Author

@midi1996 Does it mean I should catch the moment in the middle co connection to start streaming manually?

@albfan
Copy link
Owner

albfan commented Sep 1, 2016

Yes that's just a Q&D (DIY) at this time

@unoexperto
Copy link
Author

Wow, that's sad :(

@albfan
Copy link
Owner

albfan commented Sep 7, 2016

Can you close this then? Your interest is on #4 right?

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

No branches or pull requests

3 participants