[Voyage-linux] FTDI USB Serial Device converter disconnected
Rainer Stratmann
(spam-protected)
Tue Sep 6 16:19:26 HKT 2011
Am Tuesday 06 September 2011 08:54:16 schrieb Sascha Blümle:
> Hi Jordi,
>
> is there any attempt going on to fix the basic problem and not only to cure
> the pain? If the device will get disconnected (because of which reason
> even)
That will not cause a crash.
You can close the file with the file-handle.
And then open another file and get a new file-handle.
> there will be an open file-handle left and the application will run
> into eternity.
>
> Thank you for your efforts.
>
> BR, Sascha
>
> > You'll have to manage this kind of exceptions. Using udev to create a
> > link to the last ttyUSBX device created could be useful. I use rules like
> > this freqüently:
> > KERNEL=="ttyUSB[0-9]*" , SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403" ,
> > ATTRS{idProduct}=="6001" , ATTRS{product}=="USB-RS485 Cable" ,
> > SYMLINK+="ftdi485"
> >
> > *Jordi *
More information about the Voyage-linux
mailing list