Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Windows does not see device using libwds #174

Open
carlblakepmi opened this issue Jun 28, 2017 · 9 comments
Open

Windows does not see device using libwds #174

carlblakepmi opened this issue Jun 28, 2017 · 9 comments

Comments

@carlblakepmi
Copy link

I have libwds working on an Ubuntu 14.04 system. I can connect android devices to it and display their screens. However, windows doesn't see the device at all. What needs to be done so that windows will work with libwds? It seems to me that some additional subelements need to be added to the registration for the p2p client. Does this sound right?

@jku jku closed this as completed Jun 29, 2017
@jku
Copy link
Contributor

jku commented Jun 29, 2017

We have this as issue #70. If the issue is still the same I expect it's about missing parameters in RTSP messages.

@jku
Copy link
Contributor

jku commented Jun 29, 2017

Actually now I see you said the sink is not seen at all, reopening. Note that other people have had this working...

@jku
Copy link
Contributor

jku commented Jun 29, 2017

Please see the note in the end of https://github.com/01org/wds/wiki/Interoperability -- I remember sending patches for "television" chassis type to hostnamed but not sure if that and the connman change are committed... I would look for the code in connman and try to find out if it sets the correct device type.

@jku jku reopened this Jun 29, 2017
@carlblakepmi
Copy link
Author

carlblakepmi commented Jun 29, 2017 via email

@jku
Copy link
Contributor

jku commented Jun 30, 2017

I'm fairly certain WDS cannot set the device category -- it's controlled by connman. I just checked and connman does not support "television" at the moment so even modifying hostnamed would not be enough...

In your position I would build a version of connman that hard codes category and subcategory for testing: that way you could make sure this really is the issue you are seeing. See plugins/wifi.c::set_device_type() in connman source code.

Afterwards you can think of a real solution -- I have a vague recollection the systemd folks objected to a "television" form factor (see CHASSIS in "man machine-info" for currently accepted values). It's possible this needs to be fixed in connman level. They won't be exactly overjoyed if you suggest additional API though...

@carlblakepmi
Copy link
Author

carlblakepmi commented Jun 30, 2017 via email

@jku
Copy link
Contributor

jku commented Jul 2, 2017

From https://github.com/01org/wds/wiki/Interoperability

Microsoft Wireless Display will only respond to devices of specific device type. "television" (category 7, subcategory 1) is known to work for sinks

If I remember correctly, I found these values by evesdropping on 3rd party sink and Microsoft source, but all the possible values can be found in Wi-Fi P2P spec. It was a years ago so I could be wrong though.

@carlblakepmi
Copy link
Author

carlblakepmi commented Jul 3, 2017 via email

@carlblakepmi
Copy link
Author

I updated connman from V1.28 to V1.34 and now windows devices see my device as a display. I didn't have to make any other changes other than this.

It still won't connect, but at least it sees my device. During the connection sequence it doesn't seem to get to the point of establishing IP addresses.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants