update udev rules for new udev version
New versions of udev (148+) emit the following warnings: udevd[425]: BUS= will be removed in a future udev version, please use SUBSYSTEM= to match the event device, or SUBSYSTEMS= to match a parent device, in /lib/udev/rules.d/60-openocd.rules:1 udevd[425]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /lib/udev/rules.d/60-openocd.rules:4 udevd[425]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /lib/udev/rules.d/60-openocd.rules:7 ... See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560141 [dbrownell@users.sourceforge.net: add IDs for Stellaris ICDI, Olimex Tiny-H] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
parent
1b3f15d51e
commit
6d4abe906f
|
@ -1,60 +1,68 @@
|
||||||
BUS!="usb", ACTION!="add", SUBSYSTEM!=="usb_device", GOTO="openocd_rules_end"
|
ACTION!="add|change", GOTO="openocd_rules_end"
|
||||||
|
SUBSYSTEM!="usb", GOTO="openocd_rules_end"
|
||||||
|
ENV{DEVTYPE}!="usb_device", GOTO="openocd_rules_end"
|
||||||
|
|
||||||
# Olimex ARM-USB-OCD
|
# Olimex ARM-USB-OCD
|
||||||
SYSFS{idVendor}=="15ba", SYSFS{idProduct}=="0003", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="0003", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Olimex ARM-USB-OCD-TINY
|
# Olimex ARM-USB-OCD-TINY
|
||||||
SYSFS{idVendor}=="15ba", SYSFS{idProduct}=="0004", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="0004", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Olimex ARM-JTAG-EW
|
# Olimex ARM-JTAG-EW
|
||||||
SYSFS{idVendor}=="15ba", SYSFS{idProduct}=="001e", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="001e", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
|
# Olimex ARM-USB-OCD-TINY-H
|
||||||
|
ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="002a", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# USBprog with OpenOCD firmware
|
# USBprog with OpenOCD firmware
|
||||||
SYSFS{idVendor}=="1781", SYSFS{idProduct}=="0c63", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c63", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Amontec JTAGkey and JTAGkey-tiny
|
# Amontec JTAGkey and JTAGkey-tiny
|
||||||
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="cff8", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="cff8", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Amontec JTAGkey-HiSpeed
|
# Amontec JTAGkey-HiSpeed
|
||||||
SYSFS{idVendor}=="0fbb", SYSFS{idProduct}=="1000", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0fbb", ATTRS{idProduct}=="1000", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Axiom AXM-0432 Link (Symphony SoundBite?)
|
# Axiom AXM-0432 Link (Symphony SoundBite?)
|
||||||
# Calao Systems USB-A9260-C01
|
# Calao Systems USB-A9260-C01
|
||||||
# TinCanTools Flyswatter
|
# TinCanTools Flyswatter
|
||||||
# OOCD-Link
|
# OOCD-Link
|
||||||
# Marvell Sheevaplug (early development versions)
|
# Marvell Sheevaplug (early development versions)
|
||||||
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6010", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Calao Systems USB-A9260-C02
|
# Calao Systems USB-A9260-C02
|
||||||
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6001", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# IAR J-Link USB
|
# IAR J-Link USB
|
||||||
SYSFS{idVendor}=="1366", SYSFS{idProduct}=="0101", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="1366", ATTRS{idProduct}=="0101", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Raisonance RLink
|
# Raisonance RLink
|
||||||
SYSFS{idVendor}=="138e", SYSFS{idProduct}=="9000", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="138e", ATTRS{idProduct}=="9000", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Hitex STR9-comStick
|
# Hitex STR9-comStick
|
||||||
SYSFS{idVendor}=="0640", SYSFS{idProduct}=="002c", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0640", ATTRS{idProduct}=="002c", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Hitex STM32-PerformanceStick
|
# Hitex STM32-PerformanceStick
|
||||||
SYSFS{idVendor}=="0640", SYSFS{idProduct}=="002d", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0640", ATTRS{idProduct}=="002d", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Luminary Micro Stellaris/LM3S811
|
# TI/Luminary Stellaris Evaluation Board (several)
|
||||||
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="bcd9", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bcd9", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
|
# TI/Luminary Stellaris In-Circuit Debug Interface (ICDI) Board
|
||||||
|
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bcda", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Xverve Signalyzer Tool (DT-USB-ST)
|
# Xverve Signalyzer Tool (DT-USB-ST)
|
||||||
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="bca0", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bca0", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# egnite Turtelizer 2
|
# egnite Turtelizer 2
|
||||||
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="bdc8", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bdc8", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Marvell Sheevaplug
|
# Marvell Sheevaplug
|
||||||
SYSFS{idVendor}=="9e88", SYSFS{idProduct}=="9e8f", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="9e88", ATTRS{idProduct}=="9e8f", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
# Section5 ICEbear
|
# Section5 ICEbear
|
||||||
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="c140", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c140", MODE="664", GROUP="plugdev"
|
||||||
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="c141", MODE="664", GROUP="plugdev"
|
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c141", MODE="664", GROUP="plugdev"
|
||||||
|
|
||||||
LABEL="openocd_rules_end"
|
LABEL="openocd_rules_end"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue