Skip to content

Commit

Permalink
Udev rule so Silta devices come up as /dev/silta0 in ubuntu and other…
Browse files Browse the repository at this point in the history
… linux distros
  • Loading branch information
Alvaro Prieto committed Jan 13, 2016
1 parent 022c201 commit 93c2ddd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sw/90-silta.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# Silta (STM32F4 usb cdc)
#
# Makes symlinks to silta devices with the format /dev/silta%n
#
# Put this file in /etc/udev/rules.d/
#
# For more info as to how/why this works, check out the following:
# http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/
# http://manpages.ubuntu.com/manpages/hardy/man7/udev.7.html
#

SUBSYSTEMS=="usb", KERNEL=="ttyACM*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", ATTRS{product}=="Silta", MODE:="0666", SYMLINK+="silta%n"

0 comments on commit 93c2ddd

Please sign in to comment.