pfefferFlight / flightgear-saitek

GNU General Public License v3.0
0 stars 0 forks source link

Number display of the panels in Windows happen to work only sometimes #2

Closed pfefferFlight closed 3 years ago

pfefferFlight commented 3 years ago

Please help identifying the cause of the problem.

pfefferFlight commented 3 years ago

This Skript solves the problem:

https://github.com/FKLaben/SaitekLogitechPanelFixer

It changes the power saving settings in the windows registry. It sets "EnhancedPowerManagementEnabled" in "HKLM:\SYSTEM\CurrentControlSet\Enum\USB\"+ $device +"*\Device Parameters" to zero. $device is "VID_06A3&PID_0D06" for the multi panel and "VID_06A3&PID_0D05" for the radio panel.

How to use the skript?

  1. download the skript in to your download folder - in order to do so click on "SaitekLogitechPanelFixer.ps1", right click on "raw", and click on "save target as", German "Ziel speichern unter"
  2. press the windows key, enter "powershell.exe"
  3. click on "execute as administrator" (German: "Als Administrator ausführen")
  4. enter "Set-ExecutionPolicy unrestriced", press enter and answer the question in order to allow execution of the downloaded skript
  5. enter "cd (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path" - which brings you in the download folder where you downloaded the file.
  6. enter "SaitekLogitechPanelFixer.ps1" - which makes the changes in the registry
  7. enter "Set-ExecutionPolicy restriced" in order to prohibit execution of powershell skripts again
  8. reboot

After first try my multi panel worked perfectly in FlightGear in Windows. Doing it a second time, it also the radio panel worked perfectly.