Messages in this thread | | | From | "Martin Angler" <> | Subject | Kernel space vs. user space for RS-485 | Date | Tue, 27 Apr 2004 12:04:05 +0200 |
| |
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/
| |