lkml.org 
[lkml]   [2004]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectKernel space vs. user space for RS-485
Date
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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.017 / U:2.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site