Hollis DG03 data import error

Miika Turkia miika.turkia at gmail.com
Thu May 22 12:52:46 PDT 2014


libgit2-dev is what you need to install

miika

> On 22 May 2014, at 22:41, Gobbledegeek <gobbledegeek at gmail.com> wrote:
> 
> Ok so I got the latest snapshot of libdive computer and ran the instructions to install it. 
> Then I tried to get the latest subsurface from git and tried to build it. But I get 
> 
> $/usr/src/subsurface$ sudo qmake
> Project ERROR: Package libgit2 not found
> 
> So I am stuck here now.  Looking at libgit2 on the web I see a lot of win32 files. Not sure if this is a broken dependecy spec somewhere and If this package is really needed on Ubuntu.
> 
> what next? How do I fix the build error?
> Thanks
> 
> 
>> On Thu, May 22, 2014 at 6:48 PM, Gobbledegeek <gobbledegeek at gmail.com> wrote:
>> Thanks. I will try that tonight. Can you pointe to the CR that fixed it? I'd like to understand the specific background to this problem.
>> 
>> G0bble
>> 
>>> On May 22, 2014 12:28 PM, "Jef Driesen" <jefdriesen at telenet.be> wrote:
>>>> On 2014-05-22 08:12, Gobbledegeek wrote:
>>>> This issue is still pending resolution. I left on a dive vacation and
>>>> forgot about sync'ing my DC after that. So far I've just been using my DC
>>>> for dives without logging.
>>>> 
>>>> Now I am trying again on a fresh install of Ubuntu 14.0.4LTE.
>>>> 
>>>> Here are the things I tried:
>>>> 
>>>> $ ls -l /dev/ttyU*
>>>> crw-rw---- 1 root dialout 188, 0 May 22 11:24 /dev/ttyUSB0
>>>> 
>>>> $ sudo chmod 0666 /dev/ttyUSB0
>>>> $ ls -l /dev/ttyU*
>>>> crw-rw-rw- 1 root dialout 188, 0 May 22 11:25 /dev/ttyUSB0
>>>> 
>>>> 
>>>> I tried making the above permanent on reboot with a
>>>> /etc/udev/rules.d/50-usbtty-rules file that read:
>>>> KERNEL=="ttyUSB*", MODE="0666"
>>>> but this resulted in my usb mouse and keyboard becoming unresponsive on
>>>> reboot, so I removed it.
>>>> 
>>>> Then I tried the instructions by Jef given earlier when this thread was
>>>> active:
>>>> it seems modem-manager thinks you just connected a modem and takes the
>>>> device. you could create an udev rule to blacklist some usb serial
>>>> devices. look at (something like, probably /usr/lib)
>>>> /lib/udev/rules.d/77-mm-usb-de
>>>> vice-blacklist.rules
>>>> then create a similar file in /etc/udev/rules.d containing the pid/vid
>>>> of your divecomputer
>>>> <<<
>>>> $ lsusb
>>>> Bus 001 Device 014: ID 0403:f460 Future Technology Devices International,
>>>> Ltd
>>>> 
>>>> with  /etc/udev/rules.d$ cat 50-divecomputer-blacklist.rules
>>>> ATTRS{idVendor}=="0403", ATTRS{idProduct}=="f460",
>>>> ENV{ID_MM_DEVICE_IGNORE}="1"
>>>> 
>>>> and
>>>> $ sudo stop modemmanager
>>>> 
>>>> No luck.
>>>> 
>>>> So to summarize:
>>>> 1. Adding my user to dialout group did not work
>>>> 2. stopping  modemmanager did not work
>>>> 3. Adding a blacklist rule for my device did not work.
>>>> 
>>>> Any other ideas to fix this? I tested with windows using the hollis
>>>> software and it works.
>>> 
>>> You are referring to solutions for the access permissions on the /dev/ttyUSB0 device node, but at the same time you attach a logfile that indicates you are able to open the device successfully. So that means whatever you did to the /dev/ttyUSB0, it already worked!
>>> 
>>> To fix the high number of timeouts and NAK's during the communication, you'll need something completely different. The libdivecomputer master branch (v0.5.0-devel) already contains a fix for this issue. I don't see any evidence of this fix in your log, so I assume you are using an older version. Upgrade and downloading should work again.
>>> 
>>> Jef
> 
> 
> 
> -- 
> --G0bbleDeGeek
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140522/2e009b52/attachment.html>


More information about the subsurface mailing list