-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update a install udev rules script, simplify readme
- Loading branch information
1 parent
531eb1b
commit e08b544
Showing
2 changed files
with
18 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
touch /tmp/65-inilabs.rules | ||
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="152a", ATTR{idProduct}=="84[0-1]?", MODE="0666" | ||
' >> /tmp/65-inilabs.rules | ||
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6014", MODE="0666"' >> /tmp/65-inilabs.rules | ||
|
||
# copied from https://github.com/uzh-rpg/rpg_dvs_ros | ||
echo "Copying udev rule (needs root privileges)." | ||
sudo cp /tmp/65-inilabs.rules /etc/udev/rules.d/ | ||
|
||
echo "Reloading udev rules." | ||
sudo udevadm control --reload-rules | ||
sudo udevadm trigger | ||
|
||
echo "Done!" |