Then probably the app is opening the port O_NONBLOCK but not expecting short writes.
Would appear so:
userdata->fd = open(userdata->cabledev, O_RDWR|O_NONBLOCK|O_NOCTTY);
[SNIP]While I'm at it, I've run into another problem - after syncing A-F, I get a "transfer interrupted," and best I can tell it is because of this:
Jul 26 00:05:02 rider kernel: drivers/usb/serial/pl2303.c: pl2303_ioctl (0) cmd = 0x5401
Jul 26 00:05:02 rider kernel: drivers/usb/serial/pl2303.c: pl2303_ioctl not supported = 0x5401
This is probably not the source of the problem. 0x5401 is the TCGETS
You can send me the full log and I will see if I see anything more suspicious.
OK, happy to do. Though the only other thing there is:
Jul 26 23:39:10 rider kernel: drivers/usb/serial/pl2303.c: pl2303_write_room - port 0
Jul 26 23:39:10 rider kernel: drivers/usb/serial/pl2303.c: pl2303_write_room - returns 4095
Jul 26 23:39:10 rider kernel: drivers/usb/serial/pl2303.c: pl2303_close - port 0
Jul 26 23:39:10 rider kernel: drivers/usb/serial/pl2303.c: pl2303_close - shutting down urbs
Jul 26 23:39:10 rider kernel: drivers/usb/serial/pl2303.c: pl2303_close - usb_unlink_urb (write_urb) failed with reason: -43
Jul 26 23:39:10 rider kernel: drivers/usb/serial/pl2303.c: pl2303_read_bulk_callback - port 0
Jul 26 23:39:10 rider kernel: drivers/usb/serial/pl2303.c: pl2303_read_bulk_callback - urb->status = -2
I've posted the whole log here: http://www.phildev.net/pl2303.log.gz
I would CC to Greg. Also add a Signed-off-by: line.
Resent with both of those. Thanks Al.
-- Phil Dibowitz [EMAIL PROTECTED] Freeware and Technical Pages Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759
signature.asc
Description: OpenPGP digital signature
