On Fri, Oct 14, 2016 at 05:36:28PM +0200, Stefano Miccoli wrote:
> /dev/ttyUSBx names are NOT persistent, and typically when you unplug an 
> USB-to-serial adapter and reconnect it you get a new /dev/ttyUSBy device.
> On the contrary owserver needs a persistent device name to work properly: try
> googling  "udev rules ttyusb” for some recipes on how to write a udev rule
> which creates a persistent symlink to the current serial adapter, and 
> configure
> owserver to connect to the persistent name.  > 

  No need to google, udev already ships such rule:
$ tree /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.

Tomasz Torcz                        To co nierealne -- tutaj jest normalne.
xmpp: zdzich...@chrome.pl          Ziomale na życie mają tu patenty specjalne.

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