744 Forum

Apron => Hangar 7 => Topic started by: Magoo on Wed, 26 Apr 2023 09:42

Title: USB Joystick not connecting
Post by: Magoo on Wed, 26 Apr 2023 09:42
Hi all,

I've just upgraded from a MacBook Air 2012 to a MacBook Air 2019 laptop which only has USB C port so I have to use an adapter to connect my Logitech Extreme 3D Pro joystick to use with PSX.
The laptop recognises the joystick but PSX doesn't.I used to use this Joystick with no issues on my previous Macbook.

I'm running MacOS Catalina 10.15.7

Any ideas about fixes?
Title: Re: USB mouse not connecting
Post by: Hardy Heinlin on Wed, 26 Apr 2023 10:48
Hi,

what is displayed on Instructor > Preferences > USB?

What's indicated in the text file Aerowinx/Developers/USB-Detect.txt?


Regards,

|-|ardy
Title: Re: USB mouse not connecting
Post by: Magoo on Wed, 26 Apr 2023 12:33
Hi Hardy,

Just realised, wrong title, It's the joystick not connecting.
Yes, USB tick mark checked.
USB detection test:
blank after the statement.

Thank you.
Title: Re: USB Joystick not connecting
Post by: Hardy Heinlin on Wed, 26 Apr 2023 14:04
How does your old MacBook Air 2012 indicate that the joystick is recognized?

Does this old indication differ in any way from the indication in your new laptop?

Just trying to analyse the difference ...
Title: Re: USB Joystick not connecting
Post by: Magoo on Thu, 27 Apr 2023 00:49
Using system report in "about this Mac"
USB 3.0 bus

Old Mac vs New

All the same data except for the Host Controller Driver with is different perhaps due to different MacOS.
Title: Re: USB Joystick not connecting
Post by: Hardy Heinlin on Thu, 27 Apr 2023 08:15
What Host Controller Drivers are in your old and new Macs?
Title: Re: USB Joystick not connecting
Post by: Magoo on Fri, 28 Apr 2023 10:27
Sorry Hardy, couldn't tell you.
As no one else is chiming in I guess this might be specific to my computer/joystick combo and not about Catalina.
Title: Re: USB Joystick not connecting
Post by: Hornbeam on Wed, 10 May 2023 14:04
May I join this thread?
I have been using PSX on Mac (Ventura 13.3.1 OS) with just the computer keyboard, and it is working well.

I have just taken delivery of the Fulcrum flying yoke which connects via USB.
My Mac sees the Yoke under its USB device listing, but PSX does not see the Yoke. USB is ticked enabled in the Instructor screen, but the PSX loading screen says no USB device detected.
I have searched for basic setting up tutorials, but cannot see one. What to do next?

Secondly, I purchased PSX on 23 April this year from the Aviation Megastore in Amsterdam, but my PSX says version 10.137 and I notice your updates are now up to 10.168. Do I just download the latest update, or do I need to download each one since 10.137?

Please excuse my computer ignorance.
Title: Re: USB Joystick not connecting
Post by: Hardy Heinlin on Wed, 10 May 2023 14:37
Sure, you're in the right thread :-)

Perhaps your USB device has no name. You may try this:

Please load the file Aerowinx/Preferences/Default.pref with a text editor and search for this line:

UsbUnknownIncl=0

Replace the 0 with 1:

UsbUnknownIncl=1

Save the file, restart PSX and check if PSX detects your USB hardware now.


For the latest PSX update just download the latest Aerowinx.jar file and overwrite your old Aerowinx.jar with it.


Regards,

|-|ardy
Title: Re: USB Joystick not connecting
Post by: Hornbeam on Wed, 10 May 2023 16:08
Many thanks Hardy, it is brilliant that you are there to answer questions.

I did what you suggested; I changed the line UsbUnknownIncl=0 to UsbUnknownIncl=1, and then saved the default file and then read it again to check that it had correctly saved with UsbUnknownIncl=1, and it has.

However, when I reload PSX, it still says no USB devices detected as it is loading.

The MAC can see the Yoke and knows its name: "Fulcrum One Yoke", under USB devices.

I will try to load the latest version of PSX next, and maybe that will help.
Title: Re: USB Joystick not connecting
Post by: Hornbeam on Wed, 10 May 2023 16:23
I have loaded PSX 10.168 but still the same - the Mac sees the yoke, but the PSX doesn't.
Title: Re: USB Joystick not connecting
Post by: Hardy Heinlin on Wed, 10 May 2023 21:48
What's indicated in the text file Aerowinx/Developers/USB-Detect.txt?


Regards,

|-|ardy
Title: Re: USB Joystick not connecting
Post by: Hornbeam on Thu, 11 May 2023 12:57
Good morning Hardy.

USB-Detect.txt just has : "USB detection test:" at the top of a blank white panel.

