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 - 14:53:22 CDT


Thanks!

On Thu, 01 May 2008 11:57:02 -0700
Predrag Punosevac <punosevacmath.arizona.edu> wrote:
> Sviatoslav Chagaev wrote:
> > 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 =)
> >
> >
> http://www.netbsd.org/docs/kernel/ddwg.html
>
>
>
> > 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