lincomatic / kalenji-gps-watch-reader

Automatically exported from code.google.com/p/kalenji-gps-watch-reader
0 stars 0 forks source link

USB timeout with On Move 100 #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect the watch On Move 100
2. Launch kalendji-reader (with root permission, otherwise access is denied)
3. Error message appears in console

What is the expected output? What do you see instead?
There is no output data file.
The message is the following :
error on USB operation code -7 - 11 LIBUSB_ERROR_TIMEOUT
The log file contains the following lines :
 => 54 5a 01 01 00 00 ff ff 
 <= 6a 
 <= 2b 52

What version of the product are you using? On what operating system?
Product version 4.7
OS : Linux 3.11.0-24-generic #42-Ubuntu x86_64 GNU/Linux

Please provide any additional information below.
The watch is a GPS On Move 100 (bought in 2012).
The lsusb command displays :
Bus 002 Device 004: ID 10c4:ea61 Cygnal Integrated Products, Inc. CP210x UART 
Bridge
I also try to change timeout value in USB.cc file (to 50000 ms) and re-compile, 
but no change.

If you need any other information, do not hesitate.
Thank you for your work.

Original issue reported on code.google.com by yas...@gmail.com on 6 Jul 2014 at 3:26

GoogleCodeExporter commented 9 years ago
Sorry, after reading other bug report, I found the solution thanks to bug 
report #23 : it's a vendor id collision and I must add -D OnMove100 on the 
command line to get my data.
It works fine.
Thank you again for you work.

Original comment by yas...@gmail.com on 6 Jul 2014 at 3:36

GoogleCodeExporter commented 9 years ago
There must be a way to make it work !
Or at least to provide a tip to the user for this specific case.

For now, we iterate on devices and the last one matching vendor id/product id 
is the one we take. We could register a list of matching devices and if there 
are many, ask the user which one he owns:

https://code.google.com/p/kalenji-gps-watch-reader/source/browse/trunk/src/main.
cc#383

Original comment by colin.pi...@gmail.com on 12 Dec 2014 at 8:59