Hi Michael,
There are two possible uses for the usb<->tty mapping.
1. Discovery -- find a unique USB device (HobbyBoards, Eclo, etc) and then
find the tty port to use.
2. Tune a FTDI device when the /dev/tty port is passed to owfs.
You're right, of course. Probing an anonymous serial device is unsafe.
Paul
On Mon, Oct 6, 2014 at 6:13 PM, Michael Markstaller <m...@elabnet.de> wrote:
> Hi Paul,
>
> this is very interesting (one has 3x FTDI with 2-4 ports and 7x PL2303)
> and so I installed it straight away on several boxes.
>
> I suffer from this problem, that the kernel (or BIOS or whoever..)
> assigns different Bus/Device-IDs (and therefore tty) to the same device
> depending on:
> - cold(power-cycle) or a "warm" reboot
> - order of connection
> - Moon or Sun-Phase, I never found out :p
>
> My last conclusion was: only a device with a unique
> serial/name/description (like with FTxx) could be matched by a program
> (or udev-rule) to get one&the same /dev/xxx-Entry over all cases.
> It's even worse: Users change hubs, ports, ...
>
> The same might be sad but true for owfs & ttyUSBx, I wouldn't rely on that.
> That being said, I'll test; but my guess is: enumerate the device your
> looking for by other means, not bus/dev-id..
>
> Michael
>
>
> ------------------------------------------------------------------------------
> Slashdot TV. Videos for Nerds. Stuff that Matters.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers