News:

Precision Simulator update 10.180 (14 October 2024) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

Problem with usb device

Started by altus_alpinus, Sat, 31 Aug 2019 20:25

altus_alpinus

Hello All

Computer A is 5years old
computer B is 2 weeks old

I've made a copy of PSX  copying folder from computer A to computer B

A and B are W10 uptaded at the same version

Java Version :

on A : 1.8 191
on B : 1.8 221

A run as client
B run as server

My devices are plug on a USB Hub

My devices are recognised in w 10 on A and on B

when I plug my devices to computer A :

\Logs\errors is empty
\developers\USB-Detect

USB detection test:

Joystick - HOTAS Warthog | Stick | 0 | Unknown | 0; Bouton 0; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 1; Bouton 1; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 2; Bouton 2; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 3; Bouton 3; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 4; Bouton 4; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 5; Bouton 5; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 6; Bouton 6; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 7; Bouton 7; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 8; Bouton 8; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 9; Bouton 9; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 10; Bouton 10; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 11; Bouton 11; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 12; Bouton 12; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 13; Bouton 13; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 14; Bouton 14; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 15; Bouton 15; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 16; Bouton 16; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 17; Bouton 17; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | 18; Bouton 18; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | pov; Commande de pouce; 
Joystick - HOTAS Warthog | Stick | 0 | Unknown | y; Axe Y;  (analog)
Joystick - HOTAS Warthog | Stick | 0 | Unknown | x; Axe X;  (analog)
Saitek Pro Flight Combat Rudder Pedals | Stick | 0 | Unknown | y; Right Toe;  (analog)
Saitek Pro Flight Combat Rudder Pedals | Stick | 0 | Unknown | x; Left Toe;  (analog)
Saitek Pro Flight Combat Rudder Pedals | Stick | 0 | Unknown | rz; Rudder;  (analog)
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 0; Bouton 0; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 1; Bouton 1; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 2; Bouton 2; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 3; Bouton 3; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 4; Bouton 4; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 5; Bouton 5; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 6; Bouton 6; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 7; Bouton 7; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 8; Bouton 8; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 9; Bouton 9; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 10; Bouton 10; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 11; Bouton 11; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 12; Bouton 12; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 13; Bouton 13; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 14; Bouton 14; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 15; Bouton 15; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 16; Bouton 16; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 17; Bouton 17; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 18; Bouton 18; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 19; Bouton 19; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 20; Bouton 20; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 21; Bouton 21; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 23; Bouton 22; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 24; Bouton 23; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 25; Bouton 24; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 26; Bouton 25; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 27; Bouton 26; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 28; Bouton 27; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 29; Bouton 28; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 30; Bouton 29; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | 31; Bouton 30; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | pov; Commande de pouce; 
Throttle - HOTAS Warthog | Stick | 0 | Unknown | x; Axe X;  (analog)
Throttle - HOTAS Warthog | Stick | 0 | Unknown | y; Axe Y;  (analog)
Throttle - HOTAS Warthog | Stick | 0 | Unknown | slider; Curseur;  (analog)
Throttle - HOTAS Warthog | Stick | 0 | Unknown | z; Axe Z;  (analog)
Throttle - HOTAS Warthog | Stick | 0 | Unknown | rz; Rotation Z;  (analog)



when I plug my devices to computer B :

\Logs\errors
java.lang.NullPointerException
   at net.java.games.input.RawMouse$Button.<init>(RawMouse.java:197)
   at net.java.games.input.RawMouseInfo.createControllerFromDevice(RawMouseInfo.java:83)
   at net.java.games.input.RawInputEnvironmentPlugin.createControllersFromDevices(RawInputEnvironmentPlugin.java:160)
   at net.java.games.input.RawInputEnvironmentPlugin.enumControllers(RawInputEnvironmentPlugin.java:176)
   at net.java.games.input.RawInputEnvironmentPlugin.<init>(RawInputEnvironmentPlugin.java:123)
   at net.java.games.input.DirectAndRawInputEnvironmentPlugin.<init>(DirectAndRawInputEnvironmentPlugin.java:46)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:157)
   at Usb.init(Usb.java:2273)
   at Core.startAll(Core.java:702)
   at Aerowinx.main(Aerowinx.java:65)


