Jump to content

DCS-BIOS and multiple com ports


electricaltill

Recommended Posts

I found in my installation a bodnar board with some problems. I disconnected it and the Port disconnections feels better. Now I deinstalled in the Hardware manager the 3.0 USB-Hubs. They are reinstalled by the system after a reboot. I flu now some times without port disconnections. Hope I found my solution. Will report here

Link to comment
Share on other sites

Il 23/3/2024 at 09:43, Vinc_Vega ha scritto:

@Strale

Have you tried another USB port?

Are other USB devices running at the new rig without problems?

Regards, Vinc 

Hi VInc,
with the help of Kieron i was eventualy able to make some stuff working using Skunkworks and connect-to-serial 
i have 
Com3 AN-ALR
Com4 Ecm-Brain (that connects several mip panels and lights)
Com5 IFEI
Com9 Cubesim UFC
Com10 the Psi indicator
Com11 the Left Side Consolle
I was able to connect IFEI, CUBESIM and LEFT SIDE CONSOLLE with no issue at all
AN-ALR i see the data flowing but it's unstable ... sometimes it works some other not ! 
Com4 and Com10 the data flow stop after 1 or two lines no matter if i close and launch again 
still same problem they stop receiving data from DCS.

Skunkworks latest version

I read that the "connect-to-serial" seems a little bit oddy read other guys having troubles but it seems nobody still found a solution.

Any Ideas ? 

 

Link to comment
Share on other sites

Il 23/3/2024 at 23:57, Heling ha scritto:

I found in my installation a bodnar board with some problems. I disconnected it and the Port disconnections feels better. Now I deinstalled in the Hardware manager the 3.0 USB-Hubs. They are reinstalled by the system after a reboot. I flu now some times without port disconnections. Hope I found my solution. Will report here

I don't have any bodnar boards connected, have on the MOBO 4 USB 3.1, 1 USB 3.2 and 2 USB 2.0 but they're not enough
so i'm also running a 7 port ORICO Usb 3.0 powered HUB where i connected all the hotas and track-ir
then a 12 port Orico USB 3.0 powered HUB where I connected teh AN/ALR and the PSI indicator.
Also tried a startech 7 port usb powered external hub but same results.

I ha to remove a 2 years Orico 5 port 3.0 usb pci-e board that was using a Via chipset that was probably conflicting and often showing the yellow triangle in device manager.

Will try to buy a brand new PCI-e board and trying if i can get rid of those external hubs ... even if the ECM Brain is giving troubles too and it's connected to the usb on the mainboard.

 

Link to comment
Share on other sites

I'm not sure that much of the common troubles are due to software, but rather hardware. For example I bought a USB-hub which I installed in series with an other usb-hub. The idea was to have shorter usb cables to a group of arduino boards. But the setup did never function flawless. Sometimes the communication did work some time after start up, but then suddenly one of the com-channels stopped. After I removed the second hub, and instead installed long usb cables (5 meters) from the first hub, the usb-serial communication is stable. I have no idea why the second hub did not function properly. It was a cheap none-name hub , but modern model specified for usb 2.0

I recommend you only use high quality usb hubs and cables. Even if they costs more.

 

Link to comment
Share on other sites

One of my problems: only one of the Arduino Mega boards has an additional power supply with 9 volts. I ordered three mor and try to power up all. Yes, my USB-Hubs are all with power supply, but I don't know the quality over the 10 connected devices...

Will report 😉

 

Link to comment
Share on other sites

Il 26/3/2024 at 17:24, Msiipola ha scritto:

I'm not sure that much of the common troubles are due to software, but rather hardware. For example I bought a USB-hub which I installed in series with an other usb-hub. The idea was to have shorter usb cables to a group of arduino boards. But the setup did never function flawless. Sometimes the communication did work some time after start up, but then suddenly one of the com-channels stopped. After I removed the second hub, and instead installed long usb cables (5 meters) from the first hub, the usb-serial communication is stable. I have no idea why the second hub did not function properly. It was a cheap none-name hub , but modern model specified for usb 2.0

I recommend you only use high quality usb hubs and cables. Even if they costs more.

 

Well i have 2 different USB Hubs, both ORICO and both powered. one is 7 port the other is 13 ports with supplier that can deliver 5Amp. 
so not thinking to an Hubs problem

 

Link to comment
Share on other sites

  • 4 weeks later...

I had nothing but problems when I tried using USB Hubs, powered and non powered, cheap and expensive ones. Have you tried bypassing the hubs altogether and plugged all of your arduinos into their own USB Port on your PC to rule out the hubs being your issue? I was able to eventually get 3 hubs to work without issues, but I cant have any more than 2 arduinos plugged in to each of them or I start to have issues.  

Windows 10

ASRock Z370 Extreme4 LGA 1151 (300 Series) MOBO

intel i7-8700k (Not overclocked)

16 GB Ram

EVGA GeForce GTX 108ti SC Black Edition

SSD

Trackir

Link to comment
Share on other sites

So why don't you try the RS485 bus option and reserve the USB ports only for panels that need higher bus speed?

Regards, Vinc

Regards, Vinc

real life: Royal Bavarian Airforce

online: VJS-GermanKnights.de

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

3 hours ago, Kenpilot said:

