gpsbabel and eTrex 30 usb issue under Ubuntu 15.10

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

gpsbabel and eTrex 30 usb issue under Ubuntu 15.10

Hadmut Danisch
Hi,

just ran into a problem, maybe someone has seen this before and can help.

I'm using gpsbabel for about 10 years to up- and download tracks and waypoints to and from several eTrex devices. Familiar with owner settings, kernel modules etc.

I've recently upgraded my machine from ubuntu 14.04 to 15.10, and since then gpsbabel hangs and spits out

"Could not start session in a reasonable number of tries."

when trying to dowload waypoints from my Garmin eTrex 30 (USB not broken, mass storage works). Strangely, gpsbabel (1.5.0) works well on that machine with my old etrex CX, problem just occurs with my eTrex 30.

an strace shows that gpsbabel runs into an endless loop:


21689 open("/dev/bus/usb/004/025", O_RDWR) = 3
21689 ioctl(3, USBDEVFS_CLAIMINTERFACE, 0x7ffe9479f5ac) = 0
21689 ioctl(3, USBDEVFS_SUBMITURB, 0x7ffe9479f000) = 0
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 1 (out [3], left {0, 945})
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = 0
21689 ioctl(3, USBDEVFS_SUBMITURB, 0x7ffe9479f000) = 0
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 1 (out [3], left {0, 47})
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = 0
21689 ioctl(3, USBDEVFS_SUBMITURB, 0x7ffe9479f000) = 0
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 1 (out [3], left {0, 53})
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = 0
21689 ioctl(3, USBDEVFS_SUBMITURB, 0x7ffe9479f010) = 0
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout)
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout)
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout)
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout)
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout)
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)

and so on until it finally aborts with timeout.


Any idea what's going wrong?


regards
Hadmut



------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: gpsbabel and eTrex 30 usb issue under Ubuntu 15.10

Hadmut Danisch
Btw.,

the command i used is

gpsbabel -w -r -t -i garmin -f usb: -o gpx -F /tmp/x.gpx


and I just tried a self-compiled 1.5.2, which shows same behaviour.


regards
Hadmut




------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: gpsbabel and eTrex 30 usb issue under Ubuntu 15.10

Robert Lipe-2
In reply to this post by Hadmut Danisch

Etrex 30 isn't a Garmin protocol device, is it? Read and write gpx from the mounted drive volume.

Pretty much all the outdoor class garmins of the last 10 years are mass storage devices

On Nov 24, 2015 6:20 PM, "Hadmut Danisch" <[hidden email]> wrote:
Hi,

just ran into a problem, maybe someone has seen this before and can help.

I'm using gpsbabel for about 10 years to up- and download tracks and waypoints to and from several eTrex devices. Familiar with owner settings, kernel modules etc.

I've recently upgraded my machine from ubuntu 14.04 to 15.10, and since then gpsbabel hangs and spits out

"Could not start session in a reasonable number of tries."

when trying to dowload waypoints from my Garmin eTrex 30 (USB not broken, mass storage works). Strangely, gpsbabel (1.5.0) works well on that machine with my old etrex CX, problem just occurs with my eTrex 30.

an strace shows that gpsbabel runs into an endless loop:


21689 open("/dev/bus/usb/004/025", O_RDWR) = 3
21689 ioctl(3, USBDEVFS_CLAIMINTERFACE, 0x7ffe9479f5ac) = 0
21689 ioctl(3, USBDEVFS_SUBMITURB, 0x7ffe9479f000) = 0
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 1 (out [3], left {0, 945})
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = 0
21689 ioctl(3, USBDEVFS_SUBMITURB, 0x7ffe9479f000) = 0
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 1 (out [3], left {0, 47})
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = 0
21689 ioctl(3, USBDEVFS_SUBMITURB, 0x7ffe9479f000) = 0
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 1 (out [3], left {0, 53})
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efc8) = 0
21689 ioctl(3, USBDEVFS_SUBMITURB, 0x7ffe9479f010) = 0
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout)
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout)
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout)
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout)
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)
21689 select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout)
21689 ioctl(3, USBDEVFS_REAPURBNDELAY, 0x7ffe9479efd8) = -1 EAGAIN (Resource temporarily unavailable)

and so on until it finally aborts with timeout.


Any idea what's going wrong?


regards
Hadmut



------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: gpsbabel and eTrex 30 usb issue under Ubuntu 15.10

Hadmut Danisch


On 25.11.2015 04:18, Robert Lipe wrote:
>
> Etrex 30 isn't a Garmin protocol device, is it? Read and write gpx
> from the mounted drive volume.
>
> Pretty much all the outdoor class garmins of the last 10 years are
> mass storage devices
>

My two etrexes claim otherwise.

Both of them have two USB modes, one for Garmin protocol and one as a
mass storage.


The old one (and I've used gpsbabel with it for about 8 years) always
starts in Garmin mode, but has a settings option to change into mass
storage mode for the micro sd card, which must be activated every time
you want to use it. Mass storage gives access to map files and full gpx
tracking, but not to the waypoints, routes and the tracks the device
uses itself.


The new one (eTrex 30) behaves slightly different, for it has a
permanent option between two modes. In mass storage mode it always
behaves as mass storage, while in garmin mode it opens  a requester to
choose between garmin and mass storage modes every time when connected.
In contrast to the older etrex, it offers two mass storages, one to the
internal storage (which the old one didn't offer), and one to the sd
card, which can both be mounted simultaneously.

However, both devices offer the Garmin mode.


regards
Hadmut
 

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Loading...