[Voyage-linux] FTDI USB Serial Device converter disconnected
(spam-protected)
(spam-protected)
Mon Sep 5 22:42:15 HKT 2011
Thanks a million for the advise.
I'm a bit more interesting debugging the problem and understanding what is the cause of the disconnection. Indeed, the USB device disconnects from ttySB0 and reconnects automatically to ttyUSB1. The problem is that during the time when the device disconnects and reconnects I lose precious data so I'm trying to avoid disconnections.
Any other idea?
Thanks
Davide
On 5 Sep 2011, at 15:17, Rainer Stratmann wrote:
> You can close ttyUSB0 and open ttyUSB1 if you detect a disconnect.
> You can detect on which usb port a FTDI Chip is connected.
>
> /sys/bus/usb/drivers/x-x:x.x/ttyUSBx
>
> x is various.
>
> Am Monday 05 September 2011 16:06:00 schrieb themrorange at gmail.com:
>> Hi,
>>
>> I'm using Alix 2D3 and Voyage 0.7.5, and I'm facing a nasty problem with
>> the USB. I have a device connected by USB and I have to read information
>> from that device continuously for few months. For some reason, after a
>> while, the USB disconnects!!! Happened many times already and always after
>> a random period of time (few hours or few days).
>>
>> Has anybody of you had similar problem?
>>
>> As you can see below, from my dmesg output, the USB went off after more
>> than 2 days of activity!
>>
>> [ 62.583495] device tun0 entered promiscuous mode
>> [181469.402683] hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
>> [181469.403667] usb 1-1: USB disconnect, address 2
>> [181469.406021] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now
>> disconnected from ttyUSB0
>> [181469.406654] ftdi_sio 1-1:1.0: device disconnected
>> [181469.627963] usb 1-1: new full speed USB device using ohci_hcd and
>> address 3 [181469.777676] usb 1-1: configuration #1 chosen from 1 choice
>> [181469.783296] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
>> [181469.784171] usb 1-1: Detected FT232BM
>> [181469.785634] usb 1-1: FTDI USB Serial Device converter now attached to
>> ttyUSB1
>>
>> I google it a bit but I have not found solution yet
>>
>> Any comment is more than welcome
>>
>> Many thanks
>> Davide
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
More information about the Voyage-linux
mailing list