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

GDBus.Error:net.connman.Error.InvalidArguments #160

Open zmoshansky opened 8 years ago

zmoshansky commented 8 years ago

Running sink/sink-test fails with GDBus.Error:net.connman.Error.InvalidArguments. Could you advise how one might begin to debug this issue?

System

Fedora 23 Wireless: Atheros AR9485 (ath9k) wpa_supplicant-2.4-7.fc23 connman-1.29-2.fc23

Pre-Run
$ sudo service NetworkManager stop
$ sudo service wpa_supplicant stop
$ sudo wpa_supplicant -ddt -u
$ sudo connmand -n -d

Activating WIFI, P2P, Scanning & Listing Peers in connmanctl all worked fine.

Logs
connmanctl> agent on
connmand[21558]: src/manager.c:register_agent() conn 0x564170be06c0
connmand[21558]: src/agent.c:connman_agent_register() sender :1.151 path /net/connman/connmanctl21580
connmand[21558]: src/agent.c:agent_ref_debug() 0x564170bf2790 ref 1 by src/agent.c:314:agent_create()
connmand[21558]: src/agent.c:connman_agent_register() agent :1.151
connmand[21558]: src/agent.c:set_default_agent() default agent set to :1.151 /net/connman/connmanctl21580
$ G_MESSAGES_DEBUG=all sink/sink-test
* Registering Wifi Display with IE 00000600111C440032
register error GDBus.Error:net.connman.Error.InvalidArguments: Invalid arguments
connmand[21558]: src/manager.c:get_technologies() 
connmand[21558]: src/manager.c:register_peer_service() 
connmand[21558]: src/peer_service.c:__connman_peer_service_register() owner :1.152 - spec 0x564170bfb3c4/length 9 - query (nil)/length 0 - version 0
connmand[21558]: plugins/wifi.c:peer_register_service() 
connmand[21558]: plugins/wifi.c:peer_register_wfd_service() 
connmand[21558]: plugins/wifi.c:register_wfd_service_cb() 
mszakm commented 8 years ago

Standard Fedora wpa_supplicant rpm is compiled without CONFIG_WIFI_DISPLAY=y. Try rebuild wpa_supplicant with CONFIG_WIFI_DISPLAY enabled.

jku commented 8 years ago

If that turns out to be the problem (and it seems likely), please file a bug with connman as well: the error message implies WDS gave invalid arguments to connman but that's not true, it's probably just an error message coming from supplicant telling connman that connman used invalid arguments.

mszakm commented 8 years ago

I had this gdbus error mesage using Fedora stock wpa_supplicant rpm. After recompiling rpm with CONFIG_WIFI_DISPLAY enabled error has gone.

aairey commented 7 years ago

Still an issue on Fedora 25.

@mszakm was a bug filed with connman about this?