Date: Thu, 12 Apr 2001 13:28:27 +1000 From: Andrew Johns <johnsa@kpi.com.au> To: freebsd-questions@freebsd.org Subject: How to:Read directly from serial port to a file Message-ID: <3AD520DB.34AC2D03@kpi.com.au>
next in thread | raw e-mail | index | archive | help
Issue: I've got a PC attached to a phone system which emits data about the phone lines in use via a serial line at 1200 baud. What I want is to plug the serial cable into the PC and dump the incoming data directly to a file for later analysis by 3rd party software. I have had this working in the past, but the box has been blown away and I cannot seem to get it going again. cu only seems to want to talk interactively. The moment I background the process it stops (tty output), even though I've directed stdout to a file. All help appreciated. System: 3.3-REL Serial ports: 16550a's x 4 Nothing else is relevant - I've had this working before (maybe not with cu?) Thanks -- aj To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AD520DB.34AC2D03>