-
Notifications
You must be signed in to change notification settings - Fork 71
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
readsb with mode-s beast problem #21
Comments
I don't have a modes beast to debug. I'd recommend running https://github.com/flightaware/beast-splitter and connect to that using readsb. Otherwise ... it doesn't seem you set the baudrate using the command line when using readsb ... check the help for that. |
Not working |
Try the most recent commit please. |
Use readsb-install.sh can't use new ver,showing ver is Aug 19 Unable make manually: |
try once more .... You can change the automatic script to use a different branch, it's not complicated. |
readsb now running with no error but no plane showing |
sudo beast-splitter --serial /dev/beast --listen 37193:B |
I don't know what hardware you have. Honestly i'm not sure i have interest in further debugging this ... without the hardware it's kinda complicated. |
Ok ... shot in the dark, try the most recent version of readsb with the baudrate specified. |
I have a modesbeast board but have problem with readsb
It seems readsb can't set baudrate to 1000000? Test with microcom and same baudrate is normal output beast message.
But if not add --beast-baudrate=1000000 readsb will abnormal exit
Test:
sudo readsb --device-type modesbeast --beast-serial=/dev/ttyUSB1 --beast-baudrate=1000000
Mon Aug 22 02:41:40 2022 CST readsb starting up.
readsb version: wiedehopf git: 365daf3 (committed: Fri Aug 12 02:36:00 2022 0200)
Beast cfsetispeed(/dev/ttyUSB1, 1000000): Invalid argument
Mon Aug 22 02:41:40 2022 CST sdrOpen() failed, exiting!
Mon Aug 22 02:41:40 2022 CST Abnormal exit.
tianyi@BPI-M2:~ $ sudo readsb --device-type modesbeast --beast-serial=/dev/ttyUSB0 --beast-baudrate=1000000
Mon Aug 22 02:41:52 2022 CST readsb starting up.
readsb version: wiedehopf git: 365daf3 (committed: Fri Aug 12 02:36:00 2022 0200)
Beast cfsetispeed(/dev/ttyUSB0, 1000000): Invalid argument
Mon Aug 22 02:41:52 2022 CST sdrOpen() failed, exiting!
Mon Aug 22 02:41:52 2022 CST Abnormal exit.
tianyi@BPI-M2:~ $
tianyi@BPI-M2:~ $ microcom -p /dev/ttyUSB0 -s 1000000
connected to /dev/ttyUSB0
Escape character: Ctrl-
Type the escape character to get to the prompt.
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+00FFB00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+00FFB00000000000000000000000;
+00FFB00000000000000000000000;
+0001B00000000000000000000000;
+00FFB00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0001B00000000000000000000000;
+0000B00000000000000000000000;
+0001B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+00FFB00000000000000000000000;
+00FFB00000000000000000000000;
+0000B00000000000000000000000;
+0001B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0001B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+0000B00000000000000000000000;
+00FFB00000000000000000000000;
Enter command. Try 'help' for a list of builtin commands
exiting
tianyi@BPI-M2:~ $ sudo readsb --device-type modesbeast --beast-serial=/dev/ttyUSB0
Mon Aug 22 02:43:54 2022 CST readsb starting up.
readsb version: wiedehopf git: 365daf3 (committed: Fri Aug 12 02:36:00 2022 0200)
Running Mode-S Beast via USB.
<3>FATAL: removeStale() interval 60.1 seconds! Trying for an orderly shutdown as well as possible!
<3> priorityTasksRun didn't run for 60.1 seconds!
<3> removeStale didn't run for 59.1 seconds!
Mon Aug 22 02:44:54 2022 CST Abnormal exit.
tianyi@BPI-M2:~ $
Try stty -F /dev/ttyUSB0 ispeed 1000000 ospeed 1000000
but not work for me.
tianyi@BPI-M2:~ $ lsusb
Bus 001 Device 005: ID 10c4:ea70 Silicon Labs CP2105 Dual UART Bridge
Bus 001 Device 004: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
readsb with RTLSDR is working.
The text was updated successfully, but these errors were encountered: