<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 25, 2012 at 8:26 PM, Javier Martinez Canillas <span dir="ltr"><<a href="mailto:martinez.javier@gmail.com" target="_blank">martinez.javier@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Apr 25, 2012 at 11:19 AM, Rabee Al-Maqabi<br>
<<a href="mailto:rabee.almaqabi@gmail.com">rabee.almaqabi@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am looking for not yet supported piece of hardware to write a driver for<br>
> it. anyone can help?<br>
><br>
> Regards,<br>
> Rabee Al-Maqabi<br>
<br>
Hi Rabee,<br>
<br>
Linux Device Drivers 3rd edition (LDD3) is a great book to learn how<br>
to write Linux device drivers. The best thing about this book is that<br>
teaches how to write device drivers for memory-based virtual devices,<br>
which mean that you don't need any special hardware to run the example<br>
drivers on your computer.<br>
<br>
Fortunately the Linux internal API is not stable and that allows us to<br>
improve the kernel every day. But this has the side effect that any<br>
documentation about the Linux kernel quickly becomes obsolete.<br>
<br>
A long time ago I updated the LDD3 examples so they could be compiled<br>
and used on newer kernels, this was for academic purposes so my<br>
students would be able to use that code.<br>
<br>
Sadly I haven't had any time to update to more recent kernels so if<br>
you want to work on Linux device drivers you can fork my tree [1] and<br>
make the drivers work on recent kernels, I know that many people would<br>
be happy (specially students).<br>
<br>
[1]: <a href="https://github.com/martinezjavier/ldd3" target="_blank">https://github.com/martinezjavier/ldd3</a><br>
<br>
Best regards,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Javier Martínez Canillas<br>
(+34) 682 39 81 69<br>
Barcelona, Spain<br>
</font></span></blockquote></div><br>Hi Javier,<br><br>Thank you for your reply. Linux Device Drivers is indeed a great book. I have read it in addition to Understanding the Linux Kernel and I have experimented with my Linux box. At this point, I would like to have a real-world experience and write a driver for a piece of hardware not yet supported.<br>
<br>Best regards,<br><br>--<br>Rabee Al-Maqabi<br></div></div>