From a4de2be02312fb4d73e8685b001bd9ede4edfc78 Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 5 May 2017 09:34:55 +0200 Subject: [PATCH] Added kernel >= 4.4.52 workaround for low latency serial devices (SerialDV) --- Readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Readme.md b/Readme.md index 97798165e..f8960ce7e 100644 --- a/Readme.md +++ b/Readme.md @@ -182,6 +182,8 @@ Note that this is not supported in Windows because of trouble with COM port supp Since kernel 4.4.52 the default for FTDI devices (that is in the ftdi_sio kernel module) is not to set it as low latency. This results in the ThumbDV dongle not working anymore because its response is too slow to sustain the normal AMBE packets flow. The solution is to force low latency by changing the variable for your device (ex: /dev/ttyUSB0) as follows: `echo 1 | sudo tee /sys/bus/usb-serial/devices/ttyUSB0/latency_timer` +or +`sudo setserial /dev/ttyUSB0 low_latency` Alternatively you can use [mbelib](https://github.com/szechyjs/mbelib) but mbelib comes with some copyright issues (see next). If you have mbelib installed in a custom location, say `/opt/install/mbelib` you will need to add these defines to the cmake command: `-DLIBMBE_INCLUDE_DIR=/opt/install/mbelib/include -DLIBMBE_LIBRARY=/opt/install/mbelib/lib/libmbe.so`