Skip to content

Commit

Permalink
Add udev rules from dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Cutting committed Jan 27, 2023
1 parent 0c7c8a3 commit 6843f32
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions 90-inertialsense.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="0666"
8 changes: 8 additions & 0 deletions cltool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,14 @@ $ sudo systemctl disable ModemManager.service && sudo systemctl stop ModemManage
$ ./cltool
```

### Install udev rules for IMX-5 bootloader

If you need to update the bootloader on the IMX-5 (contact Inertial Sense to get this file), you will need to run the cltool with elevated (sudo) permissions, or run the following commands prior to running the cltool to give permissions to all users. This is required because the first-stage bootloader of the IMX-5 is a DFU device, rather than a CDC (virtual COM port) device.
```
sudo cp ../../../90-inertialsense.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
```
## Compile & Run (Windows MS Visual Studio)
1. [Install and Configure Visual Studio](../getting-started/#installing-and-configuring-visual-studio)
2. Open Visual Studio solution file (inertial-sense-sdk/cltool/VS_project/cltool.sln)
Expand Down

0 comments on commit 6843f32

Please sign in to comment.