The HyperNews Linux KHG Discussion Pages

## Your choice...

  Forum: Device Drivers
  Re: Vertical Retrace Interrupt - I need to use it (Brynn Rogers)
  Date: Sun, 29 Sep 1996 20:44:18 GMT
  From: Michael K. Johnson <johnsonm@redhat.com>

What I am really confused about is this: Should I have a device that my animation program opens and then uses ioctls to talk to, Just have the driver wake my process and signal it, or Something much better that somebody will clue me in on. You are quite right that you need a device driver. If you can, I recommend avoiding using ioctls; if you can use the `write()` method to take data from the application and the `read()` method to give data back to the application (remember that those names are user-space-centric), I would recommend that you do it that way. It doesn't sound to me like a case in which `ioctl()`'s would be the cleanest solution.