intel / wds

Wireless Display Software For Linux OS (WDS)
https://01.org/wds
GNU Lesser General Public License v2.1
511 stars 104 forks source link

Missing P2P support #173

Open MrMEEE opened 7 years ago

MrMEEE commented 7 years ago

Hi..

Following the Readme I get:

mj@falcon ~/Hentede filer/wds-master/connman/usr/sbin $ sudo ./connmanctl connmanctl> enable wifi Enabled wifi connmanctl> enable p2p Error p2p: Method "SetProperty" with signature "sv" on interface "net.connman.Technology" doesn't exist

connmanctl>

Info:

mj@falcon ~/Hentede filer/wds-master/connman/usr/sbin $ wpa_supplicant -v wpa_supplicant v2.4 Copyright (c) 2003-2015, Jouni Malinen j@w1.fi and contributors

mj@falcon ~/Hentede filer/wds-master/connman/usr/sbin $ ./connmand -v 1.32

mj@falcon ~/Download/wpa-2.4 $ lspci 00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09) 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09) 00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03) 00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03) 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (3) I218-LM (rev 03) 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 (rev e3) 00:1c.1 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3) 00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03) 00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03) 00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03) 00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03) 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01) 03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 99)

Any ideas???

Logfiles:

supplicant.txt connmand.txt

jku commented 7 years ago
connmanctl> enable wifi
Enabled wifi
connmanctl> enable p2p
Error p2p: Method "SetProperty" with signature "sv" on interface "net.connman.Technology" doesn't exist

There's a bug in connmanctl that makes this error message weird: what I think it's trying to say is that technology 'p2p' does not exist -- connman thinks there's no support for Wifi-P2P. What should happen is that after "enable wifi" a new technology with path /net/connman/technology/p2p is created, you can check that with "technologies" in connmanctl.

You might get better help from connman folks, my expertise is pretty limited...

I did do a quick check on a build with connman 1.33, supplicant 2.6 on a NUC with intel 8260 wifi : "enable p2p" works fine.

MrMEEE commented 7 years ago

Ok.. I got a step further... after compiling supplicant 2.6 from source, I was able to enable p2p...

Now I can scan and detect my device:

connmanctl> scan p2p connmanctl> peers DOOGEE_P1_BOkJ70 idle peer_185e0f6a2700_e276d08f5479 Scan completed for p2p connmanctl> agent on Agent registered

I can the run the test script:

mj@falcon ~/Hentede filer/wds-master/desktop_source $ sudo ./desktop-source-test

I then get: Agent RequestPeerAuthorization peer_185e0f6a2700_e276d08f5479 WPS = [ Type=wpspin, Requirement=mandatory ] Scan completed for p2p WPS PIN (empty line for pushbutton)?

in connmanctl...

if I just press enter, the screen turns black on the projector... and nothing happens...

after some time I get:

Agent ReportPeerError peer_185e0f6a2700_e276d08f5479 connect-failed connmanctl> Retry (yes/no)?

Any ideas???

MrMEEE commented 7 years ago

When I press enter I get:

mj@falcon ~/Hentede filer/wds-master/desktop_source $ sudo ./desktop-source-test

MrMEEE commented 7 years ago

Log files

wpa26.txt connman133.txt

jku commented 7 years ago

What is your sink device? another machine running WDS sink-test or some actual product?

In any case, screen going black (and the connection from 192.168.49.1) suggests the Wifi-p2p part is now succeeding (you mentioned an error message but I'm guessing that was a different test). You should look at the miracast (RTSP) negotiation and any debug output next: I admit I no longer remember how to enable the debug output... "G_MESSAGES_DEBUG=rtsp" might get you the network messages.

MrMEEE commented 7 years ago

I'm trying to connect to a mini-projector (Doogee P1)...

G_MESSAGES_DEBUG=all sudo ./desktop-source-test

Nothing??

MrMEEE commented 7 years ago

Ok..

./desktop-source-test --gst-debug-level=9

gives alot of info.. can't really find any errors....

Logfile is available here: http://martin-juhl.dk/wds/log.txt.gz

MrMEEE commented 7 years ago

@jku Any ideas??

MrMEEE commented 7 years ago

One thought is that it might be the wrong resolution for the stream that causes the problem... the projector only supports upto 840x400...

Any way to change the format of the stream???

varun-dhar commented 4 years ago

I am also having this problem enabling p2p from connmanctl, any solution?