From 464fca96792a23660cb7f4945ca24fe510ff587e Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 3 Oct 2023 01:13:37 +0000 Subject: [PATCH] eg25-control: actually, dont dump /dev/ttyUSB1 --- pkgs/additional/eg25-control/eg25-control | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/additional/eg25-control/eg25-control b/pkgs/additional/eg25-control/eg25-control index 8b6e1932..74037eac 100755 --- a/pkgs/additional/eg25-control/eg25-control +++ b/pkgs/additional/eg25-control/eg25-control @@ -410,10 +410,12 @@ class Sequencer: self._at_structured_cmd('QGPSLOC', value='0', check=False) logger.debug('dumping AGPS positioning mode bitfield') self._at_structured_cmd('QGPSCFG', 'agpsposmode') - logger.debug('dumping last modem GPS output, if available') - gpsout = self.executor.read_file(GPS_STREAM_ENDPOINT) - gpslines = gpsout.decode('utf-8').split('\n')[-12:] - logger.debug('\n'.join(gpslines)) + + # N.B.: /dev/ttyUSB1 can block indefinitely on reads (particularly when competing with another consumer) + # logger.debug('dumping last modem GPS output, if available') + # gpsout = self.executor.read_file(GPS_STREAM_ENDPOINT) + # gpslines = gpsout.decode('utf-8').split('\n')[-12:] + # logger.debug('\n'.join(gpslines)) @log_scope("configuring audio...", "audio configured") def enable_audio(self) -> None: