On Mon, Jul 03, 2006 at 12:50:45PM +0100, Paulo Marques wrote:
> 
> This problem is already solved, now (see the other thread). I just 
> wanted to comment on this:
> 
> Greg KH wrote:
> >[...]
> >'cat' is not a good thing to do when testing usb-serial devices.  Please
> >use a serial transfer program instead.  Some of the usb-serial drivers
> >like to re-initialize things to line settings that you don't expect,
> >every time the port is opened, so 'cat' might not work.
> 
> Shouldn't this be considered a bug? If it is not a bug then what's the 
> point of having a stty program at all? Am I missing something?

Yes, it might be considered a bug.  But for a lot of these usb-serial
drivers, they were reverse engineered by looking at the data streams
that were sent to the device from other operating systems.  So they tend
to reset the line settings each time in order to get to a known state.

For real programs, this doesn't make any difference (minicom, kermit,
etc.), so no one has taken the time to try to fix them up.

Hope this helps,

greg k-h

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to