LWN: Comments on "Linux Device Drivers, Third Edition now online" https://lwn.net/Articles/127556/ This is a special feed containing comments posted to the individual LWN article titled "Linux Device Drivers, Third Edition now online". en-us Fri, 24 Oct 2025 20:06:49 +0000 Fri, 24 Oct 2025 20:06:49 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Linux Device Drivers, Third Edition now online https://lwn.net/Articles/552556/ https://lwn.net/Articles/552556/ lsl <div class="FormattedComment"> Nice! Thank you for the work.<br> </div> Sat, 01 Jun 2013 07:27:51 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/552555/ https://lwn.net/Articles/552555/ duxing2007 <div class="FormattedComment"> hello everybody, source code examples in ldd3 are based on 2.6.10, which won't compiled on kernel version using in most currently linux distributions.I've port them to all linux longterm stable branch after 3.0. see <a rel="nofollow" href="https://github.com/duxing2007/ldd3-examples-3.x">https://github.com/duxing2007/ldd3-examples-3.x</a>.<br> </div> Sat, 01 Jun 2013 03:57:35 +0000 Linux Device Drivers, Third Edition now online, pure HTML https://lwn.net/Articles/206101/ https://lwn.net/Articles/206101/ conan_hacker Here is the book in html format, one page per chapter: <a href=http://linuxdriver.co.il/ldd3/>http://linuxdriver.co.il/ldd3/</a> Wed, 25 Oct 2006 21:05:16 +0000 Looking for info on writing 64 bit drivers https://lwn.net/Articles/184979/ https://lwn.net/Articles/184979/ Eliot One topic that I'd really like to see as an addendum, or in LDD4 ;-) is 64 bit compatibility. Either as a new chapter, or distributed through the book.<br> <p> E.g Cover compat_ioctl vs unlocked_ioctl, DMA, 64/32 compatibility etc.<br> <p> Does anybody have any pointers to existing online text on this subjecct?<br> Wed, 24 May 2006 22:47:30 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/155655/ https://lwn.net/Articles/155655/ mfirth A suggestion:<br> <p> On the top page of the LDD Third Edition (i.e. <a rel="nofollow" href="http://lwn.net/Kernel/LDD3">http://lwn.net/Kernel/LDD3</a>) would it be possible to add a sentence, as is covered in the text of the book, explaining that this book only covers Kernel 2.6 (and presumably higher) and that LDD Second Edition covers Kernel 2.2 and 2.4, with a link to the LDD Second Edition online edition?<br> <p> Regards<br> <p> Michael<br> Thu, 13 Oct 2005 15:30:11 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/135991/ https://lwn.net/Articles/135991/ abhishek I got my Indian Edition copy from Gangaram's nearly a month ago. Rs. 450. Ask for 10% discount on cash payment.<br> Sat, 14 May 2005 20:52:45 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/128352/ https://lwn.net/Articles/128352/ balbir I am waiting to buy the book, meanwhile I downloaded the PDF's. It helps me wait for the book while it arrives. No bookstores in Bangalore have the original edition, claiming that an Indian edition should be on its way soon. Unfortunately for me shipping from the US is very expensive, almost half the cost of the book<br> Sat, 19 Mar 2005 06:40:54 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/128129/ https://lwn.net/Articles/128129/ piman The word "Program" is not the same as the word "program". "Program" is a technical term for the scope of the GPL that referrs to the work being licensed. It just happens that most Programs are also programs, but it's perfectly acceptable for a Program to be something other than a program.<br> <p> Consider the analogous "float an_integer = 3.14".<br> Thu, 17 Mar 2005 21:14:06 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/128102/ https://lwn.net/Articles/128102/ tmattox I recieved my copy a few days ago. Looks great so far.<br> And now with the online version, I have a computer searchable reference too! Fantastic.<br> Thu, 17 Mar 2005 17:35:53 +0000 Why the GPL is fine for documentation (where desired) https://lwn.net/Articles/127982/ https://lwn.net/Articles/127982/ rickmoen Joe Buck wrote: <p><em>You think there are no problems with applying the GPL to documentation? OK, here's one. You have a GPLed manual, printed out on paper. You give it to a friend. Is that legal?</em> <p><em>Answer: no, unless you jump through some extra hoops. You need to either provide your friend with the source code for the book (LaTex source, DocBook, OpenOffice file, whatever), or you need to give your friend a written offer, good for three years, to provide the source later on whenever he demands it (though you can charge a fee to cover your expenses in doing this).</em> <p>Actually, since you're a non-comercial redistributor, you simply pass along upstream's offer of access to the preferred format, persuant to GPLv2 clause 3c. <p>The obvious place to use GPL for documentation is for HTML docs, or online docs with builtin hyperlinks to SGML or XML source, etc. In that case the "Master copy is at [URL]" header serves as the aforementioned upstream written offer, regardless of how the thing gets subsequently redistributed. <p>And that's pretty much what <a href="http://www.gnu.org/philosophy/nonsoftware-copyleft.html">Michael Stutz wrote</a>, too. <p>Rick Moen<br> rick@linuxmafia.com Thu, 17 Mar 2005 07:39:32 +0000 Why the GPL is wrong for documentation https://lwn.net/Articles/127961/ https://lwn.net/Articles/127961/ JoeBuck You think there are no problems with applying the GPL to documentation? OK, here's one. You have a GPLed manual, printed out on paper. You give it to a friend. Is that legal? <p> Answer: no, unless you jump through some extra hoops. You need to either provide your friend with the source code for the book (LaTex source, DocBook, OpenOffice file, whatever), or you need to give your friend a written offer, good for three years, to provide the source later on whenever he demands it (though you can charge a fee to cover your expenses in doing this). <p> Even if you want to distribute a PDF, you still need to provide the source, since a PDF is not a preferred form for modification. It will do to put the source on the same FTP or HTTP server. Thu, 17 Mar 2005 02:13:04 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127959/ https://lwn.net/Articles/127959/ gregkh Not all examples are dual licensed, some of them are GPL only due to the fact that they are based on GPL only code.<br> Thu, 17 Mar 2005 01:41:48 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127768/ https://lwn.net/Articles/127768/ sttng359 The examples are dual BSD/GPL licensed. <br> Wed, 16 Mar 2005 03:32:07 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127757/ https://lwn.net/Articles/127757/ riddochc So, you're right that it doesn't mention linking... much. "This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library."<br> <p> But that was just one example of my point. Maybe the fact that the GPL uses the word "Program" more than fifty times, and the word "document" once, and only in the context that "Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed."<br> <p> You don't suppose a different license might be more appropriate for a document than a license that doesn't even refer to the work it's licensing as a document?<br> <p> Wed, 16 Mar 2005 01:23:32 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127746/ https://lwn.net/Articles/127746/ carlos Congratulations, I just ordered my copy. Thanks for the free license!<br> Tue, 15 Mar 2005 23:56:50 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127633/ https://lwn.net/Articles/127633/ charlieb Read the license, and/or have your lawyer read the license.<br> Tue, 15 Mar 2005 23:36:20 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127687/ https://lwn.net/Articles/127687/ sanjoy <P>Thanks for making it available under a CC license. <P>The article says "This book is available under the terms of the Creative Commons Attribution-ShareAlike 2.0 license. That means that you are free to download and redistribute it." Aren't you also free to make derivative works, as long as if they are distributed, they are made available on the same terms (the ShareAlike provision)? That'll become easier once the HTML is available, of course. <P>The PDF version of the copyright page says it uses a NonCommerical CC license. Which version is right? <P>And, why is the PDF file for the one copyright page 360KB?! Tue, 15 Mar 2005 18:45:54 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127678/ https://lwn.net/Articles/127678/ dlang re-read the second post here, the code snippits are dual licensed under BSD/GPL<br> Tue, 15 Mar 2005 18:18:45 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127653/ https://lwn.net/Articles/127653/ qingyou_meng This is really a good book, thank you guys!<br> Tue, 15 Mar 2005 16:29:52 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127647/ https://lwn.net/Articles/127647/ pellucide I bought the first edition of the book few yers back. Loved it. <br> Thanks for putting it on the CC license.<br> <p> <p> Tue, 15 Mar 2005 15:56:40 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127645/ https://lwn.net/Articles/127645/ toufeeq_hussain Ohh this is great.<br> I've always wanted a 2.6 Kernel Book.<br> The best part is that its released under the CC license.<br> Thanks guys.<br> Tue, 15 Mar 2005 15:42:25 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127634/ https://lwn.net/Articles/127634/ bk I am not a lawyer, but according to my reading of the license that is permitted provided that you give attribution to the authors and distribute your derivative work(s) under the same Attribution-ShareAlike license.<br> Tue, 15 Mar 2005 14:38:39 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127632/ https://lwn.net/Articles/127632/ nhoxanh I have a question: if I translate the book to other languages, and provides it on the internet for free for everybody, is that legal or not?<br> <p> And what if my translation is printed by a publisher, is that legal or not?<br> <p> Thanks.<br> NX<br> Tue, 15 Mar 2005 14:18:58 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127631/ https://lwn.net/Articles/127631/ ballombe <font class="QuotedText">&gt; The GPL really isn't appropriate for books. It's very particularly targeted to code rather than text or other media. What does "linking" mean in a non-code context, hmm?</font><br> <p> The GPL does not speak of 'linking': the only use of the verb 'to link' in the GPL text is in the last sentence advertising the LGPL.<br> <p> So far no one has presented arguments that the GPL was not suitable to text that was backed by the actual GPL text.<br> Tue, 15 Mar 2005 14:11:50 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127592/ https://lwn.net/Articles/127592/ tzafrir A more practical question: can I use code snippets from the book in a GPL kernel code?<br> <p> (As for me personally: I bought it anyway)<br> Tue, 15 Mar 2005 10:32:09 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127587/ https://lwn.net/Articles/127587/ yashi Just got a printed version as well from an online book store. Looks very nice, indeed.<br> <p> Do you use any open source tool (ie. a fo processor) to produce pdf and html version of LDD3? <br> Tue, 15 Mar 2005 07:55:39 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127585/ https://lwn.net/Articles/127585/ riddochc The GPL really isn't appropriate for books. It's very particularly targeted to code rather than text or other media. What does "linking" mean in a non-code context, hmm?<br> <p> Licensing text is rather different from licensing code. There are different priorities people apply when the copyrighted work is code as opposed to text or music. It's hard to even determine what would constitute "free" when these priorities come into play. I'll skip the 30-page essay on the tip of my tongue and just vaguely refer to all the various fights over the "free"ness of the GFDL as an illustration of the problems.<br> <p> Back to the topic, since I don't remember commenting on earlier articles about it... Congratulations, Jon! I'm glad to see the results of your efforts. I personally don't write very much OS-level code, but if I did, this is the book I'd want. Thanks for licensing it nicely!<br> <p> Tue, 15 Mar 2005 03:53:10 +0000 Dual-licensing https://lwn.net/Articles/127584/ https://lwn.net/Articles/127584/ corbet Why not dual-license it under the GPL? I guess because none of us saw a reason to do that. Who would benefit? Remember that the examples are already separately licensed dual BSD/GPL, so there's no problem with the code... Tue, 15 Mar 2005 03:25:48 +0000 Linux Device Drivers, Third Edition now online https://lwn.net/Articles/127572/ https://lwn.net/Articles/127572/ ballombe I am sorry to ask that, but why not (dual-)licensing it with a GPL-compatible license ? After all the subject matter is under the GPL.<br> <p> Thanks in advance<br> Tue, 15 Mar 2005 00:41:40 +0000