Hello Emiliano,<br><br>Thanks for the answer! Unfortunately, it's not the solution we are looking for, since it still involves the user doing something ( in this case, writing the udev rule ) to make it work. We're looking for a way to do it just by running the activity itself.<br>
<br>Since you're interested, here's a better description of the project I'm working on, following this link<br><br><a href="http://sites.google.com/site/josuejgramos/home/pedagogical-robotics">http://sites.google.com/site/josuejgramos/home/pedagogical-robotics</a><br>
<br>The aplication I'm adapting is Blocos, which is described better following the link. Here's also the sourceforge page of our project, where you can download it and see/test it yourself!<br><br><a href="http://br-gogo.sourceforge.net/">http://br-gogo.sourceforge.net/</a><br>
<br>Thank you again, <br><br>Alberto Arruda de oliveira<br><br><div class="gmail_quote">2010/6/23 Emiliano Pastorino <span dir="ltr"><<a href="mailto:epastorino@plan.ceibal.edu.uy">epastorino@plan.ceibal.edu.uy</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Alberto,<br><br>You could write a udev rule like this:<br><br>cat > /etc/udev/rules.d/99-ttyACM.rules << EOF<div>
KERNEL=="ttyACM[0-9]",MODE="0666"</div><div>EOF</div><div><br></div><div>This will set rw access to ttyACM devices for everyone.<br>
If you think that's too permissive, you could do something like:</div><div><br></div><div>cat > /etc/udev/rules.d/99-ttyACM.rules << EOF<div>SYSFS{idVendor}=="vendor_id",SYSFS{idProduct}=="product_id",KERNEL=="ttyACM[0-9]",MODE="0666"</div>
<div>EOF</div><div><br></div><div>Again, this will set rw permissions for everyone, but only to ttyACM devices specified by its vendor and product id. I.e, for Texas Instruments USB-serial converter, idVendor=="0451" and idProduct=="3410".</div>
<div><br></div><div>You'll have to do this on every laptop, but only once.<br><br>I'm curious about the platform you're using... is it LEGO Mindstorms or maybe Arduino? Anyway... which aplication have you adapted for the XO?<br>
We're working on some piltos in Uruguay for which we bought a bunch of those, but haven't arrived yet. I think it would be very productive for our deployments if we keep in touch. Which one are you working on?</div>
<div><br></div><div>Cheers,<br>Emiliano</div><div><br></div><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jun 23, 2010 at 11:03 AM, Martin Langhoff <span dir="ltr"><<a href="mailto:martin.langhoff@gmail.com" target="_blank">martin.langhoff@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5"><div>On Wed, Jun 23, 2010 at 8:03 AM, Alberto Arruda de Oliveira<br>
<<a href="mailto:alberto.a.oliv@gmail.com" target="_blank">alberto.a.oliv@gmail.com</a>> wrote:<br>
> But now, I'm facing another problem regarding the permissions olpc user has<br>
> to access diferent dispositives on XO.<br>
<br>
</div>It sounds like very interesting software! The problem you are facing<br>
is normally resolved by adding a bit of "policy" for a tool called<br>
"PolicyKit".<br>
<br>
I am not an expert on PolicyKit at all -- so I don't know what the<br>
exact answer is. Hopefully someone who knows & understands PK can<br>
help!<br>
<br>
cheers,<br>
<br>
<br>
<br>
m<br>
--<br>
<a href="mailto:martin.langhoff@gmail.com" target="_blank">martin.langhoff@gmail.com</a><br>
<a href="mailto:martin@laptop.org" target="_blank">martin@laptop.org</a> -- School Server Architect<br>
- ask interesting questions<br>
- don't get distracted with shiny stuff - working code first<br>
- <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br></div></div><div class="im">
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a></div></blockquote></div>
</div>
</blockquote></div><br>