Subject: Re: IrDA
To: None <>
From: Lennart Augustsson <>
List: tech-kern
Date: 07/20/2000 21:54:40
"Nathan J. Williams" wrote:

> <> (Lennart Augustsson) writes:
> > The interface between the kernel and user-land will be on the IrDA
> > frame level.  The system calls read()/write() are used to transmit
> > frames back and forth.  Each read/write handles one frame.  The kernel
> > driver and/or hardware will handle things like framing, checksums,
> > byte stuffing, etc.  The user-land will handle everything else, like
> > all the protocol levels above (e.g. IrLAP, IrMux, IrComm, ...)
> > To change things like link speed (and mode) there will be a small
> > number of ioctl()s.
> Does this mean that accessing devices over IrCOMM will be different
> than accessing a normal serial device? For example, how would one run
> getty(8) over IrCOMM?
>         - Nathan

You can use a pty to make it look the same.  (From one side, at least.)

Having everything in user-land is probably not the final solution to handling
IrDA, but it's a start.  (It's also nice because it allows easier debugging.)


        -- Lennart