Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi, I'm new to this forum but have been building a set of switches and buttons with arduino by using the com ports and joystick functionality of FSUIPC. 

At first I used FSX and the aerosoft A320 bundle and everything was great (Also using FSUIPC v4), buy then i changed to P3D, Aerosoft's professional A320 and FSUIPC v5 and problems started. 

In the beginning I thought it was random. My plane would turn off at any point of the flight, sometimes twice if I was in the ground on the first shutdown. But then I've managed to find out that I can replicate the error when I plug a new device to the computer. The FSUIPC log will say "HID USB device reconnected: re-initialising FSUIPC connections" and in that point it wont read the actual state of my joystick switches. (For example, if the engine switches on the joystick are ON, FSUIPC will read all switches as off after the "sudden" reconnection, until I move any of the switches, and now it would read all the actual states of the switches, but at this point the plane is already off with several switches moved to zero positions)

The thing is, to summarize, sometimes my PC (and i've tried on different PCs, reinstall windows and p3d and everything) reconnects all USB devices randomly on FSUIPC (not on actual windows since I dont listen to the connection sound) 

Maybe the device that reconnects are the bluetooth ones, but it doesn't matter, what I need to get working is to stop this "reconnection" of FSUIPC every time a new device is recognized by my computer.

Posted

Hi,

could you download and run the HidScanner utility, available from 

 

and post your log file when done. Also please attach your log and joyscan.csv files.

It sounds like you may have an incompatible USB hub/device somewhere which can cause such issues.

John

 

Posted
On 7/7/2019 at 6:37 AM, mifraburneo said:

Maybe the device that reconnects are the bluetooth ones, but it doesn't matter, what I need to get working is to stop this "reconnection" of FSUIPC every time a new device is recognized by my computer.

When a device is connected, FSUIPC will automatically re-scan the devices in case there are are any assignments which will now work, necessitating a regular devices scan.

This is really an essential action, so it shouldn't be inhibited. 

The answer is to determine why you have disconnections/reconnections occurring so you can fix them. It might be a bad connection in a device, a bad USB connection, a faulty HUB, or even a problem in the USB port on the PC. You've eliminated the last by trying on a different PC To find the culprit among the others will need a process of elimination. 

The logs and other results John has asked for would also help.

Pete

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.