udev rules for wedo

Rafael Ortiz rafael at activitycentral.com
Thu Jul 14 14:21:57 EDT 2011


On Thu, Jul 14, 2011 at 1:05 PM, Paul Fox <pgf at laptop.org> wrote:

> jerry wrote:
>  > Hi all:
>  >
>  > Playing around with wedo, I've found that scratch is providing udev
>  > rules for wedo and there are rules installed by olpc-utils. I'm
>  > wondering if the rules provided by scratch should be used in place of or
>  > in conjunction with the olpc provided rules in /etc/udev/rules.d. Here
>  > are the contents of the 2 files for F11.
>  >
>  > 30-olpc-wedo.rules:
>  >  # Lego WeDo
>  > SYSFS{idVendor}=="0694", SYSFS{idProduct}=="0003", GROUP="dialout",
>  > MODE="0660"
>  >
>  > 45-lego-wedo.rules:
>  > # Lego WeDo
>  > SYSFS{idVendor}=="0694", SYSFS{idProduct}=="0003", MODE="0666"
>  >
>  > Looks to me that what is provided by scratch should be part of
>  > olpc-utils.
>
> i believe scratch supplies rules because (at least at the time) it
> could be installed on XO distributions that didn't include udev
> rules at all.
>
> This is my impresion too, last versions of scratch included these rules.



> and since the 'olpc' user is a member of group 'dialout', i think these
> rules are equivalent in practice.  (except for use by 'other',
> and i'm not sure how that would happen on an XO.)   both rules
> give the olpc user read/write access to the device.
>
> are you seeing a conflict or other problem?
>
> paul
>
>  >
>  > Jerry
>  >
>  > _______________________________________________
>  > Devel mailing list
>  > Devel at lists.laptop.org
>  > http://lists.laptop.org/listinfo/devel
>
> =---------------------
>  paul fox, pgf at laptop.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20110714/e58b384f/attachment.html>


More information about the Devel mailing list