Pitmairen / bryton-gps-linux

An attempt to read Bryton GPS devices on Linux
GNU General Public License v3.0
29 stars 14 forks source link

Error: Unknown logpoint format. #6

Closed alexclarke closed 11 years ago

alexclarke commented 11 years ago

Hi,

Thanks for your great work on this. Following a ride today I tried using this for the first time with my rider35 and got an error regarding logpoint formats:

alex@alllk-NP550P7C:~/dev/bryton/bryton-gps-linux/code$ sudo python brytongps.py -T 0 --strava
Authenticating to strava.com
Uploading track: 2013/04/18 22:27
Error:  Unknown logpoint format. You are probably using a sensor that has not been tested during development. It can probably easily be fixed if test data is provided.

Generating a tcx from this track also fails with the same error but generating a gpx works.

I'm not near a windows PC right now but will upload the bdx version generated by Bryton's software over once I am.

Thanks again!

alexclarke commented 11 years ago

Oh also forgot to mention that I didn't have heart rate, cadence or power hooked up.

Pitmairen commented 11 years ago

I also need the output from dump.py (https://github.com/Pitmairen/bryton-gps-linux/blob/master/dump.py) I may be able to fix it without the bdx, but its easier if i have it.

Also you don't need to use sudo, you just need to set the right permission for the device. I use this udev rule to do this:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5720", GROUP="users"

This lets all the users in the "users" group access the device. Write this to a file like "/etc/udev/rules.d/99-brytongps.rules", the location may vary on different distros, but it should be similar. I think these ATTRS will work on all bryton devices, but if not you can find the values with "lsusb -v". You may have to reboot for this to take effect.

alexclarke commented 11 years ago

Here is the dump file: https://docs.google.com/file/d/0ByLgUdFjD7cqSFd3UjgxMDZ6TzA/edit?usp=sharing

... and here is the BDX file: https://docs.google.com/file/d/0ByLgUdFjD7cqNW11MkUyY0JIN0k/edit?usp=sharing

Thanks for your help.

Pitmairen commented 11 years ago

It should be working now.

alexclarke commented 11 years ago

Worked perfectly. Thanks!