International Kindle Paperwhite
$42.79 with 14 percent savings
List Price: $49.99
FREE International Returns
No Import Fees Deposit & $15.52 Shipping to Austria Details

Shipping & Fee Details

Price $42.79
AmazonGlobal Shipping $15.52
Estimated Import Fees Deposit $0.00
Total $58.31

Delivery Monday, June 16
Or fastest delivery Wednesday, June 4. Order within 6 hrs 27 mins
Only 3 left in stock (more on the way).
$$42.79 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$42.79
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

FreeBSD Device Drivers: A Guide for the Intrepid 1st Edition

4.6 out of 5 stars 28 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$42.79","priceAmount":42.79,"currencySymbol":"$","integerValue":"42","decimalSeparator":".","fractionalValue":"79","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"Ftn%2FtvTb2u7gOlWnx6CASMTfiyMxOOjjgP%2BKoIz3H8CbxJvnvAE5pTCNCJi3zffIF4EjSbJjOcyrZ6i%2FL%2BSr1S8H4rm50kW3nNhlm3HjJQwco1RzVx8xPyFRC4RUjxJNuCiykvni4M8%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}]}

Purchase options and add-ons

Device drivers make it possible for your software to communicate with your hardware, and because every operating system has specific requirements, driver writing is nontrivial. When developing for FreeBSD, you've probably had to scour the Internet and dig through the kernel sources to figure out how to write the drivers you need. Thankfully, that stops now. In FreeBSD Device Drivers, Joseph Kong will teach you how to master everything from the basics of building and running loadable kernel modules to more complicated topics like thread synchronization. After a crash course in the different FreeBSD driver frameworks, extensive tutorial sections dissect real-world drivers like the parallel port printer driver.

You'll learn:
–All about Newbus, the infrastructure used by FreeBSD to manage the hardware devices on your system
–How to work with ISA, PCI, USB, and other buses
–The best ways to control and communicate with the hardware devices from user space
–How to use Direct Memory Access (DMA) for maximum system performance
–The inner workings of the virtual null modem terminal driver, the USB printer driver, the Intel PCI Gigabit Ethernet adapter driver, and other important drivers
–How to use Common Access Method (CAM) to manage host bus adapters (HBAs)

Concise descriptions and extensive annotations walk you through the many code examples. Don't waste time searching man pages or digging through the kernel sources to figure out how to make that arcane bit of hardware work with your system.
FreeBSD Device Drivers gives you the framework that you need to write any driver you want, now.

Frequently bought together

This item: FreeBSD Device Drivers: A Guide for the Intrepid
$42.79
Only 3 left in stock (more on the way).
Ships from and sold by Amazon.com.
+
$77.59
Only 17 left in stock - order soon.
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
One of these items ships sooner than the other.
Choose items to buy together.

Editorial Reviews

Review

"At last, a definitive and authoritative book on FreeBSD device drivers! Kong's clear mastery of his subject shines through every page."
—Michael Lucas, FreeBSD committer and author of Absolute FreeBSD

"
FreeBSD Device Drivers is an excellent guide to the APIs used to write a device driver for FreeBSD."
—John Baldwin, Kernel Developer, FreeBSD

"I'd recommend the book for anybody that needs an introduction to drivers. The walk throughs will get people up to speed, as well as introduce many of the uniquely FreeBSD quirks one needs to know to integrate with FreeBSD."
—Warner Losh, FreeBSD core team 

"I am pleased to see No Starch provide a forum for books like this. They continue to produce high-quality works that read well and address subjects seldom found elsewhere."
—Richard Bejtlich, CSO of Mandiant & Founder of TaoSecurity

"I like this book. It fills a definite need, and does it well."
—Warren Block, FreeBSD committer 

"This book is definitely a must have for anybody interested in how FreeBSD device drivers are designed, not to mention those who are interested in writing their very own ones for the FreeBSD operating system!"
—Romain Tartière, FreeBSD ports committer

"This book is a no nonsense, straight to the point document that helps you get to the content quickly."
—BeginLinux.com 

"Definitely an excellent book with all the information you’ll need to start developing your own FreeBSD device drivers."
—xorl 

"Strikes a pretty good balance for its stated purpose. Its mostly 'just the facts ma’am' style works well, but it provides plenty of references for those wanting more detail or background. This is definitely worth a read if device drivers in FreeBSD are something you need or want to know about."
—Simon Gerraty, FreeBSD Journal

About the Author

The author of Designing BSD Rootkits (No Starch Press), Joseph Kong works on information security, operating system theory, reverse code engineering, and vulnerability assessment. Kong is a former system administrator for the City of Toronto.

Product details

  • ASIN ‏ : ‎ 1593272049
  • Publisher ‏ : ‎ No Starch Press
  • Publication date ‏ : ‎ May 12, 2012
  • Edition ‏ : ‎ 1st
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 352 pages
  • ISBN-10 ‏ : ‎ 9781593272043
  • ISBN-13 ‏ : ‎ 978-1593272043
  • Item Weight ‏ : ‎ 1.5 pounds
  • Dimensions ‏ : ‎ 7 x 0.82 x 9.25 inches
  • Customer Reviews:
    4.6 out of 5 stars 28 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Joseph Kong
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Joseph Kong is from Toronto, Ontario, Canada. He's worked as a system administrator. His interests include computer (in)security, reverse code engineering, and system programming.

You can find his website at http://thestackframe.org and on Twitter as @JosephJKong.

Customer reviews

4.6 out of 5 stars
28 global ratings

Review this product

Share your thoughts with other customers

Customers say

Customers find the book to be a wonderful read and resource, with clear explanations of device drivers for FreeBSD.

AI-generated from the text of customer reviews

Select to learn more

4 customers mention "Readability"4 positive0 negative

Customers find the book to be a wonderful read and resource, with one customer specifically praising it as a great guide for writing device drivers for FreeBSD.

"This is a really helpful book, I have read and searched forth and back the Freebsd documentation for clues for starting driver development, well..." Read more

"It's a great book on writing device drivers for FreeBSD. Very well explanation on FreeBSD device driver architecture...." Read more

"Good book with working examples and easy to follow. Use it to study the BSD driver basics...." Read more

"...this book would get updated, but none-the-less, this is an excellent resource and a wonderful read. It truly is a good book...." Read more

3 customers mention "Explanation quality"3 positive0 negative

Customers find the book's explanations well-written and easy to follow, with one customer noting it serves as a good introduction to the topic.

"It's a great book on writing device drivers for FreeBSD. Very well explanation on FreeBSD device driver architecture...." Read more

"Good book with working examples and easy to follow. Use it to study the BSD driver basics...." Read more

"...However I found it to be a good introduction to the topic. It is very PC-centric, and not that useful if you are doing embedded work...." Read more

Top reviews from the United States

  • Reviewed in the United States on September 2, 2013
    This is a really helpful book, I have read and searched forth and back the Freebsd documentation for clues for starting driver development, well you could read the source code of the drivers as well, but is it better to read this book first as it will make things clear or you will be more familiar with the current infrastructure, this book is really is a must if you want to start digging on FBSD driver coding, I really recommend it.
    4 people found this helpful
    Report
  • Reviewed in the United States on November 2, 2016
    It's a great book on writing device drivers for FreeBSD. Very well explanation on
    FreeBSD device driver architecture.
    The study of the book is also a good academic practice on how to use
    synchronisation and concurrency primitives.

    I'm strongly recommend the book along with the classic
    "The Design and Implementation of the FreeBSD operating system"
    for anyone delving in depth with operating system kernels,
    using the superb FreeBSD as a case study.
    3 people found this helpful
    Report
  • Reviewed in the United States on May 28, 2013
    Good book with working examples and easy to follow.
    Use it to study the BSD driver basics.
    Bit more details about the PCIe devices might be useful.
    2 people found this helpful
    Report
  • Reviewed in the United States on June 24, 2019
    I wish to high heaven this book would get updated, but none-the-less, this is an excellent resource and a wonderful read.
    It truly is a good book.
    I bought the ebook, but want the print book.
    3 people found this helpful
    Report
  • Reviewed in the United States on December 12, 2018
    Great price and excellent condition.
    One person found this helpful
    Report
  • Reviewed in the United States on January 18, 2015
    What a fun story!!
    Bring together a very recently divorced Sadie with her Aunt Dody, brothers Jasper and Fontaine, and Des, a real hunky emergency room doctor in Bell Harbor, Michigan and you have the makings of a good romance story. Add that Sadie brings her 4 and 6 year old children as she escapes into her aunt's dotty attitude and malapropisms and the fact that Fontaine is gay and it begins to look even more interesting. Sadie's whole family seems dedicated to double-entendres, smart remarks and stories of misspent youth, while her daughter Paige's misunderstanding of adult humor leaves you rolling on the floor laughing.
    Aunt Dody and Fontaine are dedicated to matchmaking with Sadie and Des. That is greatly complicated by Sadie's emphatic decision to never fall in love or marry again and Des' role as a temporary fill-in for the regular emergency room doctor. Sadie and Fontaine both find Des tremendously attractive. Since Sadie's ex-husband Richard has successfully torn apart Sadie's self esteem, she enters into a friendship with Des afraid of her own shadow. She second-guesses both her own and Des's actions and words, always putting the worst possible spin on them.
    This is a well-written light-hearted romp with a truly dysfunctional cast of characters. I loved it!
    One person found this helpful
    Report
  • Reviewed in the United States on March 17, 2017
    It's a nice overview, but it only scratches the surface. However I found it to be a good introduction to the topic. It is very PC-centric, and not that useful if you are doing embedded work.

    Also I feel like the author doesn't really explain the concepts that well, like for example what the various structures actually represent, like which ones are associated with the driver as a whole, which ones are specific to each instance, etc.
    6 people found this helpful
    Report
  • Reviewed in the United States on May 4, 2012
    Most programmers consider device drivers the darkest of the dark computer arts, but to write a good device driver what's needed is a decent template and some good documentation. The FreeBSD Operating Systems has plenty of templates, in the form of already working drivers, and with the publication of Joseph Kong's latest book, _FreeBSD Device Drivers_, now there is good documentation as well.

    The book takes the reader from the simplest types of drivers, such as those used to do serial communication, up through disk, usb and network drivers, which are far more complex and require the programmer to have a greater understanding about the operating system in which they're working. The introductory chapters give enough of the required background information for writing a driver, covering areas such as memory allocation, and synchronization primitives, without preventing the reader from, very quickly, getting down to working on real code.

    One of the beauties of this book is that it covers running code in a real world operating system, making it far more relevant for both students and working programmers. Many books on programming create neat and easy problems that the authors think will take the reader through the necessary steps to understanding a concept, but this book doesn't shy away from the nitty gritty details of low level code.

    The book has an easy to read, narrative style which makes reading it an enjoyable experience, a seeming rarity in technical books.

    I'd recommend this book to anyone who wants to truly understand what goes on, under the hood, in an operating system.
    9 people found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • Elmout Tartanpion
    5.0 out of 5 stars Le coeur de FreeBSD
    Reviewed in France on July 2, 2013
    Que dire de ce livre, à part que c'est une perle! Toute personne qui s'intéresse au développement système de près - ou de loin - devrait le lire! Un ouvrage pointu qui à le mérite d'être clair, bien écrit, et incroyablement précis!
    Report
  • Lars Andersen
    5.0 out of 5 stars How to create drivers for hardware.
    Reviewed in Canada on April 3, 2019
    No dislike, I received the book earlier than expected. The book is for creating drivers for hardware written in c++. Lars Andersen
  • B. W.
    5.0 out of 5 stars Good book, but not for the faint of heart
    Reviewed in Germany on May 9, 2013
    This book gives interesting insights into the development of drivers for FreeBSD (or for any unix-like system). But it should be noted that knowing C is absolutely necessary to understand it. It is no book for beginners therefore. The writing style is enjoyable but very precise and sometimes a bit dry.
  • Luca Ferrari
    4.0 out of 5 stars Clear, reabled, concise
    Reviewed in Italy on December 5, 2017
    A must read to understand better how the FreeBSD kernel and module system works. It is short and complete of full examples, and it is a must read for a FreeBSD developer.
  • Pierre Paul Jacques
    5.0 out of 5 stars Une référence dans le domaine FreeBSD
    Reviewed in France on May 6, 2015
    Très bon livre que je recommende à tous.
    Permet de se mettre dans la création de devices pour divers usages.