hugovincent / osx-pl2303

Prolific PL2303 USB-Serial driver for OS X 10.7
GNU General Public License v2.0
36 stars 9 forks source link

Serial port becomes unresponsive after a few minutes #2

Open chrissnell opened 13 years ago

chrissnell commented 13 years ago

After opening up my USB<->serial line with C-Kermit, I'm able to converse with the device on the other end. After a few minutes, it freezes and I can no longer converse with the device.

If I unplug the USB<->serial cable from the Mac Pro and plug it back in, I can reconnect to my device and communication works normally once again.

This is the USB<->serial cable that I'm using:

http://www.monoprice.com/products/product.asp?c_id=103&cp_id=10311&cs_id=1031104&p_id=3726&seq=1&format=2

I'm running the latest version of your code, cloned from github today, September 22, 2011. I compiled it with Xcode 4.1.

Serial settings to communicate with this device is: 4800 baud 8/N/1, hardware flow control NONE, software flow control NONE

I'm not a software developer but I am an experienced systems administrator and I'm willing to help out in any way that's useful.

Thanks.

chrissnell commented 13 years ago

Possibly interesting messages from /var/log/kernel.log:

Sep 22 18:18:23 roatan kernel[0]: [ffffff801b0c7400][AppleMultitouchDevice::start] entered Sep 22 18:28:24 roatan kernel[0]: osx_pl2303(0xffffff801942d800)::dequeueDataGated - INTERRUPTED Sep 22 18:28:28 roatan kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed Sep 22 18:33:20 roatan kernel[0]: osx_pl2303(0xffffff8030e24200)::dequeueDataGated - INTERRUPTED Sep 22 18:33:31 roatan kernel[0]: nstat_lookup_entry failed: 2

chrissnell commented 13 years ago

One last tidbit: I just confirmed that if I close the serial port device (that is, close C-Kermit, Zterm, or whatever is opening it) and then re-open it, it starts working again....but only for a few minutes and then it freezes up again.