See patch. This makes the ICEbear target file udev rules more similar
in style and functionality to all the other targets/interfaces.

Also, drop duplicate and unneeded udev rule infomation comment as we
have a proper udev entry for the ICEbear.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
Index: contrib/openocd.udev
===================================================================
--- contrib/openocd.udev	(Revision 1583)
+++ contrib/openocd.udev	(Arbeitskopie)
@@ -52,9 +52,9 @@
 # Marvell Sheevaplug
 SYSFS{idVendor}=="9e88", SYSFS{idProduct}=="9e8f", MODE="664", GROUP="plugdev"
 
-# Icebear (Section5)
-SYSFS{idProduct}=="c140", SYSFS{idVendor}=="0403", MODE="666", GROUP="usb"
-SYSFS{idProduct}=="c141", SYSFS{idVendor}=="0403", MODE="666", GROUP="usb"
+# Section5 ICEbear
+SYSFS{idVendor}=="0403", SYSFS{idProduct}=="c140", MODE="664", GROUP="plugdev"
+SYSFS{idVendor}=="0403", SYSFS{idProduct}=="c141", MODE="664", GROUP="plugdev"
 
 LABEL="openocd_rules_end"
 
Index: src/target/interface/icebear.cfg
===================================================================
--- src/target/interface/icebear.cfg	(Revision 1583)
+++ src/target/interface/icebear.cfg	(Arbeitskopie)
@@ -1,23 +1,11 @@
-#####################################################
-# IceBear Configuration
 #
+# Section5 ICEBear
+#
 # http://section5.ch/icebear
 #
-# Author: Sten, deb...@sansys-electronic.com
-#####################################################
-#
-# Add file /etc/udev/rules.d/45-icebear.rules
-#
-#BUS!="usb", ACTION!="add", SUBSYSTEM!=="usb_device", GOTO="kcontrol_rules_end"
-#
-#SYSFS{idProduct}=="c140", SYSFS{idVendor}=="0403", MODE="666", GROUP="usb"
-#SYSFS{idProduct}=="c141", SYSFS{idVendor}=="0403", MODE="666", GROUP="usb"
-#
-#LABEL="kcontrol_rules_end"
-#
 
 interface ft2232
-#ft2232_device_desc ""
+# ft2232_device_desc ""
 ft2232_layout icebear
 ft2232_vid_pid 0x0403 0xc140
 
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to