Problem with Saitek / Logitech X56 Hotas

Report problems with documented functionality
erwin9
Posts: 3
Joined: 15 Jul 2018, 08:27

Problem with Saitek / Logitech X56 Hotas

13 Aug 2018, 09:20

A strange bug if there is :-)

System = Windows 10 64 bits - version 1803
AHK installation method = unzip in a directory
Using = AutoHotKeyU64.exe
Hotas Driver = Logitech 8.0.116.0 (latest), but not sure it really has any impact

Specifics = remember that the X56 is a Hotas, so it has two USB devices = one USB plug for the Throttle, and one USB plug for the Stick

Symptom = depending on when I start AHK (e.g. load a script) with regards to joystick plug sequence, I get at best one joystick handled (the first one plugged) or none working.
It all looks like AHK is really discovering the joysticks at start of script only, and not later, and for some reason, if it detects two joysticks, it has a problem.

Details:
For this experiment, I am using a modified version of of JoystickTest.ahk:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



Detailed symptoms:
  1. If I start the script above, no device plugged, I get the tooltip "The system does not appear to have any joystick" => normal 8-)
    Then if I plug the stick, I get both "Microsoft PC-joystick driver (#1) RUVPD" and "Microsoft PC-joystick driver (#2)", and for #1 all axis values are fine & buttons are detected ok => so far so good 8-)
    Then if I plug the throttle, nothing more appears, the values for #2 are empty and not moving, while #1 is ok
    Then if I unplug #1, #1 values are not active any more, but nothing better happens on #2.
    Then if I plug again #1, its values reappear and buttons are detected again for a few cycles, but then AHK crashes !
    In the Winfows event log, I can see:

    Code: [Select all] [Download] GeSHi © Codebox Plus

    Faulting application name: AutoHotkeyU64.exe, version: 1.1.29.1, time stamp: 0x5b122a60
    Faulting module name: CoreMessaging.dll, version: 10.0.17134.191, time stamp: 0x407d3bd9
    Exception code: 0xc0000005
    Fault offset: 0x0000000000054880
    Faulting process id: 0x1290
    Faulting application start time: 0x01d4330b72e871a1
    Faulting application path: M:\Produits\Elite Dangerous\AutoHotKey\AutoHotkeyU64.exe
    Faulting module path: C:\WINDOWS\SYSTEM32\CoreMessaging.dll
    Report Id: ccb8df1c-3147-48a1-9652-f322f8110652
    Faulting package full name:
    Faulting package-relative application ID:
  2. If I start the script above, no device plugged, then plug the throttle, I get "Microsoft PC-joystick driver (#1)" and "Microsoft PC-joystick driver (#2) ZRUV", and for #2 all axis values are fine & buttons are detected ok => so far so good 8-)
    But symetrically to 1), when I plug the stick, nothing appears on #1, only #2 is detected and working properly.
  3. If I plug both the throttle and the stick, and then start AHK with the script, then it shows both in the tooltip, but no value is detected = no button activity is detected / shown, axis values are only showing X and Y (normal, they are forced in the script), but at 000, and nothing for the others
  4. If I start the script after plugging only one of the stick or throttle, it acts as 1) or 2) depending on which one I plugged before starting.


Net is that I can only use AHK with buttons of the first one of the two devices I plug, and for that I must pay attention to start AHK before I plug anything, or latest after the first one plugged, else nothing is working at all.
Here I am using it with Elite Dangerous for some buttons on the throttle to manage pips, as the standard Logitech application macros do not work anymore .... https://community.logitech.com/s/questi ... nt-program ...

And no way to have it work with both devices :cry: .


Anything I am doing wrong ?
Are there traces I can activate somewhere to give more debug info on what is going on ?
Anything else you would need from me ?

Thanks, erwin9.
erwin9
Posts: 3
Joined: 15 Jul 2018, 08:27

Re: Problem with Saitek / Logitech X56 Hotas

13 Aug 2018, 15:19

Note; I tried with V2 (AutoHotkey_2.0-a098-59ec6aa.zip), and got the same symptoms, except the crash.

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests