Parcourir la source

further notes on GPRS issues

clementinecomputing il y a 5 ans
Parent
commit
23d8ea4fb2
1 fichiers modifiés avec 23 ajouts et 0 suppressions
  1. 23 0
      experiment/production/Misc-Notes.md

+ 23 - 0
experiment/production/Misc-Notes.md

@@ -136,6 +136,29 @@ apt autoremove -y --purge
 
 ```
 
+### GPRS fiddling
+
+I'm still trying to get GPRS to work consistently.
+
+Once the system is setup, it seems like it's pretty consistent, but getting `/dev/ttyGPRS` to be
+consistently tied to the appropriate device is proving difficult...sometimes `/dev/ttyAMA0` works,
+sometimes it's `/dev/serial0`, sometimes it's `/dev/ttyUSB0`, othertimes it looks like `/dev/ttyUSB2` works.
+
+I notice messages of this sort happening most recently which could or could not be related to the the GPRS not working (`/var/log/syslog`):
+
+```
+Jan 30 11:56:23 raspberrypi systemd[1]: serial-getty@ttyAMA0.service: Succeeded.
+Jan 30 11:56:23 raspberrypi systemd[1]: serial-getty@ttyAMA0.service: Service RestartSec=100ms expired, scheduling restart.
+Jan 30 11:56:23 raspberrypi systemd[1]: serial-getty@ttyAMA0.service: Scheduled restart job, restart counter is at 198.
+Jan 30 11:56:23 raspberrypi systemd[1]: Stopped Serial Getty on ttyAMA0.
+Jan 30 11:56:23 raspberrypi systemd[1]: Started Serial Getty on ttyAMA0.
+```
+
+I followed [this](https://raspberrypi.stackexchange.com/questions/39165/how-can-i-stop-the-auto-login-console-and-getty-in-raspbian-8-jessie):
+
+```
+systemctl stop serial-getty@ttyAMA0.service
+```