summaryrefslogtreecommitdiffstats
path: root/velleman.rules
blob: 068e6fa1d63f0ff9a6958934f8e4fa5e48e5a781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# velleman.rules a udev rules file for velleman K8055/VM110.
# Put this file in /etc/udev/rules.d
#
# To access the devices under a regular user account, you must
# be in the k8055 group.
#  $ groupadd k8055
#  $ usermod -a -G k8055 username
#
# You can add a RUN="..." attribute to run some arbitrary script
# when the device is plugged in.

SUBSYSTEM !="usb_device", ACTION !="add", GOTO="velleman_rules_end"

ATTRS{idVendor}=="10cf", ATTRS{idProduct}=="5500", SYMLINK+="k8055_0"
ATTRS{idVendor}=="10cf", ATTRS{idProduct}=="5501", SYMLINK+="k8055_1"
ATTRS{idVendor}=="10cf", ATTRS{idProduct}=="5502", SYMLINK+="k8055_2"
ATTRS{idVendor}=="10cf", ATTRS{idProduct}=="5503", SYMLINK+="k8055_3"

MODE="0660", GROUP="k8055"

LABEL="velleman_rules_end"