[PD] HID problem in Xubuntu.
hans at at.or.at
Sat Jul 18 23:31:37 CEST 2009
Making a 90-puredata.rules file and including it in the package sounds
like a good idea. We will need to be careful with the permissions
stuff, I don't want to be responsible for lots of people getting their
machines pwned via pd ;) I imagine MODE=0666 is not necessary, for
example, MODE=0660 with the plugdev group should work and be more
If you have something sketched out, how about committing it to the SVN,
or posting it to the patch tracker. Or really whatever it takes to get
people to contribute work on this stuff. I don't know the udev stuff
really, so I don't have much to contribute there.
I see no reason not to include the .rules file in the Pd-extended
package, we'll just have to work out the security details if its going
to be loaded by default.
On Fri, 2009-07-17 at 12:53 +0200, Daniel Wilcox wrote:
> Hi? Hans,
> I've been checking the archives and found only one issue that
> has to do with the ubuntu problem and sais to put this line:
> KERNEL=="event[0-9]*", MODE="0666"
> in /etc/udev/rules.d/40-
> permissions.rules file.
> The problem is that xubuntu 9.04 (jaunty) doesn't have this
> any more and permissions.rules, i think, are given in other
> i'm looking in ubuntu forums to see what can i do... If
> knows something about...
> If you are using Ubuntu/Xubuntu Jaunty, the udev permissions files
> have been moved to /lib/udev/rules.d:
> As for the above, you can try adding the group to plugdev, something
> KERNEL=="event[0-9]*", MODE="0666", GROUP="plugdev"
> since all users should be in the plugdev group.
> I use this technique to open the mouse on my visual application which
> uses sdl and runs from a basic terminal without X:
> KERNEL=="mouse*" GROUP="plugdev"
> There is also no need to modify the existing udev rule files since
> they are read sequentially and can overwrite each other.
> So, following the debian udev rule naming convention, if you make a
> file called 90-puredata.rules and put the event rule
> in there, it should override or modify the existing default rule.
> Hans, it should be totally possible to ship a pd Ubuntu .deb that can
> install this automatically as I've done this with my own
> tools. I can help with this if needed, I just havent used [hid] much.
> Also, udev is really picky ... make sure each rule is on one line or
> it will fail. You can also use the udev tools to test each script
> for parse errors, but I'm at work on a Hardy machine so I can't give
> you the command right now. The udev admin script changed names
> between versions.
> Dan Wilcox
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list