On Wed, Aug 20, 2003 at 12:33:15PM -0500, David Anders wrote:
> Greg KH wrote:
> 
> >
> >What kernel version is this?
> >
> this is on 2.4.20

Ok, some of the line setting support is not in that version, but for
now, you should be fine.

> >>Aug 20 11:39:03 lnxtest kernel: pl2303.c: pl2303_write - port 0, 24 bytes
> >>Aug 20 11:39:03 lnxtest kernel: pl2303.c: pl2303_write - length = 24, 
> >>data = 74 65 73 74 20 6f 75 74 70 75 74 20 77 69 74 68 20 6e 65 77 6c 69 
> >>6e 65 Aug 20 11:39:03 lnxtest kernel: pl2303.c: 
> >>pl2303_write_bulk_callback - port 0
> >
> >
> >The data was written properly, right?
> 
> yes some data was written to the port, howerver when the onlcr is set, 
> the following continues to repeat indefinetly:
> 
> Aug 20 11:39:03 lnxtest kernel: pl2303.c: pl2303_write_bulk_callback - port 0
> Aug 20 11:39:03 lnxtest kernel: pl2303.c: pl2303_write - port 0, 0 bytes

That's either the tty layer, or glibc, or your program asking to write 0
bytes to the driver.  Someone is a bit confused here :)

> >I don't see any real problems in these files.  What is the data coming
> >out the serial port?  Does it not match what you are expecting here?
> >
> 
> with onlcr enabled, the data only shows up on the port after the port 
> has been closed, re-opened and a cr is sent

What are you using to read from the port (please do not say 'cat'...)?

thanks,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to