Rick Altherr a écrit :
>
> In terms of including this as part of OpenOCD, we suffer from 
> supporting multiple platforms and distrubtions.  The preferred install 
> location for the udev script is likely to vary by distribution and it 
> only applies to the Linux platform.  Many other projects handle this 
> situation by either including it in contrib and letting the package 
> maintainer do as they wish or by establishing a special place for 
> files related to Linux distributions (notably called debian in many 
> packages).  I'm ok with either but like placing it in contrib slightly 
> more.  As a platform-neutral project, I'd rather not call out any 
> distribution by name and leave it up to the packager to figure out how 
> best to include the contrib files.  This also applies to things like 
> the svf2xsvf converter script.
> -- 
> Rick Altherr
> kc8...@kc8apf.net
>
I would agree with you for different reasons. One may allready have some 
definitions that he doesn't want duplicated or messed with.
I package my own udev file.

In my udev file I have several items including JTAG devices and 
Intrepidcs device.

SYSFS{idProduct}=="0022", SYSFS{idVendor}=="058b", MODE="666", 
GROUP="uucp", RUN="/etc/udev/setmode"
SYSFS{idProduct}=="002d", SYSFS{idVendor}=="0640", MODE="666", 
GROUP="uucp", RUN="/etc/udev/setmode"
SYSFS{idProduct}=="0101", SYSFS{idVendor}=="1366", MODE="666", 
GROUP="uucp", RUN="/etc/udev/setmode"
SYSFS{idProduct}=="0004", SYSFS{idVendor}=="15ba", MODE="666", 
GROUP="uucp", RUN="/etc/udev/setmode"
SYSFS{idProduct}=="bcd9", SYSFS{idVendor}=="0403", MODE="666", 
GROUP="uucp", RUN="/etc/udev/setmode"
SYSFS{idProduct}=="0401", SYSFS{idVendor}=="093c", MODE="666", 
GROUP="uucp", RUN="/etc/udev/setmode"
SYSFS{idProduct}=="9000", SYSFS{idVendor}=="138e", MODE="666", 
GROUP="uucp", RUN="/etc/udev/setmode"


Michel Catudal

-- 
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
http://home.comcast.net/~mcatudal

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to