OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: How to write drivers?

From: Sviatoslav Chagaev (slavazb.lv)
Date: Thu May 01 2008 - 12:47:11 CDT


Yes, I even wrote a program which "talks" with the device directly, with the help of inb()/outb().

But now I want to learn how to write drivers =)

On Thu, 1 May 2008 19:22:10 +0200
Jonathan Schleifer <jswebkeks.org> wrote:

> Sviatoslav Chagaev <slavazb.lv> wrote:
>
> > I need to write a driver for a primitive device which connects to the
> > LPT port, so I was wondering, are there any
> > manuals/tutorials/HOWTOs/... on this subject?
>
> You don't even need a driver in the kernel for that, you can just
> access the lpt device in /dev.
>
> --
> Jonathan