add note about ModemManager (#403)

This commit is contained in:
David Holdeman 2023-01-28 18:55:20 -06:00 committed by GitHub
parent 8e8e84fc99
commit 06f5088fc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -44,6 +44,8 @@ This guide is written for the firmware released August 6th 2020. The further awa
*Your laptop should give you an audible notification when you plug in the ECU with the ignition turned on. That means that it "sees" a new device connected to a USB port.
If you're running Linux, you might have [some issues with ModemManager](Linux-Connectivity).
5. Under "Communications" -> "Communication Settings" [IMAGE] you should select the correct COM port for your rusEFI. You will usually see only two COM ports. Chances are, the one with the higher number is the rusEFI COM-port. For most cases, the selected Baud rate does not matter. If you can't establish communication, try baud rate 38,400 | 57,600 or 115,200. If that doesn't work, you may need to try a different COM port.
6. After selecting the COM-port (and baud rate), click on "Test Port". This should result in a "successful!" message. If you get a failed message, you need to adjust your settings. After a successful test of the port click "Accept".

13
Linux-Connectivity.md Normal file
View File

@ -0,0 +1,13 @@
# Linux Connectivity Issues caused by ModemManager
CDC ACM is interface mostly used for modems.
ModemManager tries to detect modem on all newly added ttyACM devices.
This breaks TunerStudio communication few seconds after establish when ModemManages sends few AT commands.
https://stackoverflow.com/questions/24696527/modem-manager-and-ttyacm-in-use
Simple solution:
systemctl stop ModemManager.service
Advanced solution:
Add VID, PID to udev rules with ENV{ID_MM_DEVICE_IGNORE}="1" attribute
https://linux-tips.com/t/prevent-modem-manager-to-capture-usb-serial-devices/284/2