On Wed, Aug 20, 2003 at 11:58:37AM -0500, David Anders wrote:
> Greg KH wrote:
> 
> >>>Can you load the pl2303 driver with:
> >>>   modprobe pl2303 debug=1
> >>>and then run the program for me?
> >>>
> >>>You should see a lot of information in the kernel debug log, any info on
> >>>ioctls that your program is using that is not supported by the driver
> >>>would be nice to see.
> >>
> 
> attached are three captures from debug mode. one with the onlcr, one 
> without the onlcr, and an echo "hello" > /dev/ttyUSB0.

What kernel version is this?

> Aug 20 11:39:03 lnxtest kernel: pl2303.c: pl2303_ioctl (0) cmd = 0x5401
> Aug 20 11:39:03 lnxtest kernel: pl2303.c: pl2303_ioctl not supported = 0x5401

TCGETS, not really a big deal that we don't support this one.

> Aug 20 11:39:03 lnxtest kernel: pl2303.c: pl2303_ioctl (0) cmd = 0x540b
> Aug 20 11:39:03 lnxtest kernel: pl2303.c: pl2303_ioctl not supported = 0x540b

TCFLSH, again, not a big deal, almost no one supports this one.

> Aug 20 11:39:03 lnxtest kernel: pl2303.c: pl2303_ioctl (0) cmd = 0x5402
> Aug 20 11:39:03 lnxtest kernel: pl2303.c: pl2303_ioctl not supported = 0x5402

TCSETS, again, not a big deal.

All three of those ioctls aren't supported by "normal" serial ports, so
this isn't a problem.

> 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?

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?

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