Re: /dev/ttyUSB0 spontaneously changes to /dev/ttyUSB1

2012-06-05 Thread Chris Adams
Once upon a time, Jonathan Ryshpan said: > I have a system with a device (a Davis VantagePro2 weather console) > attached to a USB port. When the system starts, the device is visible > as /dev/ttyUSB0. A wview server attaches to /dev/ttyUSB0 and runs fine > till suddenly the device disappears fr

Re: /dev/ttyUSB0 spontaneously changes to /dev/ttyUSB1

2012-06-05 Thread Tom Horsley
On Tue, 05 Jun 2012 19:22:50 -0400 Sam Varshavchik wrote: > Either the software needs to get fixed, so at least it can recover by > reopening the device Libudev might help with this, and what the heck, it would probably be nice if the software could handle a user yanking out the device as well

Re: /dev/ttyUSB0 spontaneously changes to /dev/ttyUSB1

2012-06-05 Thread Sam Varshavchik
Jonathan Ryshpan writes: I have tried the obvious, to open what ought to be the permanent location of the device, namely: /dev/serial/by-id/usb- Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 But the software stops working when the change takes place, evidently becau

Re: /dev/ttyUSB0 spontaneously changes to /dev/ttyUSB1

2012-06-05 Thread Alan Cox
> as /dev/ttyUSB0. A wview server attaches to /dev/ttyUSB0 and runs fine > till suddenly the device disappears from /dev/ttyUSB0 and appears > as /dev/ttyUSB1, at which time the server fails. You need to fix the server. > I suspect (though without much evidence) that the reason for the device

/dev/ttyUSB0 spontaneously changes to /dev/ttyUSB1

2012-06-05 Thread Jonathan Ryshpan
This is a problem which is being kicked around on another mailing list, devoted to the wview weather server, without very good results, so I have taken the liberty of putting it to a wider audience: I have a system with a device (a Davis VantagePro2 weather console) attached to a USB port. When t