Dan Widyono on 5 Nov 2004 17:37:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] ok..Trying to get PERL to read/write to a tty port...


It may be overkill, but here's my attempt to talk to an embedded serial
device using perl:

	http://www.liniac.upenn.edu/software/tempck

It's got a couple of known issues with it (e.g. hard-coded 22-character
return length), and it's a work in progress, but hopefully it could help
(specifically the use of select with four args, and the read with timeout).

Dan W.

On Fri, Nov 05, 2004 at 11:27:24AM -0500, George Gallen wrote:
> I don't get any error on file open but the process hangs.  I used stty
> to set the port to 9600/e/7/1

-- 
-- Daniel Widyono             --
-- www.widyono.net            --
-- www.cis.upenn.edu/~widyono --
-- 
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug