lkml.org 
[lkml]   [2004]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: f_ops flag to speed up compatible ioctls in linux kernel
On Wed, Sep 01, 2004 at 03:50:11AM -0600, filia@softhome.net wrote:
> Hi!
>
> Stop being arrogant.
> Can you please elaborate on how to make Linux kernel support e.g. motion
> controllers? They do not fit *any* known to me driver interface. They have
> several axes, they have about twenty parameters (float or integer), and

parameters nicely fit in sysfs.

> they have several commands, a-la start, graceful stop, abrupt stop. Plus
> obviously diagnostics - about ten another commands with absolutely
> different parameters. And about ten motion monitoring commands. And this is
> one example I were need to program.

a write() interface doesn't work???
Hard to believe, you even call them commands.
fd = open("/dev/funkydevice");
write(fd, "start");

doesn't sound insane to me

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2011 Jasper Spaans