Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane

From: Jan Kandziora <jjj <at> gmx.de>
Subject: New OWFS non-root access USB udev rule
Newsgroups: gmane.comp.file-systems.owfs.devel
Date: Thursday 7th February 2008 10:57:25 UTC (over 10 years ago)
Hello,

I recently tried again to set up non-root access to the DS2490 adapter.
I failed with the solution showed up at http://owfs.org/index.php?page=udev

It seems the config syntax of udev has changed again. However, I came up
with a much simpler solution: I set up a file
/etc/udev/rules.d/46-ds2490.rules with the line

SUBSYSTEMS=="usb", ATTRS{idVendor}=="04fa", ATTRS{idProduct}=="2490",
PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i
$${K%%%%.*} $${K#*.}'", NAME="%c", GROUP="ow", MODE="0664"

No helper script neccessary, this line is enough to make it work. Tested
with udev-103-12 of openSuSE 10.2.

Maybe the website should be changed to refelct this change in udev?

Kind regards

	Jan
-- 
A bureaucrat's idea of cleaning up his files
is to make a copy of everything before he destroys it.
 
CD: 18ms