Sign in to follow this  
gboz

"On Release" not recognised with A2A Cherokee and Comanche

Recommended Posts

When I first load a P3DV3.2 (Win10) flight I find that while the "On Press" assignments work, the "On Release" assignments do not work with both the A2A Cherokee and Comanche.

The default Bonanza does not have this problem.

 

Weirdly the problem goes away if I just go to the Linda program window, which is always initially showing the Settings page, and just click the Linda Joystick button next to the Settings button. Without doing anything else at all I just go back to P3D and un-pause P3D and find that the "On Release" commands are now working.

 

Problem occurs with both my Saitek switch panel and Warthog throttle switches.

Happened with Lind 2.6.7 and now 2.6.9.

 

Any help appreciated,

gb.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Not sure if it's related but yesterday I was having a problem with the OnRepeat on the F1 Mustang...it wouldn't stop. (CH Yoke)  I had to reload LUA. 

Share this post


Link to post
Share on other sites

Bump.

 

I see A2A has some problems with P3D and it's own input configurator so

might be a connection there?

 

gb.

Share this post


Link to post
Share on other sites

Hi Guys

 

Apologises for the late response but I have been busy. I have tested the OnRepeat and OnRelease functions (using the default and A2A C172) and they are working correctly on initial startup with the Summary page displayed and when I select the Joystick page. I am unable to reproduce the reported problem.

 

You can provide me with more evidence if you turn on the debug function. Edit the config-vdi.lua file (in /modules/linda-cfg/system) and change the line DEBUG=1 to DEBUG=2. Save the edited file and open the Console. You will see the OnPress, OnRepeat and OnRelease buttons and functions list.

 

The OnRepeat runaway fault has been fixed in the latest download. It was caused by pressing a button before LINDA had completed it start up process.

Share this post


Link to post
Share on other sites

You can provide me with more evidence if you turn on the debug function. Edit the config-vdi.lua file (in /modules/linda-cfg/system) and change the line DEBUG=1 to DEBUG=2. Save the edited file and open the Console. You will see the OnPress, OnRepeat and OnRelease buttons and functions list.

 

 

Thanks Scot.

 

For this test I have only two of the Saitek panel switches assigned ie Battery On/Off and Beacon Light On/Off.

 

The first log is for just loading the Cherokee with the default flight, waiting for Linda to load and then switching  the Battery switch on then off (once only) and then doing the same on, off for the Beacon switch (once only).

 

    49750 LUA.2: LINDA:: [hHID] Button OnPress   04D806E70/16 G: 0

    49750 LUA.2: LINDA:: [hHID] Button NoRepeat  04D806E70_16/nil *****

    49766 LUA.2: LINDA:: [hHID] Button Execute   04D806E70/PA28_FuelSelector_off

    53344 LUA.2: LINDA:: [COMM] DspCRS 1 - 0

    53360 LUA.2: LINDA:: [COMM] DspCRS 1 - 0

    62625 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/1 G: 0

    62625 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_1/nil *****

    62625 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_Battery_on

    62891 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/14 G: 0

    62891 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_14/nil *****

    62985 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/20 G: 0

    62985 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_20/nil *****

    70282 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/9 G: 0

    70297 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_9/nil *****

    70297 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_BeaconLight_on

 

This next log is for when I loaded the Cherokee in the default flight, waited for Linda to load but then clicked the Linda Joystick button before switching the Battery switch on then off (once only) and then doing the same for the Beacon switch (once only).

 

    51265 LUA.2: LINDA:: Offsets watching list cleared!

    51343 LUA.2: LINDA:: [hHID] Button OnPress   04D806E70/16 G: 0

    51343 LUA.2: LINDA:: [hHID] Button NoRepeat  04D806E70_16/nil *****

    51343 LUA.2: LINDA:: [hHID] Button Execute   04D806E70/PA28_FuelSelector_off

    54875 LUA.2: LINDA:: [COMM] DspCRS 1 - 0

    54890 LUA.2: LINDA:: [COMM] DspCRS 1 - 0

    79531 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/1 G: 0

    79547 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_1/nil *****

    79547 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_Battery_on

    79797 LUA.2: LINDA:: [hHID] Button OnRelease 06A30D671/9

    79812 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_BeaconLight_off

    80000 LUA.2: LINDA:: [hHID] OnRelease06A30D671/9 release call: A2A_BeaconLight_off

    80078 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/14 G: 0

    80078 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_14/nil *****

    80203 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/20 G: 0

    80203 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_20/nil *****

    88406 LUA.2: LINDA:: [hHID] Button OnRelease 06A30D671/1

    88406 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_Battery_off

    88593 LUA.2: LINDA:: [hHID] OnRelease06A30D671/1 release call: A2A_Battery_off

    95000 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/9 G: 0

    95015 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_9/nil *****

    95015 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_BeaconLight_on

    97578 LUA.2: LINDA:: [hHID] Button OnRelease 06A30D671/9

    97578 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_BeaconLight_off

    97765 LUA.2: LINDA:: [hHID] OnRelease06A30D671/9 release call: A2A_BeaconLight_off

 

Seems like a lot of activity for a total of just four switch positions?

 

gb.

Share this post


Link to post
Share on other sites

Hi jb

 

