On 9/3/05, Nick Rout <[EMAIL PROTECTED]> wrote:
> On Sat, 2005-09-03 at 14:57 +1200, Paul Parkyn wrote:
> > On Sat, 03 Sep 2005 14:02, Christopher Sawtell wrote:
> > > > I have been trying to compile a program for some time now but have given
> > > > up the driver part will not compile.

The 2.6 tty layer has started to have some major rework done on it
lately. Would drivers/kernel-version are you using? You could try an
earlier kernel version - something like 2.6.8 (highest aval. on deb
stable).

> > >
> > > What driver are you trying to compile?
> > > The linux kernel has drivers for (almost) every network card in common 
> > > use.
> > Hi CS the driver is for a pty device. What I have is a Ethernet to serial
> > adapter the driver allows me to create a virtual serial port for use in any
> > comms program. The serial device is connected to a Building Management
> > computer which has its own monitor program  which we access through a serial
> > port. Trying to get this to work so I can access it from any computer on the
> > network.
> > I am not sufficiently adept at C programming to fix the problems.
> >
> > Thanks for your input Regards Paul
> 
> What is the driver you are trying to compile? (Or is it something closed
> source that you are not able to share?)
> 
> I am struggling a little to understand what it is you are trying to do.
> pty devices are already in the kernel. OTOH maybe I don't understand
> enough about pty devices :)

Real Quick Guide to the Linux serial and tty subsystem/layer:

ttys are just serial ports with some extra(character) handling on top
- stuff like escape character handling etc.

On linux serial ports and ttys are treated pretty much the same.
ie. : System calls for handling serial ports are the same as those for
tty devices.

A serial port is just a file - /dev/ttyS* etc. 

ptys are user-emulated tty's - things like gnome-terminal, xterm etc.
create these. (I'm not too sure how completely they emulate them tho).
I think Paul meant a fake serial(tty) device?

HTH,

Isaac

*** BEWARE GMAIL HEADER ***

Reply via email to