A pedal that vanishes halfway through a session can look like a calibration problem. Before changing the pedal settings, figure out whether the sim lost the input or the computer lost the whole device. When the issue occurs, note which controls stopped responding, whether they came back on their own and what else was connected at the time.
Start with a direct connection
Exit the sim and reconnect the suspect device directly to the computer if the manufacturer supports that configuration. Bypass any hub or extension you were using for it. If you move to a different USB port, check that the simulator still sees the device and recalibrate if it asks. Run the same practice session long enough to cover the period when you usually see a dropout. For more on isolating devices during a test, see iRacing's USB troubleshooting guidance.
Put things back one at a time
If the direct connection is stable, add back one part of the original setup and repeat the run. When the issue returns, note which change brought it back. If you still get dropouts on a direct connection, check the connector for strain and try an approved replacement cable or another suitable port, changing one variable per run. Save your results if you need to contact the hardware maker.
Once the setup is stable, label each end of the cable and give the plugs enough room that seat adjustment can't tug on them. Use removable cable routing hardware in places where you may need to get back to a connector.