If you choose to write a device driver, you must takeeverything written here as a guide, and no more. I cannotguarantee that this chapter will be free of errors, and Icannot guarantee that you will not damage your computer, evenif you follow these instructions exactly. It is highlyunlikely that you will damage it, but I cannot guaranteeagainst it. There is only one ``infallible' direction I cangive you: Back up! Back up before you test your newdevice driver, or you may regret it later.
![]() TheHyperNews Linux KHGDiscussion Pages Device Drivers
THIRD EDITION. Jonathan Corbet, Alessandro. O'Reilly Media, Inc. The Linux series designations, Linux Device Drivers, images. Having already helped two generations of programmers explore Linux and write devices, the fourth edition of this classic book delves into tty, USB, and HCI.
![]() Other sources of information
Quite a few other references are also available on the topicof writing Linux device drivers by now. I put up some (slightlyoutdated by now, but still worth reading, I think) notes for atalk I gave in May 1995 entitledWritingLinux Device Drivers,which is specifically oriented at character devices implementedas kernel runtime-loadable modules.
Linux Journal hashad a long-running series of articles called Kernel Kornerwhich, despite the wacky name, has had quite a bit of useful informationon it. Some of the articles from that column may be available onthe web; most of them are available for purchase as back issues.One particularly useful series of articles, which focussed infar more detail than my 30 minute talk on the subject of kernelruntime-loadable modules, was in issues 23, 24, 25, 26, and 28.They were written by Alessandro Rubini and Georg v. Zezschwitz.Issue 29 is slated (as of this writing) to have an articleon writing network device drivers, written by Alan Cox.Issues 9, 10, and 11 have a series that I wrote on block devicedrivers.
Copyright (C) 1992, 1993, 1994, 1996 Michael K. Johnson,[email protected].
Messages
Book Description
Device drivers literally drive everything you're interested in - disks, monitors, keyboards, modems--everything outside the computer chip and memory. And writing device drivers is one of the few areas of programming for the Linux operating system that calls for unique, Linux-specific knowledge. For years now, programmers have relied on the classic Linux Device Drivers from O'Reilly to master this critical subject. Now in its third edition, this bestselling guide provides all the information you'll need to write drivers for a wide range of devices.
Over the years the book has helped countless programmers learn:
The new edition of Linux Device Drivers is better than ever. The book covers all the significant changes to Version 2.6 of the Linux kernel, which simplifies many activities, and contains subtle new features that can make a driver both more efficient and more flexible. Readers will find new chapters on important types of drivers not covered previously, such as consoles, USB drivers, and more.
About the Authors
![]() ![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |