You are not logged in.

#1 2016-09-17 18:49:28

paneves
Member
Registered: 2016-01-17
Posts: 28

Garmin GPS

Hi:

I'm trying to connect my Garmin Montana 600 GPS to my laptop in "live mode", that is, in such a way that applications such as qgis, opencpn, qlandkartegt can read my position (and other GPS info) in real time.
I can use this easily with Debian/Ubuntu/Mint, through gpsd, but not in Arch.

I have the following systemd units running when the GPS is not plugged in (all loaded, active and running):

- gpsd.service
- gpsd.socket
- system-gpsdctl.slice

When I plug the GPS, two more units come up in systemd:

- dev-gps0.device (loaded, active, pluged)
- gpsctl@ttyUSB0.service (loaded, active, exited)

On dmesg I have:

usb 2-2: new high-speed USB device number 7 using xhci_hcd
garmin_gps 2-2:1.0: Garmin GPS usb/tty converter detected
Garmin GPS usb/tty converter now attached to ttyUSB0

A gpsd process is also running:
ps -A | grep gpsd
1647 ?        00:00:00 gpsd

But I cannot access the gps unit with any software. I don't know whether it's a permission issue (to which groups should I belong to?) or anything else. And I don't really know how to troubleshoot the issue.
I've found some info here: https://bbs.archlinux.org/viewtopic.php?id=192016 but it doesn't help anymore.

If I try to start gpsd manually with: sudo gpsd -bnN /dev/ttyUSB0, I get:

gpsd:ERROR: device open of /dev/ttyUSB0 failed: Device or resource busy - retrying read-only
gpsd:ERROR: read-only device open of /dev/ttyUSB0 failed: No such device
gpsd:ERROR: initial GPS device /dev/ttyUSB0 open failed

Any help is very welcomed.

Thanks in advance:

Pedro

Offline

#2 2016-09-17 19:26:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,797

Re: Garmin GPS

Who owns dev/ttyUSB0   (What is the output of ls -l /dev/ttyUSB0  )


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2016-09-17 19:30:19

paneves
Member
Registered: 2016-01-17
Posts: 28

Re: Garmin GPS

root does:

crw-rw---- 1 root uucp 188, 0 set 17 20:31 /dev/ttyUSB0

and my user belongs to uucp group

Last edited by paneves (2016-09-17 19:32:51)

Offline

#4 2016-09-17 19:35:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,797

Re: Garmin GPS

Okay, but it is also in the uucp group.  That group has read/write permission on the device.   Is your user a member of uucp   ?
what is the output of groups    ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#5 2016-09-17 19:55:04

paneves
Member
Registered: 2016-01-17
Posts: 28

Re: Garmin GPS

yes. I am a member of uucp

$ groups
lp wheel uucp storage power users

Offline

Board footer

Powered by FluxBB