public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: ian <spyro@f2s.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-serial@vger.kernel.org
Subject: Re: How to use serial ports from a kernel module.
Date: Sat, 26 Jan 2008 22:30:16 +0000	[thread overview]
Message-ID: <1201386616.3368.10.camel@wirenth> (raw)
In-Reply-To: <Pine.LNX.4.64.0801262138470.3642@axis700.grange>


On Sat, 2008-01-26 at 21:41 +0100, Guennadi Liakhovetski wrote:

> You need to write a line discipline... have a look here: 
> http://www.linux.it/~rubini/docs/serial/serial.html

Hi,

Thanks for the reply!

What I cant see from that is how one can avoid touching userspace at all
- as far as I can see, only userspace can actually attach a line
discipline to a serial port. I'd like to have this happen in the kernel
so that I dont need some program sitting idly opening the serial device
the whole time.

Thanks,

-Ian!


  reply	other threads:[~2008-01-26 22:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-26 19:19 How to use serial ports from a kernel module ian
2008-01-26 20:41 ` Guennadi Liakhovetski
2008-01-26 22:30   ` ian [this message]
2008-01-26 22:37     ` Guennadi Liakhovetski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1201386616.3368.10.camel@wirenth \
    --to=spyro@f2s.com \
    --cc=g.liakhovetski@gmx.de \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox