On 09.08.2017 20:49, Matthias Urlichs via Owfs-developers wrote:
On 09.08.2017 19:46, Martin Patzak (GMX) wrote:
SUBSYSTEMS=="usb", ATTRS{manufacturer}=="FTDI", ATTRS{product}=="FT232R USB UART", ATTRS{serial}=="A800bXHr", GROUP="owsrv", MODE="0664", SYMLINK+="LinkUSB"

For me this works perfectly (a) without the symlink (b) with an additional DRIVER=="USB" condition.

(a) symlinking doesn't work with USB bus entries.
(b) is required because you don't want to use the TTY. owserver needs to access the "raw" USB device, i.e. (in my case)
instead of

Matthias, thank you for your swift and in-depth response.
For today I am udev-ed out! So I will try your changes to my rule tomorrow.

Meanwhile I was tinkering some more and I found the device node that owserver uses:

/ls -al /dev/bus/usb/003/017
    crw-rw-r-- 1 root root 189, 272 Aug  9 21:05 017

/I changed the group of that node to 'owsrv' and owserver with ftdi:... does indeed start without sudo!

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Owfs-developers mailing list

Reply via email to