LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2019, 03:09 PM   #1
panorain
Member
 
Registered: Dec 2018
Location: North Pole
Distribution: LinuxMint 21.2 Mate Desktop/openSUSE Tumbleweed KDE/Plasma
Posts: 63

Rep: Reputation: Disabled
Smile GPSBabel not recognizing Garmin Nuvi-260w


Hello all my apologies for posting this thread in possibly the incorrect place. I am using LinuxMint 19.1 Tara 64 bit edition with the Mate Desktop.

Trying to setup GPSBabel for my Garmin Nuvi 260w which I just purchased second hand. The device does in fact work as far as powering up and receiving a satellite signal. Also the desktop does recognize the Garmin file folder.

The tutorial that I am following is located here: ----> http://hselab.org/garmin-gps-ubuntu.html

I have worked through this tutorial a few times now up until the following highlighted section when GPSBabel is unable to locate the Garmin:

Use GPSBabel to transfer data from GPS to computer

Code:
lsusb
shows the Garmin as follows:

Bus 003 Device 008: ID 091e:22e1 Garmin International

The permissions appear to be in order as follows. ---->

ThinkCentre-M57p:/etc/default$ ls -al /dev/bus/usb/003/*
crw-rw-r-- 1 root root 189, 256 Sep 26 13:15 /dev/bus/usb/003/001
crw-rw-rw- 1 root plugdev 189, 263 Sep 26 14:26 /dev/bus/usb/003/008

Also following the tutorial I have created the udev rule as follows: ---->

SUBSYSTEM=="usb", ATTR{idVendor}=="091e", ATTRS{idProduct}=="22e1" MODE="0666", GROUP="plugdev"

When attempting to executing the GPSBabel with the following input no Garmin device is found.

Code:
 gpsbabel -i garmin -f usb: -1
Found no Garmin USB devices.

I would really appreciate some help on this.

Thank You,
Attached Thumbnails
Click image for larger version

Name:	Garmin-Bus003-Device008.png
Views:	10
Size:	19.4 KB
ID:	31397   Click image for larger version

Name:	Garmin-udev-rule.png
Views:	13
Size:	32.6 KB
ID:	31398  

Last edited by panorain; 09-26-2019 at 03:18 PM. Reason: Wording
 
Old 09-27-2019, 12:49 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Have you checked (maybe with dmesg, as per tuitorial) that your usb device identifies as '-1'?

There's a few more non-trivial steps to that turorial which you didn't mention here at all, only that you "worked through it all up to the following". So I guess you're 100% sure that it all worked correctly.
 
Old 09-27-2019, 04:13 PM   #3
panorain
Member
 
Registered: Dec 2018
Location: North Pole
Distribution: LinuxMint 21.2 Mate Desktop/openSUSE Tumbleweed KDE/Plasma
Posts: 63

Original Poster
Rep: Reputation: Disabled
Thank you for your reply. Yes I did not mention a couple steps from the tutorial in my initial post but have completed and recompleted them and then worked up to the problem section: Use GPSBabel to transfer data from GPS to computer
Command: gpsbabel -i garmin -f usb:-1 <---- is failing to recognize the Garmin.

I have also verified that 'plugdev' is now listed in users groups.

Code:
dmesg | grep 'New USB'
[ 1.680083] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.680086] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.700108] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.700110] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.700751] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.700753] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.701263] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.701265] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.701768] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.701770] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.702268] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.702270] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.702779] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.702781] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.703276] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.703279] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.233983] usb 2-1: New USB device found, idVendor=04f2, idProduct=a13c
[ 2.233986] usb 2-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 2.697060] usb 6-2: New USB device found, idVendor=0461, idProduct=4dd7
[ 2.697063] usb 6-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 3.467062] usb 7-1: New USB device found, idVendor=17ef, idProduct=608d
[ 3.467065] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.044983] usb 2-5: New USB device found, idVendor=0cf2, idProduct=6230
[ 4.044986] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[ 65.356061] usb 7-1: New USB device found, idVendor=17ef, idProduct=608d
[ 65.356064] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 300.585458] usb 3-1: New USB device found, idVendor=091e, idProduct=22e1
[ 300.585462] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=5
[ 1921.235300] usb 3-1: New USB device found, idVendor=091e, idProduct=22e1
[ 1921.235303] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=5
[ 2319.748040] usb 3-1: New USB device found, idVendor=091e, idProduct=22e1
[ 2319.748044] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=5
[ 3426.016016] usb 3-1: New USB device found, idVendor=091e, idProduct=22e1
[ 3426.016019] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=5
[ 3645.792802] usb 3-1: New USB device found, idVendor=091e, idProduct=22e1
[ 3645.792805] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=5
[ 3775.647254] usb 8-2: New USB device found, idVendor=091e, idProduct=22e1
[ 3775.647256] usb 8-2: New USB device strings: Mfr=0, Product=0, SerialNumber=5
[ 3929.470361] usb 3-1: New USB device found, idVendor=091e, idProduct=22e1
[ 3929.470364] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=5
[ 4328.139202] usb 3-1: New USB device found, idVendor=091e, idProduct=22e1
[ 4328.139205] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=5
[15160.085425] usb 3-1: New USB device found, idVendor=091e, idProduct=22e1
[15160.085430] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=5

It looks as if the Garmin is seen under 3-1 or 8-2.

Code:
lsusb
reports the Garmin as:

Bus 002 Device 005: ID 0cf2:6230 ENE Technology, Inc. SD Card Reader (UB623X)
Bus 002 Device 002: ID 04f2:a13c Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003: ID 17ef:608d Lenovo
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 0461:4dd7 Primax Electronics, Ltd
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 008: ID 091e:22e1 Garmin International
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

1. Do you know if command
Code:
dmesg | grep 'New USB'
is adequate to use instead of sifting through the entire output of?
Code:
dmesg
The tutorial lists that command as an option to use.

2. I ended up looking through dmesg output and came upon the following lines that refer to the Garmin I believe. There are multiple sections of the entries toward the end of dmesg output.

[ 300.585458] usb 3-1: New USB device found, idVendor=091e, idProduct=22e1
[ 300.408389] usb 3-1: new full-speed USB device number 2 using uhci_hcd
[ 300.585462] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=5
[ 302.060481] scsi 5:0:0:0: Direct-Access Garmin nuvi Flash 1.00 PQ: 0 ANSI: 5
[ 302.063487] scsi 5:0:0:1: Direct-Access Garmin nuvi SD Card 1.00 PQ: 0 ANSI: 5


3. I am going to do some more reading on the GPSBabel website located here. ----> https://www.gpsbabel.org/readme.html

Thanks

Last edited by panorain; 09-27-2019 at 05:22 PM. Reason: wording, additional input
 
Old 09-28-2019, 02:53 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
OK, first of all you put a space where there shouldn't be one - this is the correct command:
Code:
gpsbabel -i garmin -f usb:-1
Secondly I am now not so sure that the "-1" refers to how the device shows up in the kernel log (dmesg).
There's many moving parts and tricky steps in that tutorial; if that space doesn't fix it you'll have to retrace ALL your steps until you find what went wrong.
 
Old 10-02-2019, 12:54 PM   #5
panorain
Member
 
Registered: Dec 2018
Location: North Pole
Distribution: LinuxMint 21.2 Mate Desktop/openSUSE Tumbleweed KDE/Plasma
Posts: 63

Original Poster
Rep: Reputation: Disabled
Thanks for your reply, I came across a couple things that may be in some way helpful.

Quote:
OK, first of all you put a space where there shouldn't be one - this is the correct command:
When I enter the following in terminal I receive no readable output whatsoever only another prompt below.

Code:
gpsbabel -i garmin -f usb:-1
<---- No readable output only another prompt

When I enter the following in terminal I receive the following message.

Code:
gpsbabel -i garmin -f usb:
<---- Found no Garmin USB devices.

I have also since seen this in the following link relating to the GARMIN Nuvi 260w.

https://www.gpsbabel.org/htmldoc-dev...armin.html#gpx

Following section: The following Garmin GPS receivers are supported, but they do not support Garmin communication protocol and don't work with the garmin option. To use these receivers, read or write GPX files from the mass storage device as mounted on your computer.

The Nuvi 260w is in fact on the list.

So, what I have done is subscribe to the GPSBabel support list found here: ----> https://www.gpsbabel.org/lists.html

Thank you for your help.

Last edited by panorain; 10-02-2019 at 12:57 PM. Reason: Adding Bold type to Nuvi 260w
 
  


Reply

Tags
gps, signal, tutorial



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GPSbabel convert from gpx file to csv file Can't get all elements of waypoints pizzipie Linux - General 2 11-23-2015 10:10 AM
LXer: Garmin Nuvifone Clarification: Linux-based but not Android LXer Syndicated Linux News 0 12-26-2008 05:20 PM
So I just installed gpsbabel ... WHERE IS IT? lumix Linux - Newbie 9 07-18-2007 02:46 PM
Garmin GPS V and NTPD figadiablo Linux - Hardware 1 04-08-2005 03:58 PM
Garmin GPS-18 - Need a Driver mWare Linux - Hardware 0 06-15-2004 10:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration