-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathz99-custom-microchip.rules
21 lines (18 loc) · 1.74 KB
/
z99-custom-microchip.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# PICKIT4
ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2177", MODE:="0666", SYMLINK+="bus/usb/mcp/pk4/tty%n"
ACTION=="add", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2177", MODE:="0666", SYMLINK+="bus/usb/mcp/pk4/hidraw%n"
ACTION=="add", SUBSYSTEM=="usbmisc", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2177", MODE:="0666", SYMLINK+="bus/usb/mcp/pk4/usbmisc%n"
ACTION=="bind", SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2177", MODE:="0666", SYMLINK+="bus/usb/mcp/pk4/usb%n"
# ATMEL-ICE
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2141", MODE:="0666", SYMLINK+="bus/usb/mcp/aice/usb0%n"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2141", MODE:="0666", SYMLINK+="bus/usb/mcp/aice/usb1%n"
ACTION=="add", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2141", MODE:="0666", SYMLINK+="bus/usb/mcp/aice/hidraw%n"
ACTION=="add", SUBSYSTEM=="usbmisc", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2141", MODE:="0666", SYMLINK+="bus/usb/mcp/aice/usbmisc%n"
# MEDBG
ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2145", MODE:="0666", SYMLINK+="bus/usb/mcp/medbg/tty%n"
ACTION=="add", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2145", MODE:="0666", SYMLINK+="bus/usb/mcp/medbg/hidraw%n"
ACTION=="bind", SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2145", MODE:="0666", SYMLINK+="bus/usb/mcp/medbg/usb%n"
# MODEMMANAGER
# May not stop ModemManager from messing around
# https://askubuntu.com/questions/399263/udev-rules-seem-ignored-can-not-prevent-modem-manager-from-grabbing-device
ATTRS{idVendor}=="03EB" ATTRS{idProduct}=="2145", ENV{ID_MM_DEVICE_IGNORE}="1"