Моё сообщение решили проигнорировать? Удачи! Она вам понадобится.
А злиться-то зачем. Прочитал я эту статью вдоль и поперек и по диагонали. Я добросовестный. Понял из нее, что после su - надо какой-то параметр ставить, вот и ставил команды после тире. К сожалению статья, как обычно, грешит излишней лаконичностью. Только сейчас понял, что после тире ничего ставить не надо.
Получается вот что:
[ura@comp-atom-cpu-4e6966 ~]$ su -
Password:
[root@comp-atom-cpu-4e6966 ~]# gpsd -p /dev/gps
gpsd: invalid option -- 'p'
usage: gpsd [-b] [-n] [-N] [-D n] [-F sockfile] [-G] [-P pidfile] [-S port] [-h] device...
Options include:
-b = bluetooth-safe: open data sources read-only
-n = don't wait for client connects to poll GPS
-N = don't go into background
-F sockfile = specify control socket location
-G = make gpsd listen on INADDR_ANY
-P pidfile = set file to record process ID
-D integer (default 0) = set debug level
-S integer (default 2947) = set port for daemon
-h = help message
-V = emit version and exit.
A device may be a local serial device for GPS input, or a URL of the form:
{dgpsip|ntrip}://[user:passwd@]host[:port][/stream]
gpsd://host[:port][/device][?protocol]
in which case it specifies an input source for GPSD, DGPS or ntrip data.
The following driver types are compiled into this gpsd instance:
Generic NMEA
Ashtech
Delorme TripMate
Delorme EarthMate (pre-2003, Zodiac chipset)
Furuno Electric GH-79L4
Garmin NMEA
MTK-3301
OceanServer Digital Compass OS5000
San Jose Navigation FV18
True North
AIVDM
EverMore binary
Garmin USB binary
Garmin Serial binary
iTalk binary
oncore binary
Navcom binary
SiRF binary
SuperStarII binary
Trimble TSIP
uBlox UBX binary
Zodiac binary
RTCM104V2
RTCM104V3
Garmin Simple Text
[root@comp-atom-cpu-4e6966 ~]#
[ura@comp-atom-cpu-4e6966 ~]$ su -
Password:
[root@comp-atom-cpu-4e6966 ~]# gpsd -p /dev/ttyUSB3
gpsd: invalid option -- 'p'
usage: gpsd [-b] [-n] [-N] [-D n] [-F sockfile] [-G] [-P pidfile] [-S port] [-h] device...
Options include:
-b = bluetooth-safe: open data sources read-only
-n = don't wait for client connects to poll GPS
-N = don't go into background
-F sockfile = specify control socket location
-G = make gpsd listen on INADDR_ANY
-P pidfile = set file to record process ID
-D integer (default 0) = set debug level
-S integer (default 2947) = set port for daemon
-h = help message
-V = emit version and exit.
A device may be a local serial device for GPS input, or a URL of the form:
{dgpsip|ntrip}://[user:passwd@]host[:port][/stream]
gpsd://host[:port][/device][?protocol]
in which case it specifies an input source for GPSD, DGPS or ntrip data.
The following driver types are compiled into this gpsd instance:
Generic NMEA
Ashtech
Delorme TripMate
Delorme EarthMate (pre-2003, Zodiac chipset)
Furuno Electric GH-79L4
Garmin NMEA
MTK-3301
OceanServer Digital Compass OS5000
San Jose Navigation FV18
True North
AIVDM
EverMore binary
Garmin USB binary
Garmin Serial binary
iTalk binary
oncore binary
Navcom binary
SiRF binary
SuperStarII binary
Trimble TSIP
uBlox UBX binary
Zodiac binary
RTCM104V2
RTCM104V3
Garmin Simple Text
[root@comp-atom-cpu-4e6966 ~]#
Приемник при этом включен и мигает (ловит).
Ruslandh спасибо! Попробую варианты.