stratux
stratux copied to clipboard
Serial port output inconsistent
- Stratux version: 1.6
- Stratux config: single/dual SDR, GPS yes/no (type?), AHRS yes/no, battery, battery cable. Dual SDR GPS - No No Battery 12 Power HAT
- 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
- 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