Thanks, Jeremiah. This looks like progress. "gpsmon /dev/ttyUSB0" now works 
without "sudo". However, cgps and Foxtrotgps still can't see the data. So, 
it looks  like there's still another piece to the puzzle.

On Wednesday, April 26, 2017 at 9:22:14 PM UTC-4, Chuck Lyon wrote:
>
> I am working on a 64-bit machine on which I installed the Ubuntu stock 
> image. I am also using the Mate  desktop and have  installed gpsd and 
> gpsd-clients.
>
> I know this is supposed to be easy. I  see posts all over the internet 
> stating that this  device is "known to work" However, FoxtrotGPS is not 
> able to read any gps data. Furthermore, gpsmon /dev/ttyUSB0
> returns the following:
>
>> gpsmon:ERROR: device open of /dev/ttyUSB0 failed: Permission denied - 
>> retrying read-only
>> gpsmon:ERROR: read-only device open of /dev/ttyUSB0 failed: Permission 
>> denied
>
>
> while sudo  gpsmon /dev/ttyUSB0 returns a full set of GPS data.
>
> I found some GPSD installation instructionsl 
> <http://www.catb.org/gpsd/installation.html> that state:
>
>> Ensure that device permissions will enable gpsd to read from and write to 
>> GPS devices even after it drops root privileges. If you are running Fedora 
>> Core, Ubuntu, or stock Debian you can skip this step, as the stock 
>> configuration has the right properties.
>
> and:
>
>> Before dropping privileges, gpsd will ensure that it has access to 
>> devices given to it on the command line by forcing their group read and 
>> write permissions on.
>
>
> So, in spite of  the fact that it shouldn't happen in Ubuntu, does the 
> gpsmon behavior indicate that the permissions are wrong and "sudo" is 
> forcing them to read/write? If so, exactly do I have to do to check and fix 
> them?
>
> Also, I found a suggestion to run gpspipe -w to test gpsd. Here is the 
>> result of that:
>>
>> {"class":"VERSION","release":"3.15","rev":"3.15-2build1","proto_major":3,"proto_minor":11}
>> {"class":"DEVICES","devices":[]}
>>
>> {"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false,"split24":false,"pps":false}
>
>
> Is this normal output? or is the fact that 
> {"class":"DEVICES","devices":[]} is an empty array a problem? or something 
> else?
>
>

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to