Re: Driver Development Books?

From: Sangwoo Shim (sangwoos_at_gmail.com)
Date: 10/12/05

  • Next message: Michael C. Shultz: "Re: portmanager"
    Date: Thu, 13 Oct 2005 01:38:09 +0900
    To: Scott Long <scottl@samsco.org>
    
    

    2005/10/12, Scott Long <scottl@samsco.org>:
    > Pete wrote:
    > > Hello,
    > > I have what may seem to be a silly question, but I cannot find any
    > > other decent resources on the web. >.< The problem that I am having
    > > right now is
    > > that I have a fairly nice graphics card which, for the moment is only
    > > supported on Windows Operating systems, and old 2.4 Linux kernels. So
    > > far there has
    > > not been much positive outlook in porting the drivers to *BSD or any of
    > > the 2.6 kernels that I know of, let alone 64-bit drivers for non-Win OSes.
    > >
    > > So I guess that makes my question fairly simple then; I know that driver
    > > code is written in C (which I am learning currently) but thats about all
    > > I know. I'm probably
    > > not far off when I say that I need more to go on. Yet, from looking at
    > > Amazon.com I have not been able to find any books on writing driver
    > > code, which is really
    > > frustrating.
    > >
    > > One of my security related books, Rootkits, tells me about how to write
    > > drivers for a completely different reason so I know a bit more about how
    > > they work but again
    > > the code involved does not interface hardware to the OS, just injects a
    > > custom application. The other tool that I will probably use is Jungo,
    > > which is a nice-looking
    > > application which automates a skeletal version of the driver you need,
    > > but again, I would not know how to fill it out.
    > >
    > > Any help is appreciated.
    > >
    > > -Pete
    > >
    >
    > There are indeed no books that I know of on the subject of writing
    > drivers for any *BSD, let alone FreeBSD.
    [snip]

    For me, following book was quite helpful:
    Embedded FreeBSD cookbook, by Paul Cevoli
    ISBN: 1589950046

    It tells about basic kernel data structure for driver writing. One of
    the best aspect of this book is that it shows you real code for real
    device (a simple PCI device). Moreover, it was quite easy to read.
    Although it focuses on FreeBSD 4.X. For those who want some
    _introduction_ for the FreeBSD driver
    writing, I would like to recommend this.

    Regard,
    Sangwoo Shim
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Michael C. Shultz: "Re: portmanager"

    Relevant Pages

    • Re: number of /dev/usb nodes
      ... Hash: SHA1 ... I'm writing ... as a driver you get informed for each new device. ... I never said I was writing a FreeBSD driver... ...
      (freebsd-hackers)
    • Re: linux ioremap equivalent on freebsd
      ... nozomidriver to freebsd. ... Make sure you review the handbook on device driver writing: ...
      (freebsd-hackers)
    • Re: how to program a driver?
      ... someone can recommend me books about this topic i will be very ... a computer system, usually this is taught in freshmen days for a CS or ... for FreeBSD Kernel, <<Design and Implementation of the FreeBSD Operating ... My personal suggestion is to start from a simple network driver and try ...
      (freebsd-net)
    • Re: Internal SD card reader, Dell laptop
      ... Perhaps I should learn C properly and start writing some ... you'd have to get familiar with the FreeBSD ... kernel and writing device drivers. ... I guess a driver for an SD card reader should be similar to the USB ...
      (freebsd-questions)
    • [PATCH] Fix misspellings collected by members of KJ list.
      ... - * writting a Wavelan ISA driver for the MACH microkernel. ... there are two posibilities reading or writing. ... - * on non x86 architectures, so if you are writting portable code, ...
      (Linux-Kernel)