Blame ant-usb-sticks.rules
|
|
b0e854e |
# This files changes the mode of the Dynastream ANT UsbStick2 so all users
|
|
|
b0e854e |
# can read and write to it.
|
|
|
b0e854e |
#
|
|
|
b0e854e |
# This file should go into '/etc/udev/rules.d'. Note that this should go in
|
|
|
b0e854e |
# at a late stage, probably after everyting else, but at least after 70 to
|
|
|
b0e854e |
# allow the usb attributes to be populated, so don't change the file so it
|
|
|
b0e854e |
# gets sorted before that stage.
|
|
|
b0e854e |
#
|
|
|
b0e854e |
# If you do not want all users to be able to read and write to your usb stick
|
|
|
b0e854e |
# you might want to adjust the mode to 0660 and restrict it to a group of
|
|
|
b0e854e |
# users with GROUP="ant" or the mode to 0600 and restrict it to a single user
|
|
|
b0e854e |
# with OWNER="user".
|
|
|
b0e854e |
#
|
|
|
b0e854e |
SUBSYSTEM=="usb", ATTR{idVendor}=="0fcf", ATTR{idProduct}=="1008", MODE="0666", SYMLINK+="ttyANT2", ACTION=="add"
|
|
|
b0e854e |
SUBSYSTEM=="usb", ATTR{idVendor}=="0fcf", ATTR{idProduct}=="1009", MODE="0666", SYMLINK+="ttyANT3", ACTION=="add"
|