Hi,

note that OWFS nowadays have built-in FTDI support, you just have to specify the correct serial. In your case, it looks like the serial is A6XJSOX5, so this might work:


owserver -d ftdi:s:0x0403:0x6001:A6XJSOX5

(If it is a LinkUSB device, use --link instead of -d for optimal performance). As mentioned before, owusbprobe can help you with identification (however not sure how reliable it is, yet).

Johan


On 14/10/16 21:47, Stefano Miccoli wrote:

On 14 Oct 2016, at 18:35, Tomasz Torcz <to...@pipebreaker.pl <mailto:to...@pipebreaker.pl>> wrote:

No need to google, udev already ships such rule:
$ tree /dev/serial/
/dev/serial/
├── by-id
│   └── usb-FTDI_FT232R_USB_UART_A6XJSOX5-if00-port0 -> ../../ttyUSB0
└── by-path
   └── pci-0000:00:1d.0-usb-0:1.3:1.0-port0 -> ../../ttyUSB0

 One name encodes serial number of a dongle, second one physical
connection – up to USB port.
 Both are created by 60-serial.rules from upstream udev.

You are perfectly right. I failed to mention that I prefer to write my own rules just because I like shorter, more descriptive names, like /dev/ttyOWbasement, and because I *never*ever* run owserver as root, but as a dedicated system user, so I need to setup permissions. In other words I split configuration in two steps: udev will find the serial adapter and setup symlink and permissions, while owfs.conf will point to a descriptive name.

But of course if default permissions are OK, and you can cope with
/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A6XJSOX5-if00-port0
there is really no reason for writing a custom udev-rule.

In fact instructions for a basic owserver configuration on linux should use your suggestion, and not mine.

S.


------------------------------------------------------------------------------
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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to