stratux icon indicating copy to clipboard operation
stratux copied to clipboard

Serial port output inconsistent

Open chrisbryanolsen opened this issue 3 years ago • 0 comments

  1. Stratux version: 1.6
  2. Stratux config: single/dual SDR, GPS yes/no (type?), AHRS yes/no, battery, battery cable. Dual SDR GPS - No No Battery 12 Power HAT
  3. EFB app and version (e.g., WingX Pro7 8.6.2). EFB platform (e.g., iOS 9.2). EFB hardware (e.g., iPad Mini 2). Serial connection to GRT Avionics EFIS
  4. Description of your issue. If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://192.168.10.1/logs/stratux/ and http://192.168.10.1/logs/stratux.log.

Inconsistent serial port output. /dev/serialout0 not always created by udev rules. Force udev rules to always assign the tagged serial device to serial port 0. I have found that using %n is a problem. The USB serial card shows up on different USB devices (i.e. /dev/USB1) which causes the serial port to be on the wrong device (i.e. /dev/serialout1). Since statux is only supporting a single serial out at this time this seems like a reasonable change.

SUBSYSTEMS=="usb", ATTRS{interface}=="Stratux Serialout", SYMLINK+="serialout0"

This change on mine has fixed the serialport output issue

chrisbryanolsen avatar Feb 14 '21 19:02 chrisbryanolsen