I had nothing but problems when I tried using USB Hubs, powered and non powered, cheap and expensive ones. Have you tried bypassing the hubs altogether and plugged all of your arduinos into their own USB Port on your PC to rule out the hubs being your issue? I was able to eventually get 3 hubs to work without issues, but I cant have any more than 2 arduinos plugged in to each of them or I start to have issues.  

Mostly PC's have only few USB-ports, and couple of these are used for keyboard and mouse. But of course if you only need/have a few Ardunio boards, may the left overs are enough. Maybe an extra usb-bord card in the PC, can be an option.

 

Link to comment
Share on other sites

Has anyone else experienced connection issues with Arduino's through DCS BIOS since the latest DCS update v 2.9.4.53707?  All of my cockpit switches worked before the update and after nothing.  Everything is dead in the water.

Thanks,

Wayne

Wayne Wilson

AKA: hrnet940

Alienware Aurora R3, i7 3820 3.5GHz(4.2GHz setting) processor, EVGA Nvidia RTX 2070 8GB Graphics, 16GB Ram, 1TB SSD.

Link to comment
Share on other sites

They say that the network protocol has been changed 😕

Maybe that's a reason?

 

Edit: another option is, that your export.lua has been overwritten by the update

 

Regards, Vinc


Edited by Vinc_Vega

Regards, Vinc

real life: Royal Bavarian Airforce

online: VJS-GermanKnights.de

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Thanks for letting me know about the protocol change.  Do you know how to fix it or where I can look to maybe figure it out and get things back working?  I am completing some mods and would like to get my testing completed, fix what needs to be fixed, and get back in the air ASAP.

Thanks,

Wayne Wilson

AKA: hrnet940

Alienware Aurora R3, i7 3820 3.5GHz(4.2GHz setting) processor, EVGA Nvidia RTX 2070 8GB Graphics, 16GB Ram, 1TB SSD.

Link to comment
Share on other sites

4 hours ago, Vinc_Vega said:

They say that the network protocol has been changed 😕

Maybe that's a reason?

 

Edit: another option is, that your export.lua has been overwritten by the update

 

Regards, Vinc

 

+1. My export.lua was overwritten and none of my panels worked either. 

Windows 10

ASRock Z370 Extreme4 LGA 1151 (300 Series) MOBO

intel i7-8700k (Not overclocked)

16 GB Ram

EVGA GeForce GTX 108ti SC Black Edition

SSD

Trackir

Link to comment
Share on other sites

15 hours ago, hrnet940 said:

Thanks for letting me know about the protocol change.  Do you know how to fix it or where I can look to maybe figure it out and get things back working?  I am completing some mods and would like to get my testing completed, fix what needs to be fixed, and get back in the air ASAP.

Thanks,

 

I'm afraid you have to ask the programmers for the changes 🥺

 

Regards, Vinc

Regards, Vinc

real life: Royal Bavarian Airforce

online: VJS-GermanKnights.de

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Posted (edited)

Did you check your export.lua? I added a buttkicker to my sim and apparently the order of command lines in the .Lua is important. The buttkicker software I was using was placed in the wrong order in my .Lua, and when they did the latest DCS update, all my panels stopped working. I deleted the buttkicker software from the .Lua and they worked again. I'll have to look for the documentation that I found that explained this and I'll post it here.

Not saying it's definitely the issue, as Vinc could definitely be right with the protocol changes, but I would look at your .Lua and see if anything is in there that you can delete, like buttkicker software commands, and check your switches again, or check the order of the commands in the .Lua. 


Edited by Kenpilot

Windows 10

ASRock Z370 Extreme4 LGA 1151 (300 Series) MOBO

intel i7-8700k (Not overclocked)

16 GB Ram

EVGA GeForce GTX 108ti SC Black Edition

SSD

Trackir

Link to comment
Share on other sites

Thanks everyone that are trying to help me get things back to normal.  I will have a look at my .lua file and see what it looks like.  I don't have a lot of experience dealing with the .lua file and may ask for some help to figure out what is going on. 

Wayne Wilson

AKA: hrnet940

Alienware Aurora R3, i7 3820 3.5GHz(4.2GHz setting) processor, EVGA Nvidia RTX 2070 8GB Graphics, 16GB Ram, 1TB SSD.

Link to comment
Share on other sites

Where do I find that export.lua file to check it and make changes, if required?

 

Wayne Wilson

AKA: hrnet940

Alienware Aurora R3, i7 3820 3.5GHz(4.2GHz setting) processor, EVGA Nvidia RTX 2070 8GB Graphics, 16GB Ram, 1TB SSD.

Link to comment
Share on other sites

1 hour ago, hrnet940 said:

Where do I find that export.lua file to check it and make changes, if required?

 

It should be in Saved Games>DCS>Scripts>Export.lua

Windows 10

ASRock Z370 Extreme4 LGA 1151 (300 Series) MOBO

intel i7-8700k (Not overclocked)

16 GB Ram

EVGA GeForce GTX 108ti SC Black Edition

SSD

Trackir

Link to comment
Share on other sites

  • 2 weeks later...

Why does it seem to be getting changed and can I stop it from always reverting back to something that stops my cockpit from working?

I will post what it changes to when it changes shortly.

 

Thanks,

Wayne

Wayne Wilson

AKA: hrnet940

Alienware Aurora R3, i7 3820 3.5GHz(4.2GHz setting) processor, EVGA Nvidia RTX 2070 8GB Graphics, 16GB Ram, 1TB SSD.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...