From: "Martin Angler" <martin.angler@email.it>
To: <linux-kernel@vger.kernel.org>
Subject: Kernel space vs. user space for RS-485
Date: Tue, 27 Apr 2004 12:04:05 +0200 [thread overview]
Message-ID: <S263970AbUD0KED/20040427100403Z+208@vger.kernel.org> (raw)
Hello,
I have to develop a pseudo-device driver that gets data from a RS485
interface, frames it and gives the framed data to libpcap. This whole thing
is a university project. Now I know, that writing a kernel module I can't be
using the standard C library for invocations of read() or ioctl() methods in
order to get the data from the RS485 interface.
So my plan would be writing a driver xxx which has its file operations
xxx_read, xxx_open and xxx_release. xxx_read should call then some kind of
read method in order to get the data from the RS485. Are there any exported
symbols from the RS485 driver? Or do I have to write the whole driver in
user space in order to access the RS485 interface?
Thanks in advance,
Martin Angler
reply other threads:[~2004-04-27 10:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=S263970AbUD0KED/20040427100403Z+208@vger.kernel.org \
--to=martin.angler@email.it \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®