Opened 16 years ago

Last modified 13 years ago

#1170 reopened bug

GPS Plugin non-functional (OS X) for Serial Bus/Com port units

Reported by: jctull Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: C++ Plugins Version: Trunk
Keywords: gps plugin Cc: pcav
Must Fix for Release: No Platform: OS X
Platform Version: OS X 10.5.4 Awaiting user input: no

Description

Windows: When trying to download or upload gpx information from/to a GPS device, nothing happens (error reported about invalid layer when downloading). In order to get gpx download or upload support, you have to manually code the path to the gpx file in the GPS Device settings. E.g., to get a waypoint layer loaded from the GPS device, I have to click on the device settings, go to waypoint download and make the line look like this: %babel -i garmin -o gpx -f com4 -F "C:\Documents and Settings\User Name\Desktop\test.gpx" You have to hit "update device" to get this setting to stick. Then I have to fill in the "Save as" box in the main GPS tools dialog with the path to the above test.gpx file. I tell qgis to call the new layer "test", but anything will work here.

OS X: In OS X, nothing shows up under Port, so you have to code the port into the device settings. In my case, with a serial to usb device, I replace %in (for a download from gps device) with -f /dev/cu.usbserial-ftCASM51. I also had to add -F before %out to get the transfer to actually save the gpx file to disk. (I'm thinking that -F should be added to the %out or %in strings in the C++ code for this plugin.)

Possibly a dev can test this with gps emulation software. The only link for Windows I found was a commercial software with a 14-day free trial called gpsgate.

Change History (13)

comment:1 by pcav, 15 years ago

Still true?

comment:2 by lutra, 15 years ago

Windows: what version/installer and gps unit did you used?

With the OSGeo4W installer (that installs also gpsbabel) and a Garmin usb unit (gpsmap 60c) it is very straighforward. Just plug the gps unit and qgis will make the connection without the need to change any of the configuration parameters.

Please give feedback.

comment:3 by lutra, 15 years ago

Resolution: worksforme
Status: newclosed

Works for me under windows, garmin usb gps, qgis/gpsbabel installed from osgeo4w. Works also under linux.

Feel free to reopen the ticket if there are still issues under Mac.

comment:4 by jctull, 15 years ago

Milestone: Version 1.0.3Version 1.2.0
Resolution: worksforme
Status: closedreopened
Summary: GPS Plugin non-functional (Windows and OS X)GPS Plugin non-functional (Windows and OS X) for Serial Bus/Com port units

I'm reopening this and renaming to reflect serial bus usage. If someone can verify that using a serial bus gps unit works, then let's call it done. Otherwise, I think there are problems with com ports/serial bus that have not been resolved. Note that this is not just a Windows problem despite the platform selection in the bug report.

in reply to:  4 comment:5 by lutra, 15 years ago

Cc: pcav added

Replying to jctull:

. Note that this is not just a Windows problem despite the platform selection in the bug report.

Hi, I cannot test the OsX platform, but I can test a serial gps under windows. I'll let you know.

in reply to:  4 comment:6 by lutra, 15 years ago

Replying to jctull:

I'm reopening this and renaming to reflect serial bus usage. If someone can verify that using a serial bus gps unit works, then let's call it done. Otherwise, I think there are problems with com ports/serial bus that have not been resolved. Note that this is not just a Windows problem despite the platform selection in the bug report.

I tested a Garmin eTrex serial GPS unit, used Windows XP, qgis 1.0.2 and 1.2 installed with osgeo4w *AND* gpsbabel installed also with osgeo4w. It works out of the box with no need of making any change in the configuration of the devices ("edit devices").

I cannot make tests with OsX as I don't have a Mac and I don't know any person that has one and can let me try qgis.

comment:7 by kyngchaos, 15 years ago

I had mixed luck with this a few years ago. I used to build my own gpsbabel + libusb on OSX because there was no other CLI build available. Now I bundle the "official" CLI build in the OSX Qgis, but it's unclear whether they include libusb support.

I have access at work to an old Garmin serial GPS I can try.

in reply to:  7 comment:8 by lutra, 15 years ago

Platform: WindowsOS X
Platform Version: XP and OS X 10.5.4OS X 10.5.4

Replying to kyngchaos:

I have access at work to an old Garmin serial GPS I can try.

thanks, let us know.

comment:9 by lutra, 15 years ago

Summary: GPS Plugin non-functional (Windows and OS X) for Serial Bus/Com port unitsGPS Plugin non-functional (OS X) for Serial Bus/Com port units

comment:10 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0

It is this still true? Please check and confirm, or close it.

comment:11 by jctull, 14 years ago

This still does not work on OS X Snow Leopard with latest trunk build of qgis.

comment:12 by kyngchaos, 14 years ago

Well, I can't look into this. Looks like our old serial GPS unit at work died, so I have no way to check it out.

comment:13 by jctull, 13 years ago

This problem persists on OS X.

Note: See TracTickets for help on using tickets.