braiden/python-ant-downloader

/dev/ttyUSB0: No such file or directory

HankB opened this issue · 2 comments

Many thanks for your work on this. When I try the command I get this error message.

hbarta@cypress:/test$ garmin-ant-downloader -f nameofyourwatchid -a nameofauthentificationfile
/dev/ttyUSB0: No such file or directory
ERROR: Open dev 0 failed in line 1384.
hbarta@cypress:
/test$ garmin-ant-downloader -f nameofyourwatchid -a nameofauthentificationfile -d 13
/dev/ttyUSB13: No such file or directory
ERROR: Open dev 13 failed in line 1384.
hbarta@cypress:~/test$

I see the following in /var/log/syslog when the ANT stick is plugged in:

Jan 21 08:37:35 cypress kernel: [161290.168157] usb 6-1: new full-speed USB device number 13 using uhci_hcd
Jan 21 08:37:36 cypress mtp-probe: checking bus 6, device 13: "/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-1"
Jan 21 08:37:36 cypress mtp-probe: bus: 6, device: 13 was not an MTP device

Every time the stick is removed and plugged in, the device number is incremented.

This is on Linux Mint 13 (Maya) and running the kernel:
Linux cypress 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

I appreciate suggestions on where to look for help or what to try.

Edit: The version of the package file seems to be '20110626-1'

thanks,
hank

Sorry for slow reply,

From commands and output below, it looks like you're trying to run "gant".
That's a different program so I can't provide too much assistance. If
you're trying to get data off a 405/405cx/410, you can try my app too. It
provides similar functionality, but also uploads to garmin connect.

https://github.com/braiden/python-ant-downloader
You're best using "Manual Install" instructions, code using automated
method is somewhat slow.

After installed, you can run "ant-downloader" (not
"garmin-ant-downloader"). Sorry for confusingly similar executable name.

If you have trouble running, "ant-downloader" let me know, and I can try to
provide assistance.

Regards,

On Mon, Jan 21, 2013 at 10:01 AM, HankB notifications@github.com wrote:

Many thanks for your work on this. When I try the command I get this error
message.

hbarta@cypress:/test$ garmin-ant-downloader -f nameofyourwatchid -a
nameofauthentificationfile
/dev/ttyUSB0: No such file or directory
ERROR: Open dev 0 failed in line 1384.
hbarta@cypress:
/test$ garmin-ant-downloader -f nameofyourwatchid -a
nameofauthentificationfile -d 13
/dev/ttyUSB13: No such file or directory
ERROR: Open dev 13 failed in line 1384.
hbarta@cypress:~/test$

I see the following in /var/log/syslog when the ANT stick is plugged in:

Jan 21 08:37:35 cypress kernel: [161290.168157] usb 6-1: new full-speed
USB device number 13 using uhci_hcd
Jan 21 08:37:36 cypress mtp-probe: checking bus 6, device 13:
"/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-1"
Jan 21 08:37:36 cypress mtp-probe: bus: 6, device: 13 was not an MTP device

Every time the stick is removed and plugged in, the device number is
incremented.

This is on Linux Mint 13 (Maya) and running the kernel:
Linux cypress 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

I appreciate suggestions on where to look for help or what to try.

thanks,
hank


Reply to this email directly or view it on GitHubhttps://github.com//issues/41.

Many thanks for your help (and apologies for the confusion regarding projects.) I had a go at installing this and at first the simple method did not seem to work. I thrashed around a bit and finally got it going and just used it to download some tracks from my 410. (Yay! One less thing to pester my wife about - she's running Windows on her laptop.) If you are interested in working out the issues WRT the installation, I can perform that on another PC running the same version of Mint and can be a bit more methodical and report the exact messages I run into.

Thanks!