Bug 24803

Summary: gpsd won't run
Product: Mageia Reporter: Tony Blackwell <tablackwell>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, kostuek, lists.jjorge, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: gpsd CVE:
Status comment:

Description Tony Blackwell 2019-05-13 02:21:13 CEST
Description of problem:Trying to get a gps dongle running. (Haicom HI-206-USB)
Haven't tried it for about 3 yuears but at that time Mageia would give text output of position.  Now just garbage.

Problem appears to be that gpsd won't run in M7b3 plus updates to today.  Its installed, MCC -> Services shows it with tick in box to run at boot, but it doesn't, and using the Start button won't start it.


Version-Release number of selected component (if applicable):


How reproducible:on 3 different x86_64 boxes


Steps to Reproduce:
1.
2.
3.
Comment 1 Marja Van Waes 2019-05-13 17:20:51 CEST
Assigning to all packagers collectively, since there is no registered maintainer for this package.

Also CC'ing some committers.

Assignee: bugsquad => pkg-bugs
CC: (none) => geiger.david68210, kostuek, lists.jjorge, marja11

Comment 2 David GEIGER 2019-05-18 09:12:23 CEST
Have tried with latest gpsd Cauldron update?

gpsd-3.18.1-5.mga7
Comment 3 David GEIGER 2019-05-18 09:13:00 CEST
s/Have/Have you/
Comment 4 Tony Blackwell 2019-05-19 17:15:38 CEST
OK, with latest update problem is fixed/resolved

I'll flesh it out a bit below, for anyone else following this threqd later.

Firstly is the dongle there?
# gpsctl
/dev/ttyUSB0 identified as a SiRF at 4800 baud.

Next, can I read its output:
# stty -F /dev/ttyUSB0 ispeed 4800 && cat </dev/ttyUSB0
get garbage:
���jm�''&&&&&&&&��/.........�k(�    
�����)GP�m�:��	
�����		
                -�`v����)GP�m�:��	
����		
                -�`v����)GP�m�:��	
^����		
                -�`v�����^Z

More info came on 2nd gpsctl call, with device:

# gpsctl /dev/ttyUSB0
/dev/ttyUSB0 identified as a SiRF GSW3.5.010HzCallBack_3.5.00.00-SDK-3EP2.01 -090609-NMEA4800_DM1_G1_G13On_Off.

NOw after latest cauldron update, gpsd is running:
$ ps -ef|grep gpsd
nobody     864     1  0 13:01 ?        00:00:00 /usr/sbin/gpsd
tony     17890 17822  0 14:07 pts/2    00:00:00 grep --color gpsd

cat </dev/ttyUSB0$GPRMC,050423.000,A,3716.6322,N,02306.4439,E,0.25,175.86,170519,,,A*64
$GPGGA,050424.000,3716.6321,N,02306.4438,E,1,07,1.1,2.6,M,34.3,M,,0000*55
$GPGSA,A,3,13,28,30,07,15,05,17,,,,,,1.9,1.1,1.6*36
$GPRMC,050424.000,A,3716.6321,N,02306.4438,E,0.25,173.35,170519,,,A*6F
$GPGGA,050425.000,3716.6321,N,02306.4438,E,1,07,1.1,2.7,M,34.3,M,,0000*55
$GPGSA,A,3,13,28,30,07,15,05,17,,,,,,1.9,1.1,1.6*36
$GPRMC,050425.000,A,3716.6321,N,02306.4438,E,0.25,182.79,170519,,,A*68
$GPGGA,050426.000,3716.6320,N,02306.4438,E,1,07,1.1,2.7,M,34.3,M,,0000*57
$GPGSA,A,3,13,28,30,07,15,05,17,,,,,,1.9,1.1,1.6*36
$GPRMC,050426.000,A,3716.6320,N,02306.4438,E,0.27,172.02,170519,,,A*6B
$GPGGA,050427.000,3716.6319,N,02306.4438,E,1,07,1[root@white1 tony]# ^C
[root@white1 tony]# ^C

Note from 'man gpsctl' :
BUGS
       SiRF GPSes can only be identified by the success of an attempt to flip
       them into SiRF binary mode. Thus, the process of probing one of these
       running in NMEA will change its behavior.

So after fixed with latest cauldron, may still be an issue with SiRF as above, but now working for opencpn, all looking good after I configured the device for it.

With thanks,
Tony

Resolution: (none) => FIXED
Status: NEW => RESOLVED