Patchwork Update the flashrom udev rules file with new programmers

login
register
about
Submitter Uwe Hermann
Date 2011-06-13 22:27:18
Message ID <20110613222718.GH6443@greenwood>
Download mbox | patch
Permalink /patch/3127/
State Accepted
Headers show

Comments

Uwe Hermann - 2011-06-13 22:27:18
See patch.


Uwe.
Stefan Tauner - 2011-06-17 13:37:13
On Tue, 14 Jun 2011 00:27:18 +0200
Uwe Hermann <uwe@hermann-uwe.de> wrote:

> See patch.

if you have checked/tested this with a newer udev version you may wanna
refine the line...
## This is tested on udev version 154, other versions may need small fixes.

in any case this is
Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at>
thanks :)
Uwe Hermann - 2011-06-17 23:40:11
On Fri, Jun 17, 2011 at 03:37:13PM +0200, Stefan Tauner wrote:
> On Tue, 14 Jun 2011 00:27:18 +0200
> Uwe Hermann <uwe@hermann-uwe.de> wrote:
> 
> > See patch.
> 
> if you have checked/tested this with a newer udev version you may wanna
> refine the line...
> ## This is tested on udev version 154, other versions may need small fixes.

Should work with any somewhat recent version, yes (I currently have 167
or so), the comment was just an indicator of a version which worked in
the past, but even older ones should also work fine.


> in any case this is
> Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at>

Thanks, r1340.


Uwe.

Patch

Update the flashrom udev rules file with new programmers.

Add the following missing USB devices:

 - FIC OpenMoko Neo1973 Debug board (V2+)
 - Olimex ARM-USB-OCD
 - Olimex ARM-USB-OCD-H
 - Olimex ARM-USB-TINY
 - Olimex ARM-USB-TINY-H

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>

Index: util/z60_flashrom.rules
===================================================================
--- util/z60_flashrom.rules	(Revision 1337)
+++ util/z60_flashrom.rules	(Arbeitskopie)
@@ -48,8 +48,28 @@ 
 # http://www.dlpdesign.com/usb/usb1232h.shtml
 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="664", GROUP="plugdev"
 
+# FIC OpenMoko Neo1973 Debug board (V2+)
+# http://wiki.openmoko.org/wiki/Neo1973_Debug_Board_v2
+ATTRS{idVendor}=="1457", ATTRS{idProduct}=="5118", MODE="664", GROUP="plugdev"
+
 # FTDI FT4232H Mini-Module
 # http://www.ftdichip.com/Products/EvaluationKits/FT4232H_MiniModule.htm
 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6011", MODE="664", GROUP="plugdev"
 
+# Olimex ARM-USB-OCD
+# http://olimex.com/dev/arm-usb-ocd.html
+ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="0003", MODE="664", GROUP="plugdev"
+
+# Olimex ARM-USB-OCD-H
+# http://olimex.com/dev/arm-usb-ocd-h.html
+ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="002b", MODE="664", GROUP="plugdev"
+
+# Olimex ARM-USB-TINY
+# http://olimex.com/dev/arm-usb-tiny.html
+ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="0004", MODE="664", GROUP="plugdev"
+
+# Olimex ARM-USB-TINY-H
+# http://olimex.com/dev/arm-usb-tiny-h.html
+ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="002a", MODE="664", GROUP="plugdev"
+
 LABEL="flashrom_rules_end"