Watching serial port activity.
Grant Edwards
grante at visi.com
Tue May 30 10:28:51 EDT 2006
On 2006-05-30, Peter Corlett <abuse at dopiaza.cabal.org.uk> wrote:
> A dirty hack that might work is to rename /dev/ttyS* off somewhere else and
> replace them with named pipes. Have a process monitor the named pipes and
> relay data back and forth to the actual serial ports while logging it. The
> serial ioctls won't work to the named pipe, but the application might not
> notice it failed.
If so, then that would be one pretty crappy application. ;)
The slsnif program uses a pty so it will support at least some
of the ioctl calls that a serial port does.
--
Grant Edwards grante Yow! Yow! Is my fallout
at shelter termite proof?
visi.com
More information about the Python-list
mailing list