D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Adventures with USB-serial converter

 

On Wed, 2008-09-10 at 15:48 +0100, Robin Cornelius wrote:
> On Wed, Sep 10, 2008 at 3:34 PM, Tony Sumner <tony@xxxxxxxxxxxxxxx> wrote:
> 
> >> $ stty /dev/ttyUSB0 2400
> >
> > I tried that but the result was the same; it ran for about three hours
> > and then stopped with fgets: Success. So speed was not the problem. No
> > worry; I am back running my script that switches from ttyUSB0 to
> > ttyUSB1 and back so I get a complete record and it runs forever.
> >
> 
> This would suggest that the USB device is dropping the connection, or
> resetting or something nasty Then it reboots very quickly and linux
> re-enumerates at the next available device node hence your flipping
> from /dev/ttyUSB0 to /dev/ttyUSB1 that you are seeing.

Or that you are using an unpowered USB hub and plugging something else
which resets the ID.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: This is a digitally signed message part

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html