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

Compatibility Windows 10 Universal (Windows 10 Iot Core) #130

Closed
marnixcox opened this issue Aug 20, 2015 · 12 comments
Closed

Compatibility Windows 10 Universal (Windows 10 Iot Core) #130

marnixcox opened this issue Aug 20, 2015 · 12 comments

Comments

@marnixcox
Copy link

SetupDiGetClassDevs is only supported on Windows 10 Desktop.

For Windows 10 Universal (Windows 10 Iot Core -> Raspberry Pi) CM_Get_Device_ID_List / CM_Get_Device_Interface_List needs to be used.

https://msdn.microsoft.com/zh-tw/library/windows/hardware/ff551069(v=vs.85).aspx

@opdenkamp
Copy link
Contributor

oh lovely, it looks like the two may not be compatible with each other.

SetupDiGetClassDevs function
Target platform: Desktop
For universal, call CM_Get_Device_ID_List
For universal, call CM_Get_Device_Interface_List
CM_Get_Device_Interface_List function
Remarks: Use SetupDiGetClassDevs instead of CM_Get_Device_Interface_List
Target platform: Universal

opdenkamp added a commit that referenced this issue Nov 27, 2015
@opdenkamp
Copy link
Contributor

luckily they are compatible, but I haven't found out how to read the registry key with the com port yet with one of the CM_* methods

@opdenkamp
Copy link
Contributor

this is going to be something for the next major update

@davidGoff
Copy link

Hello,
I'm a bit lost with these comments about windows iot.
Is there a work around to use libcec on this os? if not do you know if it is planned in a near future?

I'm a C# dev with no specific knowledge in CEC, but I'll be glad to help you if there is something to test/ adapt.

Best regards,
David

@opdenkamp
Copy link
Contributor

I've replaced a couple of the winapi calls by the iot core compatible ones, but I couldn't find a method to read the registry entry that contains the com port that the system allocated for the device that's compatible with iot core when I looked at it earlier. That's in the C++ part: https://github.com/Pulse-Eight/libcec/blob/master/src/libcec/adapter/Pulse-Eight/USBCECAdapterDetection.cpp

I'll look into it before the next major update, but I can't give an ETA on that one at this time.

@AndreaSpan
Copy link

Hi,

Anything new about using libcec on Windows 10 Universal (Windows 10 Iot Core)?

Thank you!

@DaveVoyles
Copy link

Following along, because I'd love to get this working on Win 10 IoT as well.

@naice
Copy link

naice commented Oct 20, 2016

Also following. My MagicMirror is in Heavy need of switching On/Off its display.

https://www.hackster.io/Emmuss/magicmirror-cb222b

@gerritsen
Copy link

Any news on this? Waiting a long time on it. Hope it will be fixed soon!

@jacobp85
Copy link

Any ETA?

@opdenkamp
Copy link
Contributor

Sorry, we haven't had time for this yet. It's a not a bug, but more like supporting a new operating system in this case.

@opdenkamp
Copy link
Contributor

.net core / uwp is now supported in master. it will be included in the next release.
we only provide installers for x86/x64 on Windows. I haven't looked at cross compiling for ARM yet

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

No branches or pull requests

8 participants