<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 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 (/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><hans@at.or.at></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
<hans@at.or.at><br>Subject: Re: [PD] HID problem in Xubuntu.<br>To: "Daniel Wilcox" <danomatika@gmail.com><br>Cc: "Diego Azar" <dazar_uy@yahoo.com>, 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. 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 ;) 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. Or really whatever it takes to get<br>people to contribute work on this stuff. 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>> <br>> Hi? Hans,<br>> <br>> I've been checking the archives and found only one issue that<br>> has to do with the ubuntu problem and sais to put this line:<br>> KERNEL=="event[0-9]*", MODE="0666"<br>> <br>> in /etc/udev/rules.d/40-<br>> permissions.rules file.<br>> <br>>
The problem is that xubuntu 9.04 (jaunty) doesn't have this<br>> file<br>> any more and permissions.rules, i think, are given in other<br>> archives...<br>> i'm looking in ubuntu forums to see what can i do... If<br>> someone<br>> knows something about...<br>> <br>> <br>> If you are using Ubuntu/Xubuntu Jaunty, the udev permissions files<br>> have been moved to /lib/udev/rules.d:<br>> <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>> <br>> As for the above, you can try adding the group to plugdev,
something<br>> like<br>> <br>> KERNEL=="event[0-9]*", MODE="0666", GROUP="plugdev"<br>> <br>> since all users should be in the plugdev group.<br>> <br>> I use this technique to open the mouse on my visual application which<br>> uses sdl and runs from a basic terminal without X:<br>> <br>> KERNEL=="mouse*" GROUP="plugdev"<br>> <br>> There is also no need to modify the existing udev rule files since<br>> they are read sequentially and can overwrite each other.<br>> So, following the debian udev rule naming convention, if you make a<br>> file called 90-puredata.rules and put the event rule<br>> in there, it should override or modify the existing default rule.<br>> <br>> Hans, it should be totally possible to ship a pd Ubuntu .deb that can<br>> install
this automatically as I've done this with my own<br>> tools. I can help with this if needed, I just havent used [hid] much.<br>> <br>> Also, udev is really picky ... make sure each rule is on one line or<br>> it will fail. You can also use the udev tools to test each script<br>> for parse errors, but I'm at work on a Hardy machine so I can't give<br>> you the command right now. The udev admin script changed names<br>> between versions.<br>> <br>> <br>> -- <br>> Dan Wilcox<br>> danomatika<br>> www.robotcowboy.com<br>> _______________________________________________<br>> <a ymailto="mailto:Pd-list@iem.at" href="/mc/compose?to=Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>> UNSUBSCRIBE and account-management -> <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>