Dive data import error with Hollis DG03

Hamish Moffatt hamish at cloud.net.au
Sun Mar 23 16:48:17 PDT 2014


On 24/03/14 07:45, Rick Walsh wrote:
> Thanks for the response Jef,
>
> On 24 March 2014 05:30, Jef Driesen <jef at libdivecomputer.org> wrote:
>
>> This sounds very similar to the ftdi latency problem that was reported
>> recently on the libdivecomputer mailinglist [1]. Can you check the latency
>> timer for the serial port (/dev/ttyUSB0), with this command:
>>
>> cat /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
>>
>> If it contains the value 1, try increasing it to 16, with this command (as
>> root):
>>
>> echo 16 > /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
> It contains the value 1, but I'm not able to change it. Yes, I was root.
>
> # cat /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
> 1
> # echo 16 > /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
> # cat /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
> 1
>
>

The low_latency flag is set by default, which forces it to 1, always.

setserial /dev/ttyUSB0 ^low_latency

to disable it. Then you can modify the latency_timer entry.



Hamish


More information about the subsurface mailing list