Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial port becomes unresponsive after a few minutes #2

Open
chrissnell opened this issue Sep 23, 2011 · 2 comments
Open

Serial port becomes unresponsive after a few minutes #2

chrissnell opened this issue Sep 23, 2011 · 2 comments

Comments

@chrissnell
Copy link

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
Copy link
Author

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant