Skip to content

Commit

Permalink
Merge pull request #1968 from pupil-labs/document-libusb-fix
Browse files Browse the repository at this point in the history
Improve Linux libusb fix instructions and add to Ubuntu 18 docs
  • Loading branch information
papr authored Jul 13, 2020
2 parents 7a79d42 + 3d5d818 commit ec61718
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/dependencies-ubuntu17.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `libusb-1.0.so.0`, but the required file should be found in the same folder.


## libuvc
```sh
Expand Down
14 changes: 14 additions & 0 deletions docs/dependencies-ubuntu18.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `libusb-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
Expand Down

0 comments on commit ec61718

Please sign in to comment.