Teaching how to write device drivers

Driving Passion

Article from Issue 151/2013

maddog considers the benefits of teaching students how to write device drivers.

Recently, I was working with an “upstream” developer of Linux kernel device drivers. This particular developer was working in the media subsystem section of the kernel, where there are a LOT of device drivers because the media subsystem is either the second or third largest driver subsystem in the kernel. The developer reviewed about 3,000 patches per kernel cycle in addition to doing about 100 patches per kernel cycle himself. He was not complaining, just letting me know the work load.

In the midst of our discussions, he lamented:

Not actually knowing why Academia doesn’t contribute upstream, I would guess that writing a new driver is probably a too short project for them, as students are supposed to work on a 6-month to 2-year window, while writing a new driver takes only a few days with the proper datasheets and/ or a reference driver and a knowledgeable developer.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • New MMC Layer Announced for Kernel 2.6.24

    Kernel 2.6.24 has kicked off with the announcement of a new MMC Layer. The new layer will support the SDIO (Secure Digital Input Output) and SPI (Serial Peripheral Interface) standards.

  • Minix 3

    Minix is often viewed as the spiritual predecessor of Linux, but these two Unix cousins could never agree on the kernel design. Now a new Minix with a BSD-style free license is poised to attract a new generation of users.

  • Userspace Drivers

    New versions of the Linux kernel will support a special userspace driver
    model, but some technical pitfalls might limit the use of this interesting
    new feature.

  • State of Linux Drivers

    Linux developers are working on a whole new generation of tools for managing and updating device drivers. We'll help you get a handle on device drivers.

  • Doghouse: Assembler

    "maddog" explains why a knowledge of assembler, or other machine language, can be very useful.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More