-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TTGO T-Beam GPS problem #842
Comments
Stratux will autodetect the baud rate. It will also try 115200. "Serial port (not communicating)" would mean that your T-Beam isn't found at all - so Stratux falls back to the PI's UART pins. The Stratux process looks for /dev/serialin, which is symlinked to your T-Beam by udev (/etc/udev/rules.d/10-stratux.conf). Are you missing that file? Does /dev/serialin exist (I'd assume it doesn't)? You can ignore the Length too short debug message. It will disappear once we have GPS Data. |
Hi b3nn0, |
Does your /etc/udev/rules.d/10-stratux.conf exist/is it correct (like this: https://github.com/b3nn0/stratux/blob/master/image/10-stratux.rules )? Because that's the one that causes /dev/serialin to exist. EDIT: Did you try to compile Stratux on a plain RaspiOS image? Or did you flash a recent Stratux image? Because if you tried to roll your own, the process is much more complicated than just running make install. There is a lot of OS setup happening, of which at least quite a bit is required for things to work correctly. |
yes, 10-stratux.conf does exist and is correct. Bus 001 Device 006: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T udevadm monitor does say this: monitor will print the received events for: KERNEL[884.366054] add /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2 (u sb) I did flash the recent Stratux image, first I tried yours but obviously the results are the same. |
Interesting.. Apprently TTGO changed the USB/Serial chip on the T-Beam. It always was a CP2104 - now it is a QinHeng Electronics (never heard of that one before..). I don't have such a T-Beam, so it's hard for me to test.
and see if it works? Where did you purchase this T-Beam? Mind sharing a link? |
correction: 10-stratux.conf does actually exist as 10-stratux.rules (hope that makes no difference) Sadly those changes did not work, it looks like the 10-stratux.rules gets resetted every reboot |
Then I think you forgot the first point: enable persistent logging in the web interface (or run |
yes, my mistake I did not rebooted after I enabled persistent logging (too impatient :D) |
Cool. I'll add the line to the next version. Feel free to close this issue then (I can't since I'm not an admin of this repository) |
Stratux version: 1.6r1-eu026
Stratux config: default
SDR
GPS
type: TTGO T-Beam v1.1 ublox NEO-M8N
AHRS
power source: 3A 5V power supply
usb cable: tested with two different cables (which both work)
EFB app and version: (e.g., WingX Pro7 8.6.2)
not relevant
EFB platform: (e.g., iOS 9.2)
not relevant
EFB hardware: (e.g., iPad Mini 2)
not relevant
Description of your issue:
Stratux does not receive TTGO T-Beam GPS NMEA signals, at the website is written "GPS hardware: Serial port (not communicating).
I also tried it with a different raspberry pi, nothing connected but the T-Beam and the same issue appears.
T-Beam GPS tested and working.
The T-Beam connects as serial device on ttyACM0 but it has a baud rate of 115200, so the NMEA text is only shown with
cat /dev/ttyACM0 after doing stty -F /dev/ttyACM0 115200.
Is there a way to tell stratux to listen at /dev/ttyACM0 with a baud rate of 115200?
(Logs are made on a fresh flashed version)
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.lo
stratux.log
syslog.txt
PS: What does "raspberrypi gen_gdl90[542]: mean: Length too short" mean?
The text was updated successfully, but these errors were encountered: