Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Anybody have garmintools working?

 
Goto page 1, 2, 3
   Linux (Home) -> Slackware RSS
Next:  which dvb TV tuner app for 12.2?  
Author Message
root

External


Since: Sep 02, 2004
Posts: 128



(Msg. 1) Posted: Sun Dec 14, 2008 1:06 pm
Post subject: Anybody have garmintools working?
Archived from groups: alt>os>linux>slackware (more info?)

I am running Slack 12.1 and am trying to get garmintools 0.9
to run. It makes OK, but when I run garmin_get_info it
doesn't see the device. I can't access ttyUSB0 either.

I have tried enabling every USB option that I could
think might affect the problem, but no.

Any ideas?

Thanks.
Back to top
Login to vote
~kurt

External


Since: Jul 16, 2006
Posts: 81



(Msg. 2) Posted: Mon Dec 15, 2008 9:12 am
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

root <NoEMail DeleteThis @home.org> wrote:
> I am running Slack 12.1 and am trying to get garmintools 0.9
> to run. It makes OK, but when I run garmin_get_info it
> doesn't see the device. I can't access ttyUSB0 either.

Does /dev/ttyUSB0 exist?

- Kurt
Back to top
Login to vote
Helmut Hullen

External


Since: Dec 15, 2007
Posts: 53



(Msg. 3) Posted: Mon Dec 15, 2008 3:16 pm
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hallo, root,

Du meintest am 14.12.08:

> I am running Slack 12.1 and am trying to get garmintools 0.9
> to run. It makes OK, but when I run garmin_get_info it
> doesn't see the device. I can't access ttyUSB0 either.

Try to preset "/dev/ttyUSB0" (and perhaps some other devices) in

/lib/udev/devices


Viele Gruesse
Helmut

"Ubuntu" - an African word, meaning "Slackware is too hard for me".
Back to top
Login to vote
root

External


Since: Sep 02, 2004
Posts: 128



(Msg. 4) Posted: Tue Dec 16, 2008 9:42 pm
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

~kurt <actinouranium DeleteThis @earthlink.net> wrote:
> root <NoEMail DeleteThis @home.org> wrote:
>> I am running Slack 12.1 and am trying to get garmintools 0.9
>> to run. It makes OK, but when I run garmin_get_info it
>> doesn't see the device. I can't access ttyUSB0 either.
>
> Does /dev/ttyUSB0 exist?
>
> - Kurt

There is an entry in /dev for ttyUSB0, but if I try to cat
from it I always get No Such Device. I don't have a
/proc/usb either. I installed libusb, but lsusb always
gives me nothing.

I don't think I can enable anything else in the USB kernel
options. I'm not using the kernel configuration that came
with Slack, I trimmed out the stuff I didn't want.

Thanks for responding.
Back to top
Login to vote
root

External


Since: Sep 02, 2004
Posts: 128



(Msg. 5) Posted: Tue Dec 16, 2008 9:49 pm
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Helmut Hullen <helmut.RemoveThis@hullen.de> wrote:
> Hallo, root,
>
> Du meintest am 14.12.08:
>
>> I am running Slack 12.1 and am trying to get garmintools 0.9
>> to run. It makes OK, but when I run garmin_get_info it
>> doesn't see the device. I can't access ttyUSB0 either.
>
> Try to preset "/dev/ttyUSB0" (and perhaps some other devices) in
>
> /lib/udev/devices
>
>
> Viele Gruesse
> Helmut
>
> "Ubuntu" - an African word, meaning "Slackware is too hard for me".
>

I'm not familiar with the entries in the directory /lib/udev/devices.
Here is what an ls -l shows me:

lrwxrwxrwx 1 root root 11 Jul 8 03:50 core -> /proc/kcore
lrwxrwxrwx 1 root root 13 Jul 8 03:50 fd -> /proc/self/fd/
prw------- 1 root root 0 Nov 20 2005 initctl|
crw-rw-rw- 1 root root 1, 3 Nov 20 2005 null
crw-rw---- 1 root root 108, 0 Nov 20 2005 ppp
lrwxrwxrwx 1 root root 15 Jul 8 03:50 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jul 8 03:50 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jul 8 03:50 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root 1, 5 Nov 20 2005 zero

Should there be some entries
defining usb devices? If so, what would they be

Thanks for responding.
Back to top
Login to vote
Helmut Hullen

External


Since: Dec 15, 2007
Posts: 53



(Msg. 6) Posted: Wed Dec 17, 2008 8:21 am
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hallo, root,

Du meintest am 16.12.08:

>>> I am running Slack 12.1 and am trying to get garmintools 0.9
>>> to run. It makes OK, but when I run garmin_get_info it
>>> doesn't see the device. I can't access ttyUSB0 either.

> There is an entry in /dev for ttyUSB0, but if I try to cat
> from it I always get No Such Device.

What tells

ls -l /dev/ttyUSB0

Maybe the rights don't fit.

Viele Gruesse
Helmut

"Ubuntu" - an African word, meaning "Slackware is too hard for me".
Back to top
Login to vote
Helmut Hullen

External


Since: Dec 15, 2007
Posts: 53



(Msg. 7) Posted: Wed Dec 17, 2008 8:28 am
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hallo, root,

Du meintest am 16.12.08:

>> Try to preset "/dev/ttyUSB0" (and perhaps some other devices) in
>>
>> /lib/udev/devices

> I'm not familiar with the entries in the directory /lib/udev/devices.
> Here is what an ls -l shows me:

[...]

no USB device preset.

> Should there be some entries
> defining usb devices?

"udev" shouldn't need it, but sometimes it's necessary to preset such an
entry.

> If so, what would they be

Sorry - I don't now.
"devices.txt" in the kernel source documentation says "major 188",
"char".

Viele Gruesse
Helmut

"Ubuntu" - an African word, meaning "Slackware is too hard for me".
Back to top
Login to vote
Beej Jorgensen

External


Since: Sep 19, 2007
Posts: 41



(Msg. 8) Posted: Wed Dec 17, 2008 9:16 am
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

root <NoEMail.TakeThisOut@home.org> wrote:
>I am running Slack 12.1 and am trying to get garmintools 0.9
>to run. It makes OK, but when I run garmin_get_info it
>doesn't see the device. I can't access ttyUSB0 either.

A few things to try:

1. Try gpsbabel. Even if it doesn't do what you need, it might help
troubleshoot.

2. Make sure the perms are right, or be gutsy and run as root. Smile

3. Do you have multiple USB serial devices? Might it be ttyUSB1?

4. Does anything show up in /var/log/messages when you plug in the GPS?
("new full speed USB device", etc?)

-Beej
Back to top
Login to vote
root

External


Since: Sep 02, 2004
Posts: 128



(Msg. 9) Posted: Wed Dec 17, 2008 10:04 am
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Helmut Hullen <helmut DeleteThis @hullen.de> wrote:
>
> What tells
>
> ls -l /dev/ttyUSB0
>
> Maybe the rights don't fit.
>
> Viele Gruesse
> Helmut
>
> "Ubuntu" - an African word, meaning "Slackware is too hard for me".
>

For ls -l /dev/ttyUSB0:

crw-rw-rw- 1 root uucp 188, 0 Mar 25 2001 /dev/ttyUSB0
Back to top
Login to vote
root

External


Since: Sep 02, 2004
Posts: 128



(Msg. 10) Posted: Wed Dec 17, 2008 10:14 am
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Beej Jorgensen <beej.RemoveThis@beej.us> wrote:
> root <NoEMail.RemoveThis@home.org> wrote:
>>I am running Slack 12.1 and am trying to get garmintools 0.9
>>to run. It makes OK, but when I run garmin_get_info it
>>doesn't see the device. I can't access ttyUSB0 either.
>
> A few things to try:
>
> 1. Try gpsbabel. Even if it doesn't do what you need, it might help
> troubleshoot.
>
> 2. Make sure the perms are right, or be gutsy and run as root. Smile
>
> 3. Do you have multiple USB serial devices? Might it be ttyUSB1?
>
> 4. Does anything show up in /var/log/messages when you plug in the GPS?
> ("new full speed USB device", etc?)
>
> -Beej
>

1. I had installeld gpsbabel, but it seems to only convert from one
gps format to another.

2. I always run as root anyhow. I think the perms are 666.

3. I tried catting from ttyUSB1 with the same No Device result
as USB0.

4. I get lots of dmesg entries when I connect the device:
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 001002 POWER sig=se0 CSC
hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:0b.1: port 1 full speed --> companion
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 003001 POWER OWNER sig=se0 CONNECT
ohci_hcd 0000:00:0b.0: auto-wakeup root hub
hub 1-0:1.0: port 1 not reset yet, waiting 50ms
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 003802 POWER OWNER sig=j CSC
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0002
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: new full speed USB device using ohci_hcd and address 4
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: ep0 maxpacket = 8
usb 2-1: uevent
usb 2-1: usb_probe_device
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: uevent
usbserial_generic 2-1:1.0: usb_probe_interface
usbserial_generic 2-1:1.0: usb_probe_interface - got id
drivers/usb/core/inode.c: creating file '004'
usb 2-1: new device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0002
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 001002 POWER sig=se0 CSC
hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:0b.1: port 1 full speed --> companion
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 003001 POWER OWNER sig=se0 CONNECT
ohci_hcd 0000:00:0b.0: auto-wakeup root hub
hub 1-0:1.0: port 1 not reset yet, waiting 50ms
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 003802 POWER OWNER sig=j CSC
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0002
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: new full speed USB device using ohci_hcd and address 4
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: ep0 maxpacket = 8
usb 2-1: uevent
usb 2-1: usb_probe_device
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: uevent
usbserial_generic 2-1:1.0: usb_probe_interface
usbserial_generic 2-1:1.0: usb_probe_interface - got id
drivers/usb/core/inode.c: creating file '004'
usb 2-1: new device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0002



The kernel sees that something is going on with the usb device, but
I can't get it to register to user space.
Back to top
Login to vote
Steven Winikoff

External


Since: May 07, 2007
Posts: 2



(Msg. 11) Posted: Wed Dec 17, 2008 4:49 pm
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In <_w71l.16$a01.4@newsfe03.iad> root <NoEMail DeleteThis @home.org> writes:

>I am running Slack 12.1 and am trying to get garmintools 0.9
>to run. It makes OK, but when I run garmin_get_info it
>doesn't see the device. I can't access ttyUSB0 either.
>
>I have tried enabling every USB option that I could
>think might affect the problem, but no.

This may be a stupid question, but did you include the USB_SERIAL_GARMIN
option?

The path to it is

USB support --> USB serial converter support --> Garmin GPS driver

- Steven
___________________________________________________________________________
Steven Winikoff | "I have yet to see any problem, however
Concordia University | complicated, which, when looked at in
Montreal, QC, Canada | the right way, did not become still
smw DeleteThis @alcor.concordia.ca | more complicated."
http://alcor.concordia.ca/~smw | - Poul Anderson
Back to top
Login to vote
root

External


Since: Sep 02, 2004
Posts: 128



(Msg. 12) Posted: Wed Dec 17, 2008 8:08 pm
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Steven Winikoff <smw.DeleteThis@trm.concordia.ca> wrote:
> In <_w71l.16$a01.4@newsfe03.iad> root <NoEMail.DeleteThis@home.org> writes:
>
>>I am running Slack 12.1 and am trying to get garmintools 0.9
>>to run. It makes OK, but when I run garmin_get_info it
>>doesn't see the device. I can't access ttyUSB0 either.
>>
>>I have tried enabling every USB option that I could
>>think might affect the problem, but no.
>
> This may be a stupid question, but did you include the USB_SERIAL_GARMIN
> option?
>
> The path to it is
>
> USB support --> USB serial converter support --> Garmin GPS driver
>
> - Steven
> ___________________________________________________________________________
> Steven Winikoff | "I have yet to see any problem, however
> Concordia University | complicated, which, when looked at in
> Montreal, QC, Canada | the right way, did not become still
> smw.DeleteThis@alcor.concordia.ca | more complicated."
> http://alcor.concordia.ca/~smw | - Poul Anderson

This is in the kernel configuration. I enabled the garmin driver
as a module. Garmintools explicitly says you should not enable
this option as it conflicts with garmin-tools. I have tried
to run garmin-tools both with and without the module being loaded.
No difference.

I booted into Knoppix, and I was able to see the garmin with
lsusb. I ported over the garmintools tgz package but I could
not build it since Knoppix didn't have libusb support available.
There wasn't enough space available in Knoppix for me to
build libusb.

While under Knoppix I looked at /lib/udev/devices and there
was no reference to anything usb.
Back to top
Login to vote
Beej Jorgensen

External


Since: Sep 19, 2007
Posts: 41



(Msg. 13) Posted: Wed Dec 17, 2008 11:12 pm
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

root <NoEMail RemoveThis @home.org> wrote:
>1. I had installeld gpsbabel, but it seems to only convert from one
>gps format to another.

It does do that, but in this case you can specify protocol "garmin":

gpsbabel -i garmin -f /dev/ttyUSB0 -o gpx -F outfile.gpx

to get the data right from the gps device.

-Beej
Back to top
Login to vote
root

External


Since: Sep 02, 2004
Posts: 128



(Msg. 14) Posted: Thu Dec 18, 2008 11:21 am
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Beej Jorgensen <beej.RemoveThis@beej.us> wrote:
> root <NoEMail.RemoveThis@home.org> wrote:
>>1. I had installeld gpsbabel, but it seems to only convert from one
>>gps format to another.
>
> It does do that, but in this case you can specify protocol "garmin":
>
> gpsbabel -i garmin -f /dev/ttyUSB0 -o gpx -F outfile.gpx
>
> to get the data right from the gps device.
>
> -Beej
>

I had just erased my history when I read your note. I ran
gpsbabel and got this output:
<?xml version="1.0" encoding="UTF-8"?>
<gpx
version="1.0"
creator="GPSBabel - http://www.gpsbabel.org"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.topografix.com/GPX/1/0"
xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
<time>2008-12-18T11:04:12Z</time>
<bounds minlat="25.061783362" minlon="-94.799016668" maxlat="50.982883293" maxlon="121.640266674"/>
<wpt lat="38.855549991" lon="-94.799016668">
<ele>325.049072</ele>
<name>GARMIN</name>
<cmt>GARMIN</cmt>
<desc>GARMIN</desc>
<sym>Flag, Blue</sym>
</wpt>
<wpt lat="50.982883293" lon="-1.463899976">
<ele>35.934692</ele>
<name>GRMEUR</name>
<cmt>GRMEUR</cmt>
<desc>GRMEUR</desc>
<sym>Flag, Blue</sym>
</wpt>
<wpt lat="25.061783362" lon="121.640266674">
<ele>38.097656</ele>
<name>GRMTWN</name>
<cmt>GRMTWN</cmt>
<desc>GRMTWN</desc>
<sym>Flag, Blue</sym>
</wpt>
</gpx>

It looks to me as if all of this comes from gpsbabel and none
from the Forerunner.

A very good sign is that if I cat </dev/ttyUSB0 I don't get
the missing device message, but I don't get anything else
either.

No luck: I just went for a short run to accumulate some
data. gpsbabel gives me the same empty xml file, so I
am not talking to the device. garmin_gps is loaded.
Back to top
Login to vote
Beej Jorgensen

External


Since: Sep 19, 2007
Posts: 41



(Msg. 15) Posted: Thu Dec 18, 2008 8:15 pm
Post subject: Re: Anybody have garmintools working? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

root <NoEMail.DeleteThis@home.org> wrote:
>> gpsbabel -i garmin -f /dev/ttyUSB0 -o gpx -F outfile.gpx
>
>I had just erased my history when I read your note. I ran
>gpsbabel and got this output:
> <name>GARMIN</name>
> <name>GRMEUR</name>
> <name>GRMTWN</name>

These are the default waypoints that come on Garmin GPSen. Do you have
waypoints on your GPS besides those? Or are you just recording tracks?

gpsbabel -t -i garmin -f /dev/ttyUSB0 -o gpx -F outfile.gpx
^^
Add the -t switch to tell gpsbabel to get tracks. (You can use -w and
-t to get both waypoints and tracks; -w is the default.)

>A very good sign is that if I cat </dev/ttyUSB0 I don't get
>the missing device message, but I don't get anything else
>either.

That's not going to do anything since cat isn't speaking the garmin
protocol. But it's good that you didn't get the error.

-Beej
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Two-dot-six working not for me - Alright maybe someone just answered but I did not find.... I've downloaded the 2.6.0 source from www.kernel.org. configured and compiled. looked ok, but... 1) the mouse wheel refuses to work 2) The IDE CDRW does not CDRW. (I tried with the scsi..

sendmail not working well - ive got sendmail installed, (default slack 9.1 install) it works fine from the local computer, but when i use sendmail over the network (127.0.0.1:25 for a workstation logged in with xdmcp) the message gets to the mqueue but doesn't get sent. im not sur...

Sound not working - I just installed Slackware 9.1 and everything appears to be working well except the sound. I have a Soundblaser Live soundcard. After first installing I ran 'alsamixer' and moved the two volume controls on the left to the maximum position. I then ran....

lilo not working with 2 hds - since i installed slackware 10 on a serial ata disk i cannot boot windoz! i got no errors when i update lilo.conf. When i try to boot windoz lilo stops with a black screen with "booting windoz" (or something else...) this is my system: maxtor...

Upgraded Alsa, Now sound not working - I am currently running Slackware 9.1 with a SoundBlaster Live card. I used swaret to upgrade my alsa to the latest version and now I get an error stating that /dev/dsp does not exist. Will use /dev/null for output. I get this error in Gnome and KDE so...
       Linux (Home) -> Slackware All times are: Pacific Time (US & Canada) (change)
Goto page 1, 2, 3
Page 1 of 3

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact