From dfb79323b03678e38961d0cae3712b1413b94686 Mon Sep 17 00:00:00 2001
From: Patrick Faion
Date: Fri, 10 Jul 2020 15:14:44 +0200
Subject: [PATCH 1/3] Improve docs on libsub fix for Ubuntu <=17
---
docs/dependencies-ubuntu17.md | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/docs/dependencies-ubuntu17.md b/docs/dependencies-ubuntu17.md
index 6653095019..ee6d188da9 100644
--- a/docs/dependencies-ubuntu17.md
+++ b/docs/dependencies-ubuntu17.md
@@ -92,7 +92,14 @@ sudo ldconfig
This is **ONLY** required if you are using 200hz cameras. Otherwise it can be ignored!
1. Build or download fixed binary from release: https://github.com/pupil-labs/libusb/releases/tag/v1.0.21-rc6-fixes
-1. Replace system libusb-1.0.so.0 with this binary.
+1. Replace system libusb-1.0.so.0 with this binary. You can find the path of the system library with
+
+ ```sh
+ dpkg -L libusb-1.0-0-dev | grep libusb-1.0.so
+ ```
+
+ Please note that this command gives you the location of `libusb-1.0.so` while you need to replace `libsub-1.0.so.0`, but the required file should be found in the same folder.
+
## libuvc
```sh
From 8d35203f412952700853d3554d02f7ff35d91c4e Mon Sep 17 00:00:00 2001
From: Patrick Faion
Date: Fri, 10 Jul 2020 15:23:31 +0200
Subject: [PATCH 2/3] Add custom libusb info to Ubuntu 18+ docs
---
docs/dependencies-ubuntu18.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/docs/dependencies-ubuntu18.md b/docs/dependencies-ubuntu18.md
index 1c6552a254..9d17d4e941 100644
--- a/docs/dependencies-ubuntu18.md
+++ b/docs/dependencies-ubuntu18.md
@@ -31,6 +31,20 @@ sudo make install
sudo ldconfig
```
+## Custom Version of libusb for 200hz cameras
+
+This is **ONLY** required if you are using 200hz cameras. Otherwise it can be ignored!
+
+1. Build or download fixed binary from release: https://github.com/pupil-labs/libusb/releases/tag/v1.0.21-rc6-fixes
+1. Replace system libusb-1.0.so.0 with this binary. You can find the path of the system library with
+
+ ```sh
+ dpkg -L libusb-1.0-0-dev | grep libusb-1.0.so
+ ```
+
+ Please note that this command gives you the location of `libusb-1.0.so` while you need to replace `libsub-1.0.so.0`, but the required file should be found in the same folder.
+
+
## libuvc
```sh
git clone https://github.com/pupil-labs/libuvc
From 3d5d818d1f28773afba14e7ba262ace8ac799931 Mon Sep 17 00:00:00 2001
From: Pablo Prietz
Date: Mon, 13 Jul 2020 10:15:06 +0200
Subject: [PATCH 3/3] Fix typos
---
docs/dependencies-ubuntu17.md | 2 +-
docs/dependencies-ubuntu18.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/dependencies-ubuntu17.md b/docs/dependencies-ubuntu17.md
index ee6d188da9..0222340a8f 100644
--- a/docs/dependencies-ubuntu17.md
+++ b/docs/dependencies-ubuntu17.md
@@ -98,7 +98,7 @@ This is **ONLY** required if you are using 200hz cameras. Otherwise it can be ig
dpkg -L libusb-1.0-0-dev | grep libusb-1.0.so
```
- Please note that this command gives you the location of `libusb-1.0.so` while you need to replace `libsub-1.0.so.0`, but the required file should be found in the same folder.
+ Please note that this command gives you the location of `libusb-1.0.so` while you need to replace `libusb-1.0.so.0`, but the required file should be found in the same folder.
## libuvc
diff --git a/docs/dependencies-ubuntu18.md b/docs/dependencies-ubuntu18.md
index 9d17d4e941..2108dc64e4 100644
--- a/docs/dependencies-ubuntu18.md
+++ b/docs/dependencies-ubuntu18.md
@@ -42,7 +42,7 @@ This is **ONLY** required if you are using 200hz cameras. Otherwise it can be ig
dpkg -L libusb-1.0-0-dev | grep libusb-1.0.so
```
- Please note that this command gives you the location of `libusb-1.0.so` while you need to replace `libsub-1.0.so.0`, but the required file should be found in the same folder.
+ Please note that this command gives you the location of `libusb-1.0.so` while you need to replace `libusb-1.0.so.0`, but the required file should be found in the same folder.
## libuvc