home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Hardware
Ambient Lighting System
AtmoWakeHelper - 1.00 - Solution for auto COM reconnect on sleep/resume
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rick164" data-source="post: 1083765" data-attributes="member: 17766"><p>Problem is most likely that Windows doesn't wake the COM device correctly after sleep so even if Atmowin would close the COM port correctly it still wouldn't work, only thing that worked for me was to use an external solution to re-attach the COM device (usbdeview.exe).</p><p></p><p>Will take a look at the Atmowin code today and see if the same can be done in C++, only problem might be that we need a clean way to let Atmowin re-connect the COM device and with the vanilla code there wasn't any.</p><p></p><p>/Edit: in C++ there's WM_POWERBROADCAST:</p><p></p><p><a href="http://msdn.microsoft.com/en-us/library/aa373247%28v=vs.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/aa373247(v=vs.85).aspx</a></p><p></p><p>Atmowin fails to compile here because I need to get new external libs for it, gonna take a bit of effort to get the environment working.</p></blockquote><p></p>
[QUOTE="Rick164, post: 1083765, member: 17766"] Problem is most likely that Windows doesn't wake the COM device correctly after sleep so even if Atmowin would close the COM port correctly it still wouldn't work, only thing that worked for me was to use an external solution to re-attach the COM device (usbdeview.exe). Will take a look at the Atmowin code today and see if the same can be done in C++, only problem might be that we need a clean way to let Atmowin re-connect the COM device and with the vanilla code there wasn't any. /Edit: in C++ there's WM_POWERBROADCAST: [URL='http://msdn.microsoft.com/en-us/library/aa373247%28v=vs.85%29.aspx']http://msdn.microsoft.com/en-us/library/aa373247(v=vs.85).aspx[/URL] Atmowin fails to compile here because I need to get new external libs for it, gonna take a bit of effort to get the environment working. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Ambient Lighting System
AtmoWakeHelper - 1.00 - Solution for auto COM reconnect on sleep/resume
Contact us
RSS
Top
Bottom