Re: virtual serial port driver.....
- From: Grant Edwards <grante@xxxxxxxx>
- Date: Wed, 18 Oct 2006 14:58:39 -0000
On 2006-10-18, Iwo Mergler <Iwo.Mergler@xxxxxxxxxxxxxxxxxxxx> wrote:
is it the same way to develop it with a regular serial char drive???
No. You can write a char driver which behaves like a serial
port, but that means that you have to implement a long list
of IOCTLs.
Including the line discipline layer, which will be a bitch to
get right.
They tty subsystem in the kernel takes care of most of this.
You need to write a tty driver.
http://lwn.net/images/pdf/LDD3/ch18.pdf
I'm glad somebody is finally documenting tty drivers! I would
have killed for that chapter a few years ago.
--
Grant Edwards grante Yow! Kids, don't gross me
at off... "Adventures with
visi.com MENTAL HYGIENE" can be
carried too FAR!
.
- References:
- virtual serial port driver.....
- From: marojahan
- Re: virtual serial port driver.....
- From: Iwo Mergler
- virtual serial port driver.....
- Prev by Date: Re: virtual serial port driver.....
- Next by Date: how to write a driver for a PCI (Xpress) bridge?
- Previous by thread: Re: virtual serial port driver.....
- Next by thread: Re: virtual serial port driver.....
- Index(es):
Relevant Pages
|
Loading