On Wed, 1 May 2002, Martijn Sipkema wrote:

> > > This is nice. What documentation did you use for writing the driver?
> >
> > http://www.math.tu-berlin.de/~sbartels/unitor/unitor8_doc.txt
> >
> > It's in German. I have a translation of it I made using some online
> > translation thingy a while ago, but I still find the German version a bit
> > more readable (and my German really sucks).
>
> I have that document also. Emagic would not give me any AMT
> documentation, that's why I aksed.

Did they actually say 'no', or just didn't answer?


> > > Also, using a kernel driver does not allow using many different serial
> > > hardware, right?
> >
> > I don't see why not. As long as it doesn't limit itself to a maximum of
> > one instance at a time.
>
> How does this work then? Can a file be opened from kernel space? Or is
> there a kernel module with an standard interface for serial devices?
> This would be needed in order to be able to use other than standard pc
> serial hardware such as usb serial convertors and professional multi
> port serial adapters, right?

The best way would be to simply use /dev/ttyS* from userspace. This
eliminates any dependencies on the underlying serial driver. I think.


> I was under the impression you were accessing the serial hardware
> directly.

Yes I am, but only the port in question. The other ports can still be
accessed in whatever way you like. It's still an ugly approach though.

-- 
Manush


Reply via email to