\developers\USB-Detect is empty


I've played with
UsbActive=1/0
UsbUnknownIncl=0/1
in default.pref on B and nothing change

Can you help me with this Problem ?

Thanks , and thx again for this great sim


Hardy Heinlin

Hello,

so all is working on computer A, but on computer B just the USB system fails?

What PSX version are you using?

Can you connect both PSX instances via the PSX network (despite the USB problem)? (If so, I know that both instances are using the same PSX version.)

Did you update your PSX in the past 5 years? There was an update for the Aerowinx/Interfaces folder (USB stuff). Do you have several copies of that, and are you sure you copied the correct one to computer B?


Regards,

|-|ardy




altus_alpinus

Hello Hardy


Quote from: Hardy Heinlin on Sat, 31 Aug 2019 21:02

so all is working on computer A, but on computer B just the USB system fails?


yes

Quote from: Hardy Heinlin on Sat, 31 Aug 2019 21:02
Hello,

What PSX version are you using?


on A : 10.82
on B : 10.82

and yes the 2 instances are connected

Quote from: Hardy Heinlin on Sat, 31 Aug 2019 21:02


Did you update your PSX in the past 5 years? There was an update for the Aerowinx/Interfaces folder (USB stuff). Do you have several copies of that, and are you sure you copied the correct one to computer B?


yes I did
I copied A to B yesterday , so B has the same folders\files  than A
( on A and B : \ interfaces and the old one \interfaces001)




Dirk Schepmann

Hi altus_apinus,

Have you checked that the USB-drivers for the new PC (PC B) are installed and up to date?

Most new computers are equipped with newer USB ports (USB 3.0 usually) and have only a few (or none) USB 2.0 ports left. Although technically USB 3.0 should be backwards compatible, the reality is often different.

At work, everytime I buy a new computer for my laboratory, it is often a nightmare to plug older devices and instruments into the newer USB 3.0 ports. Therefore, I'd recommend to check if your new computer has at least 1 or 2 older USB 2.0 ports and try to use them.

Best regards,
Dirk

Hardy Heinlin

So the PSX installation on computer B seems correct. I agree with Dirk; there might be a problem with the Windows USB drivers.


Regards,

|-|ardy

altus_alpinus

Hi Dirk, Hardy

on B it's connected to a USB 2.0 Port , and they are well recognized  on w 10   (and they work fine for example in IL-2)

altus_alpinus

Hi All

I have read the post " New PC - USB Controls Disconnected"

I disconnected my mouse : nothing
I disconnected my corsair Keyboard : and WTF it's work but i've to launch psx without the keybord and plug it after

So it's a solution  but not an optimised one

Someone as an idea to correct this problem ?

Jeroen Hoppenbrouwers

Most likely the Corsair keyboard has a few function keys that are in the way of things. You could try to get an el cheapo simple keyboard for a few currency units and see what that does.


Hoppie

PS. Looks like we down here are out the real Dorian danger zone for now. Good luck to those who are less fortunate... especially the poor souls on the Northern Bahamas.

185 mph = 160 knots ... Rotate ... when heavy ...

altus_alpinus


evaamo

Hi, just for the record I got hit by this issue tonight as well.
The only workaround was to physically disconnect the Wireless USB Receiver that came with my new Corsair mouse, then launch PSX and reconnect the USB Receiver after PSX loaded. Far from a desirable solution but... it works.

This is with 10.87.

cheers
-E
Enrique Vaamonde

cagarini

Happens to me frequently whenever I plug in my ELITE TQ and GNS 530 modules, or the EdTracker Pro to play War Thunder...

My controller definitions go completely wonky and I have only 2 choices - to redefine them all or to unplug the additional controllers that weren't plugged in when I first configured PSX and restart ( sometimes restarting the PC is required ).