|
From: Rootbrian <roo...@ao...> - 2021-05-05 18:23:57
|
<html><head><style id="outgoing-font-settings">#response_container_BBPPID{font-family: initial; font-size:initial; color: initial;}</style></head><body style="background-color: rgb(255, 255, 255); background-image: initial; line-height: initial;"><div id="response_container_BBPPID" style="outline:none;" dir="auto" contenteditable="false"> <div name="BB10" id="BB10_response_div_BBPPID" dir="auto" style="width:100%;"> The simplest solution would be to disable <b>USB Selective Suspend</b> in the power control panel item.</div> <div name="BB10" id="response_div_spacer_BBPPID" dir="auto" style="width:100%;"> <br style="display:initial"></div> <div id="blackberry_signature_BBPPID" name="BB10" dir="auto"> <div id="_signaturePlaceholder_BBPPID" name="BB10" dir="auto"><p dir="ltr">Sent from my BlackBerry key2 LE on freedom mobile 3G/LTE</p></div> </div></div><div id="_original_msg_header_BBPPID" dir="auto"> <table width="100%" style="border-spacing: 0px; display: table; outline: none;" contenteditable="false"><tbody><tr><td colspan="2" style="padding: initial; font-size: initial; text-align: initial;"> <div style="border-right: none; border-bottom: none; border-left: none; border-image: initial; border-top: 1pt solid rgb(181, 196, 223); padding: 3pt 0in 0in; font-family: Tahoma, "BB Alpha Sans", "Slate Pro"; font-size: 10pt;"> <div id="from"><b>From:</b> ja...@fl...</div><div id="sent"><b>Sent:</b> May 5, 2021 7:38 AM</div><div id="to"><b>To:</b> fli...@li...</div><div id="reply_to"><b>Reply to:</b> fli...@li...</div><div id="subject"><b>Subject:</b> Re: [Flightgear-devel] Solution approach Saitek/Logitech Panels in Windows Registry</div></div></td></tr></tbody></table> <br> </div><!--start of _originalContent --><div name="BB10" dir="auto" style="background-image: initial; line-height: initial; outline: none;" contenteditable="false"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 5 May 2021, at 12:05, Pfeffer <<a href="mailto:pr...@ro..." class="">pr...@ro...</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p style="font-family:'helvetica';font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">finally the Saitek/Logitech radio and multi panels work reliable in Windows :-)</p><p style="font-family:'helvetica';font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">The problem is "Enhanced Power Management" - when disabled in the Windows registry the displays of the panels work reliable.</p><p style="font-family:'helvetica';font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">There is a Windows PowerShell skript that does it:<span class="Apple-converted-space"> </span><br class=""></p><p style="font-family:'helvetica';font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><a class="moz-txt-link-freetext" href="https://github.com/FKLaben/SaitekLogitechPanelFixer">https://github.com/FKLaben/SaitekLogitechPanelFixer</a></p><p style="font-family:'helvetica';font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">It sets "<span class="pl-s">EnhancedPowerManagementEnabled" in<span class="Apple-converted-space"> </span></span>"<span class="pl-s">HKLM:\SYSTEM\CurrentControlSet\Enum\USB\<span class="pl-pds">"</span></span><span class="pl-k">+</span><span class="Apple-converted-space"> </span><span class="pl-smi">$device</span><span class="Apple-converted-space"> </span><span class="pl-k">+</span><span class="pl-s"><span class="pl-pds">"</span>\*\Device Parameters<span class="pl-pds">" to zero. $device is "VID_06A3&PID_0D06" for the multi panel and "VID_06A3&PID_0D05" for the radio panel.<br class=""></span></span></p><p style="font-family:'helvetica';font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><span class="pl-s"><span class="pl-pds"><br class=""></span></span></p><p style="font-family:'helvetica';font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">Is there a way that FlightGear sets this registry value? - Or a way to disable "enhanced power management" for certain USB-devices when FlightGear is running?<br class=""></p><br class="Apple-interchange-newline"></div></blockquote></div><br class=""><div class="">I’m kind of clueless about Windows: what does Enhanced Power Management do?</div><div class=""><br class=""></div><div class="">Writing to a registry is possible but kind of bad for us to be doing it: if it’s needed for the devices to work, why doesn’t the Saitek installer do it? Another way to ask the same question: what are X-Plane and MSFS doing for this? Since we don’t want to get into a Registry fight with them. </div><div class=""><br class=""></div><div class="">If the issue is the devices going into a power-save mode, I’d guess we are missing sending some custom ‘wake up’ command (which would make sense), so would be best to discover how we request a wake up for the duration of the session. Since presumably when you exit FG you want the devices to sleep again, and we don’t want to be modifying the registry each time you launch+quit FG, that feels …. unwise.</div><div class=""><br class=""></div><div class="">Kind regards,</div><div class="">James</div><div class=""><br class=""></div></div><!--end of _originalContent --></div></body></html> |