<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hans, Daniel, <br><br>Hi again,<br><br>I made a 90-puredata.rules&nbsp; file in /lib/udev/rules.d/ containing the following line:<br><br>KERNEL=="event[0-9]*", MODE="0660", GROUP="plugdev"<br><br>The "evdev EVIOCGABS ioctl: Invalid argument" doesn't appear anymore but [hid] still can't recieve data from de /dev/input/event8 that is where my touchpad is located.<br><br>I tried copying the 90.puredata.rules file to the old ubuntu udev rules directory&nbsp; (/etc/udev/rules.d/) but it didn't work either. I also tried both modes (0660 and 0666). <br><br>Am I doing something wrong?<br><br>thanks again, <br><br>Diego.<br><br><br>--- On <b>Sat, 7/18/09, Hans-Christoph Steiner <i>&lt;hans@at.or.at&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Hans-Christoph Steiner
 &lt;hans@at.or.at&gt;<br>Subject: Re: [PD] HID problem in Xubuntu.<br>To: "Daniel Wilcox" &lt;danomatika@gmail.com&gt;<br>Cc: "Diego Azar" &lt;dazar_uy@yahoo.com&gt;, pd-list@iem.at<br>Date: Saturday, July 18, 2009, 10:31 PM<br><br><div class="plainMail"><br>Hey Dan,<br><br>Making a 90-puredata.rules file and including it in the package sounds<br>like a good idea.&nbsp; We will need to be careful with the permissions<br>stuff, I don't want to be responsible for lots of people getting their<br>machines pwned via pd ;)&nbsp; I imagine MODE=0666 is not necessary, for<br>example, MODE=0660 with the plugdev group should work and be more<br>secure.<br><br>If you have something sketched out, how about committing it to the SVN,<br>or posting it to the patch tracker.&nbsp; Or really whatever it takes to get<br>people to contribute work on this stuff.&nbsp; I don't know the udev stuff<br>really, so I don't have much to contribute there.<br><br>I see no reason not
 to include the .rules file in the Pd-extended<br>package, we'll just have to work out the security details if its going<br>to be loaded by default.<br><br>.hc<br><br>On Fri, 2009-07-17 at 12:53 +0200, Daniel Wilcox wrote:<br>&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Hi? Hans,<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;I've been checking the archives and found only one issue that<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;has to do with the ubuntu problem and sais to put this line:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;KERNEL=="event[0-9]*",&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MODE="0666"<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;in /etc/udev/rules.d/40-<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;permissions.rules file.<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp;
 &nbsp;&nbsp;&nbsp;The problem is that xubuntu 9.04 (jaunty) doesn't have this<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;file<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;any more and permissions.rules, i think, are given in other<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;archives...<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;i'm looking in ubuntu forums to see what can i do... If<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;someone<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;knows something about...<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt; <br>&gt; If you are using&nbsp; Ubuntu/Xubuntu Jaunty, the udev permissions files<br>&gt; have been moved to /lib/udev/rules.d:<br>&gt; <a href="https://lists.ubuntu.com/archives/jaunty-changes/2009-January/002619.html" target="_blank">https://lists.ubuntu.com/archives/jaunty-changes/2009-January/002619.html</a><br>&gt; <br>&gt; As for the above, you can try adding the group to plugdev,
 something<br>&gt; like<br>&gt; <br>&gt; KERNEL=="event[0-9]*",&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;MODE="0666", GROUP="plugdev"<br>&gt; <br>&gt; since all users should be in the plugdev group.<br>&gt; <br>&gt; I use this technique to open the mouse on my visual application which<br>&gt; uses sdl and runs from a basic terminal without X:<br>&gt; <br>&gt; KERNEL=="mouse*"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GROUP="plugdev"<br>&gt; <br>&gt; There is also no need to modify the existing udev rule files since<br>&gt; they are read sequentially and can overwrite each other.<br>&gt; So, following the debian udev rule naming convention, if you make a<br>&gt; file called 90-puredata.rules and put the event rule<br>&gt; in there, it should override or modify the existing default rule.<br>&gt; <br>&gt; Hans, it should be totally possible to ship a pd Ubuntu .deb that can<br>&gt; install
 this automatically as I've done this with my own<br>&gt; tools.&nbsp; I can help with this if needed, I just havent used [hid] much.<br>&gt; <br>&gt; Also, udev is really picky ... make sure each rule is on one line or<br>&gt; it will fail.&nbsp; You can also use the udev tools to test each script<br>&gt; for parse errors, but I'm at work on a Hardy machine so I can't give<br>&gt; you the command right now.&nbsp; The udev admin script changed names<br>&gt; between versions.<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Dan Wilcox<br>&gt; danomatika<br>&gt; www.robotcowboy.com<br>&gt; _______________________________________________<br>&gt; <a ymailto="mailto:Pd-list@iem.at" href="/mc/compose?to=Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br><br></div></blockquote></td></tr></table><br>