Re: f_ops flag to speed up compatible ioctls in linux kernel

Arjan van de Ven
2004-09-01T09:52:49Z

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]