Re: device driver used only in kernel-space: comedi or not

On Mon, Sep 05, 2005 at 11:46:28PM +0800, weiyun lv wrote:
> I am going to write a device driver which will only be used in kernel-space 
> of rtai-linux environment.
> I am wondering are there any advantages if I use comedi. (because I see 
> Comedi spent lots of efforts on user-space and kernel-space communication, 
> it is like that the driver is for user-space wriiten. am I right or not?)

Not writing a Comedi driver is extremely short-sighted.  The
obvious advantage of using Comedi is that you can easily switch
to using different hardware.  Shouldn't you be asking yourself
"Why would I rewrite a driver framework that already exists and
is tested?"

Also, drivers don't really have any code that communicates with user
space.



dave...

-- 
David Schleef
Big Kitten LLC (http://www.bigkitten.com/) -- data acquisition on Linux

Received on 2005-09-06Z19:55:11