Moving the Yoke brings nothing up on this screen.

I have plugged the yoke into an old Windows lap-top and it sees the yoke straight away and I can observe the yoke movements and switch presses on the test page facility Windows has - showing the X,Y yoke movement and switch presses.

So the yoke is good. The Apple Mac sees the yoke and reads its name. But the PSX says 'USB controls disconnected' on the small initial loading screen.

Regards.
Title: Re: USB Joystick not connecting
Post by: Hardy Heinlin on Thu, 11 May 2023 13:22
Good morning Hornbeam,

are you using a Corsair mouse or keyboard by chance?

If so, here's a helping thread:
https://aerowinx.com/board/index.php/topic,5984.0.html


Regards,

|-|ardy
Title: Re: USB Joystick not connecting
Post by: Hornbeam on Thu, 11 May 2023 13:37
No, a Bluetooth Apple mouse, and a USB HP keyboard, (long story)..

So I disconnected the keyboard from the iMac, so the only USB device connected to the iMac was the yoke, and then I started PSX. Sadly, PSX still says 'USB controls disconnected'.....

Time for a cup of tea.
Title: Re: USB Joystick not connecting
Post by: Hardy Heinlin on Thu, 11 May 2023 14:08
Unfortunately, I don't know what else might help ...

Have you used other sticks before and did they work in PSX? (Just to test whether it's a Fulcrum specific issue.)


Regards,

|-|ardy
Title: Re: USB Joystick not connecting
Post by: Jeroen Hoppenbrouwers on Thu, 11 May 2023 14:19
I don't know the answer.

However looking on the intarwebs I found a suggestion that may hold a clue.

"I had to right-click on Microsoft flight simulator in the Steam library, went to properties, controller and there disabled Steam input. MSFS immediately found the Fulcrum one Yoke afterwards."

So it is possible that another program already owns the stick and thereby makes it invisible to other programs on the same PC. Steam, for example, is typically one of these things that tend to run all the time without need, "just for convenience".


Hoppie
Title: Re: USB Joystick not connecting
Post by: Hornbeam on Thu, 11 May 2023 14:58
Hello Hoppie and Hardy.

I only have PSX on this iMAC, no other games, no other users of yoke or joystick.

I am (trying to) use Aerowinx B744 PSX with a Fulcrum yoke. I have only used PSX with the standard computer keyboard so far, no other sticks or yokes.

The iMac sees the Fulcrum yoke and knows it by name. The PSX does not see the yoke.

The yoke works on an old Windows lap-top.

I have no idea what 'Steam' is - I only have the standard Apple Apps, apart from PSX, Shapr3D, which is a CAD program, and Cura, which is a 3D printer slicer programme - none of which use a yoke or joystick.

PSX is the only programme installed that I use a yoke for, nothing else.

I need this to work to fly manually using raw data; with no automatics. It is very very difficult to fly on just the keyboard.
Title: Re: USB Joystick not connecting
Post by: Hornbeam on Thu, 11 May 2023 16:33
I found a 2014 thread on this forum about USB joysticks not being seen by PSX. That was suggesting a conflict from bluetooth keyboards and mice that prevented them being recognised by PSX as a keyboard or a mouse, and this somehow clogs up the PSX USB port ??

Anyway, I dug out an old USB cabled mouse, (and am already using an old USB cabled keyboard)> Then I told the Apple Mac to forget all the bluetooth keyboards and mice and loaded PSX again.

PSX still does not see the yoke but the MAC still does.

Somebody must have solved this problem in the intervening 9 years?
Title: Re: USB Joystick not connecting
Post by: Hardy Heinlin on Thu, 11 May 2023 23:55
"Steam" is a video game digital distribution service: https://en.wikipedia.org/wiki/Steam_(service)

The USB Java interface in PSX is a third-party software piece that lies outside my control, regrettably. I can't debug or modify it myself. The interface was last updated in 2015.

That 2014 thread was about a problem that I later solved by introducing the "UsbUnknownIncl" option in the PSX pref files. Unfortunately, it's not solving this Fulcrum problem ...

Hoppie's hint re "Steam" is still valid, I think. It means this Fulcrum yoke might include something special that other yokes don't. And that might be something that Apple's new Ventura system blocks when the Fulcrum sends signals to a Java application. -- Question: When the Fulcrum worked on your old Windows laptop, did it work with PSX on that laptop? If so, I assume that Ventura is a factor here. Ventura introduced some very strict security functions.
Title: Re: USB Joystick not connecting
Post by: Fulcrumsim on Fri, 12 May 2023 12:27
Hi,
Just registered to comment on this thread. I am the owner of Fulcrum Simulator Controls and am investigating this issue for Hornbeam.
We know our yoke works with your software as we do have customers who use it.
It looks like you are correct Hardy, it seems it might be a Mac Ventura issue as I am finding people reporting other controller and game issues with it on various forums.
Still looking for a solution but it seems like it may be Ventura blocking usb devices.
Chris
Title: Re: USB Joystick not connecting
Post by: Hornbeam on Fri, 12 May 2023 12:53
Hello both, thank you for your continuing efforts to fix this.

I have not got PSX on the old Windows lap-top. How would I do that? - can I put the version I purchased onto more than one machine, and if so how? I kind of wanted to have this on my big Mac retina screen, not a scabby low res lap-top.

Sorry; I can fly real Airbus/Boeing airliners, but am not so good on home computers !



Title: Re: USB Joystick not connecting
Post by: Hardy Heinlin on Fri, 12 May 2023 13:52
Hi Chris,

thank you for your attention. Welcome aboard.


Hornbeam, just copy your Aerowinx folder from your iMac to your Windows laptop (via USB stick or external disk or network etc.). You have the permission to run up to 4 copies at the same time for your personal local purposes. You can also network your computers and synchronize your Aerowinx instances so that the iMac shows the main panel, for example, and the laptop shows another part of the flight deck.


Regards,

|-|ardy
Title: Re: USB Joystick not connecting
Post by: Hornbeam on Fri, 12 May 2023 14:53
Hey guys, I think I have fixed Apple Ventura !!!

I looked into the Settings Privacy and Security tab for about the 50th time, and there was a line there that had not been there before, saying that a particular PSX file had been blocked. I did not write down the name of the file, but it was something something osx-dylib.

I clicked to allow that file to be opened, and now when I open PSX, I do not get the USB devices disconnected message, and on the USB page of the instructor panel, I see all the yoke switches and axes, (axises?)

So I might be in business. All I have to do now is learn how to assign switches to functions.

Phew !
Title: Re: USB Joystick not connecting
Post by: Jeroen Hoppenbrouwers on Fri, 12 May 2023 15:54
While there, don't drop the idea of also installing PSX on your old notebook. It more than likely is capable of running PSX in client mode. Your big Apple will run everything, and the small Windows box will follow. You then have an extra display for your convenience. If touch screen, you can for example put a MCDU there, so you're up to date with the latest Gables offerings.  :-)