Thank you for the logs. Can you try a few more tests for me? I need you to load an aircraft as the default scenerio and run your test with a newly started LINDA, after clicking Restart LAU Engine and with Joysticks page selected. Then repeat this with the aircraft loaded directly from aircraft/vehicle menu (not as default flight).

Share this post


Link to post
Share on other sites

Hi jb

 

Thank you for the logs. Can you try a few more tests for me? I need you to load an aircraft as the default scenerio and run your test with a newly started LINDA, after clicking Restart LAU Engine and with Joysticks page selected. Then repeat this with the aircraft loaded directly from aircraft/vehicle menu (not as default flight).

 

Hi Scot.

Just ran those two procedures.

In both cases the switches worked in both the on and off function.

 

PA28 loaded with Startup Scenario screen. Linda then reloaded.

 

    89719 LUA.2: LINDA:: [iNIT] Ready to go, Captain!

    89719 LUA.2: LINDA:: [iNIT] ***************************************************************

    89750 LUA.2: LINDA:: Offsets watching list cleared!

    93141 LUA.2: LINDA:: [COMM] DspCRS 1 - 0

    93156 LUA.2: LINDA:: [COMM] DspCRS 1 - 0

   106485 LUA.2: LINDA:: [hHID] Button OnPress   044F04020/5 G: 0

   106485 LUA.2: LINDA:: [hHID] Button NoRepeat  044F04020_5/nil *****

   106485 LUA.2: LINDA:: [hHID] Button Execute   044F04020/Keys:_P

   106516 LUA.2: LINDA:: [COMM] Keypress: - : P

   109422 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/1 G: 0

   109422 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_1/nil *****

   109422 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_Battery_on

   109719 LUA.2: LINDA:: [hHID] Button OnRelease 06A30D671/9

   109719 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_BeaconLight_off

   109906 LUA.2: LINDA:: [hHID] OnRelease06A30D671/9 release call: A2A_BeaconLight_off

   110016 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/14 G: 0

   110016 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_14/nil *****

   110141 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/20 G: 0

   110156 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_20/nil *****

   111813 LUA.2: LINDA:: [hHID] Button OnRelease 06A30D671/1

   111813 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_Battery_off

   112000 LUA.2: LINDA:: [hHID] OnRelease06A30D671/1 release call: A2A_Battery_off

   116219 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/9 G: 0

   116219 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_9/nil *****

   116219 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_BeaconLight_on

   118906 LUA.2: LINDA:: [hHID] Button OnRelease 06A30D671/9

   118922 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_BeaconLight_off

   119110 LUA.2: LINDA:: [hHID] OnRelease06A30D671/9 release call: A2A_BeaconLight_off

 

 

PA28 loaded after default F22 flight loaded. Linda then reloaded.

 

   108141 LUA.2: LINDA:: [iNIT] Ready to go, Captain!

   108141 LUA.2: LINDA:: [iNIT] ***************************************************************

   111500 LUA.2: LINDA:: [COMM] DspCRS 1 - 0

   111516 LUA.2: LINDA:: [COMM] DspCRS 1 - 0

   122828 LUA.2: LINDA:: [hHID] Button OnPress   044F04020/5 G: 0

   122844 LUA.2: LINDA:: [hHID] Button NoRepeat  044F04020_5/nil *****

   122844 LUA.2: LINDA:: [hHID] Button Execute   044F04020/Keys:_P

   122860 LUA.2: LINDA:: [COMM] Keypress: - : P

   138875 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/1 G: 0

   138875 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_1/nil *****

   138875 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_Battery_on

   139172 LUA.2: LINDA:: [hHID] Button OnRelease 06A30D671/9

   139172 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_BeaconLight_off

   139360 LUA.2: LINDA:: [hHID] OnRelease06A30D671/9 release call: A2A_BeaconLight_off

   139438 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/14 G: 0

   139438 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_14/nil *****

   139610 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/20 G: 0

   139610 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_20/nil *****

   141078 LUA.2: LINDA:: [hHID] Button OnRelease 06A30D671/1

   141078 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_Battery_off

   141266 LUA.2: LINDA:: [hHID] OnRelease06A30D671/1 release call: A2A_Battery_off

   145110 LUA.2: LINDA:: [hHID] Button OnPress   06A30D671/9 G: 0

   145110 LUA.2: LINDA:: [hHID] Button NoRepeat  06A30D671_9/nil *****

   145110 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_BeaconLight_on

   147172 LUA.2: LINDA:: [hHID] Button OnRelease 06A30D671/9

   147172 LUA.2: LINDA:: [hHID] Button Execute   06A30D671/A2A_BeaconLight_off

   147360 LUA.2: LINDA:: [hHID] OnRelease06A30D671/9 release call: A2A_BeaconLight_off

 

Thanks,

gb.

Share this post


Link to post
Share on other sites

Thanks gb. You have confirmed a problem I was having when loading complete flights/scenarios especially with A2A aircraft.  LINDA is not initialising correctly until either you select the Joystick page or Restart Lau Engine is pressed.

 

I will investigate further but I can not provide a fix until next month.

Share this post


Link to post
Share on other sites

I will investigate further but I can not provide a fix until next month.

 

No worries, thanks for looking into it.

 

gb.

Share this post


Link to post
Share on other sites

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
Sign in to follow this