mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Modify Makefile to copy group-specific udev rules
This commit is contained in:
parent
032f304bf9
commit
bfc3a53ea2
3 changed files with 30 additions and 1 deletions
22
driver/77-pm3-usb-device-blacklist-dialout.rules
Normal file
22
driver/77-pm3-usb-device-blacklist-dialout.rules
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Proxmark3 linux modem-manager de-confliction file
|
||||
#
|
||||
# copy this file to /etc/udev/rules.d (or add the entry to the end of an existing file)
|
||||
# and restart udev hotplug:
|
||||
#
|
||||
# 'sudo udevadm control --reload-rules'
|
||||
#
|
||||
|
||||
# proxmark3
|
||||
ACTION!="add|change", GOTO="pm3_usb_device_blacklist_end"
|
||||
SUBSYSTEM!="tty", GOTO="pm3_ignore"
|
||||
|
||||
ATTRS{idVendor}=="2d2d" ATTRS{idProduct}=="504d", ENV{ID_MM_DEVICE_IGNORE}="1" SYMLINK+="pm3-%n" MODE="660" GROUP="dialout"
|
||||
ATTRS{idVendor}=="9ac4" ATTRS{idProduct}=="4b8f", ENV{ID_MM_DEVICE_IGNORE}="1" SYMLINK+="pm3-%n" MODE="660" GROUP="dialout"
|
||||
ATTRS{idVendor}=="502d" ATTRS{idProduct}=="502d", ENV{ID_MM_DEVICE_IGNORE}="1" SYMLINK+="pm3-%n" MODE="660" GROUP="dialout"
|
||||
|
||||
LABEL="pm3_ignore"
|
||||
ATTRS{idVendor}=="2d2d" ATTRS{idProduct}=="504d", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="9ac4" ATTRS{idProduct}=="4b8f", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="502d" ATTRS{idProduct}=="502d", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
LABEL="pm3_usb_device_blacklist_end"
|
Loading…
Add table
Add a link
Reference in a new issue