Hoppie
Title: Re: USB Joystick not connecting
Post by: Fulcrumsim on Fri, 12 May 2023 16:54
Quote from: Hornbeam on Fri, 12 May 2023 14:53Hey guys, I think I have fixed Apple Ventura !!!
Great news! I hope it is smooth sailing, err flying? from here on.
Chris
Title: Re: USB Joystick not connecting
Post by: PanosI on Sat, 13 May 2023 03:33
Quote from: Hardy Heinlin on Wed, 10 May 2023 14:37Sure, you're in the right thread :-)

Perhaps your USB device has no name. You may try this:

Please load the file Aerowinx/Preferences/Default.pref with a text editor and search for this line:

UsbUnknownIncl=0

Replace the 0 with 1:

UsbUnknownIncl=1

Save the file, restart PSX and check if PSX detects your USB hardware now.


For the latest PSX update just download the latest Aerowinx.jar file and overwrite your old Aerowinx.jar with it.


Regards,

|-|ardy

Very lucky to follow this thread.

I just received my VKB T-Rudder pedals and i couldn't see them in the USB section.
Only the Alpha Flight Controls and the Bravo Throttle Quadrant were visible.

I changed the above line and everything is ok now!
Title: Re: USB Joystick not connecting
Post by: PanosI on Sat, 13 May 2023 11:10
I just tested my VKB T-Rudder pedals in my MacBook Air M1, Ventura 13.3.1(a) and it appears normally in my USB Section!!
Go figure!
Title: Re: USB Joystick not connecting
Post by: Hornbeam on Sat, 13 May 2023 12:37
I think the key with PSX and Ventura 13.3.1 (a) is having the Privacy & Security page already open and scrolled down to the Security section when loading PSX. The PSX file that Ventura blocks only appears there when PSX is trying to load, so if you do not have it in view, you will miss the chance to allow that file.

And that file is clearly the one that transfers USB inputs to the computer on to PSX.

After ages of trying to sort out the problem over several days, it just so happened that I did have the Privacy & Security page open at the same time that I loaded PSX and so I happened to see the notification of the blocked file. I allowed it within the Privacy & Security page, and now PSX loads every time without stalling.

Others might possibly have less stringent security settings, so maybe they don't get the problem, but I am not an Apple expert at all.
Title: Re: USB Joystick not connecting
Post by: Magoo on Sat, 3 Jun 2023 12:57
So it looks like it is an Apple Catalina issue that may never be resolved, I've seen what Hornbeam mentioned but I can't see any of the signs/warnings he gets on my Mac. I've given up for now and run the sim on a windows 10 PC. Perhaps a more savy simmer on this site will run into the same issue and will be able to fix it, fingers crossed.