Debian Codegraph @

udev/49-wch-link.rules

raw
1 # # WCH-Link
2 # SUBSYSTEMS=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="8011", \
3 # MODE:="0666", \
4 # SYMLINK+="wch-link_%n"
5 #
6 # # WCH-Link clone
7 # SUBSYSTEMS=="usb", ATTRS{idVendor}=="2a86", ATTRS{idProduct}=="8011", \
8 # MODE:="0666", \
9 # SYMLINK+="wch-link_%n"
10
11 # Try to cover all the cases
12 SUBSYSTEMS=="usb", ATTRS{product}=="WCH-Link", \
13 MODE:="0666", \
14 SYMLINK+="wch-link_%n"
15
16 # If you share your linux system with other users, or just don't like the
17 # idea of write permission for everybody, you can replace MODE:="0666" with
18 # OWNER:="yourusername" to create the device owned by you, or with
19 # GROUP:="somegroupname" and mange access using standard unix groups.