* Guidance on writing device drivers
@ 2011-11-09 17:10 suraj khurana
2011-11-10 4:38 ` rohan puri
2011-12-15 5:14 ` पारस
0 siblings, 2 replies; 6+ messages in thread
From: suraj khurana @ 2011-11-09 17:10 UTC (permalink / raw)
To: kernelnewbies
Hi all,
I am a newbie in linux world and want to learn linux device drivers.
I am currently reading book - "Linux Device Drivers" by O'reilly.
Does anyone has any problem statements based on device drivers for practice
so that I can enhance my skills in writing device drivers.
Thanks,
Suraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111109/07ba628f/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Guidance on writing device drivers
2011-11-09 17:10 Guidance on writing device drivers suraj khurana
@ 2011-11-10 4:38 ` rohan puri
2011-11-10 5:26 ` Prajosh Premdas
2011-12-15 5:14 ` पारस
1 sibling, 1 reply; 6+ messages in thread
From: rohan puri @ 2011-11-10 4:38 UTC (permalink / raw)
To: kernelnewbies
On Wed, Nov 9, 2011 at 10:40 PM, suraj khurana <surajkhurana27@gmail.com>wrote:
> Hi all,
> I am a newbie in linux world and want to learn linux device drivers.
>
> I am currently reading book - "Linux Device Drivers" by O'reilly.
>
> Does anyone has any problem statements based on device drivers for practice
> so that I can enhance my skills in writing device drivers.
>
>
> Thanks,
> Suraj
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
> Hello Suraj,
I would suggest complete reading the book with the examples given in the
book.
Regards,
Rohan Puri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111110/71e49bcf/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Guidance on writing device drivers
2011-11-10 4:38 ` rohan puri
@ 2011-11-10 5:26 ` Prajosh Premdas
2011-11-18 16:50 ` Matthias Brugger
0 siblings, 1 reply; 6+ messages in thread
From: Prajosh Premdas @ 2011-11-10 5:26 UTC (permalink / raw)
To: kernelnewbies
Hi Suraj
You can also download the softcopy of all the examples in LDD book. You can
also refer 2 other
books Venkateswaran_-_Essential_Linux_Device_Drivers_(Prentice,_2008)
and Professional Linux ? Kernel Architecture by Wolfgang Mauerer.
On Thu, Nov 10, 2011 at 10:08 AM, rohan puri <rohan.puri15@gmail.com> wrote:
>
>
> On Wed, Nov 9, 2011 at 10:40 PM, suraj khurana <surajkhurana27@gmail.com>wrote:
>
>> Hi all,
>> I am a newbie in linux world and want to learn linux device drivers.
>>
>> I am currently reading book - "Linux Device Drivers" by O'reilly.
>>
>> Does anyone has any problem statements based on device drivers for
>> practice
>> so that I can enhance my skills in writing device drivers.
>>
>>
>> Thanks,
>> Suraj
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>> Hello Suraj,
> I would suggest complete reading the book with the examples given in the
> book.
>
> Regards,
> Rohan Puri
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
--
Regards,
Prajosh Premdas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111110/8b7bcf30/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Guidance on writing device drivers
2011-11-10 5:26 ` Prajosh Premdas
@ 2011-11-18 16:50 ` Matthias Brugger
2011-11-24 22:28 ` Javier Martinez Canillas
0 siblings, 1 reply; 6+ messages in thread
From: Matthias Brugger @ 2011-11-18 16:50 UTC (permalink / raw)
To: kernelnewbies
On 11/10/2011 05:26 AM, Prajosh Premdas wrote:
> [...]
> On Thu, Nov 10, 2011 at 10:08 AM, rohan puri <rohan.puri15@gmail.com
> <mailto:rohan.puri15@gmail.com>> wrote:
> On Wed, Nov 9, 2011 at 10:40 PM, suraj khurana
> <surajkhurana27 at gmail.com <mailto:surajkhurana27@gmail.com>> wrote:
>
> Hi all,
> I am a newbie in linux world and want to learn linux device drivers.
>
> I am currently reading book - "Linux Device Drivers" by O'reilly.
>
> Does anyone has any problem statements based on device drivers
> for practice
> so that I can enhance my skills in writing device drivers.
The Linux Device Driver book (ldd3) is outdated, as Linux kernel ABI
changes constantly, although I would still recommend the book as good
starting point.
Martinez Javier started to port the source code examples to the actual
Kernel versions. I'm not sure about the actual status of the work, but I
vaguely remember that I tried to use the block device driver some month
ago. It compiled without any warning but crashed when used.
Maybe you want to dig in the example code and see if you can find and
resolve some issues.
https://github.com/martinezjavier/ldd3
Regards,
Matthias
>
>
> Thanks,
> Suraj
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> <mailto:Kernelnewbies@kernelnewbies.org>
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
> Hello Suraj,
> I would suggest complete reading the book with the examples given in
> the book.
>
> Regards,
> Rohan Puri
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org <mailto:Kernelnewbies@kernelnewbies.org>
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> --
> Regards,
>
> Prajosh Premdas
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
--
---
http://motzblog.wordpress.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Guidance on writing device drivers
2011-11-18 16:50 ` Matthias Brugger
@ 2011-11-24 22:28 ` Javier Martinez Canillas
0 siblings, 0 replies; 6+ messages in thread
From: Javier Martinez Canillas @ 2011-11-24 22:28 UTC (permalink / raw)
To: kernelnewbies
On Fri, Nov 18, 2011 at 5:50 PM, Matthias Brugger
<matthias.bgg@googlemail.com> wrote:
> On 11/10/2011 05:26 AM, Prajosh Premdas wrote:
>>
>> [...]
>> On Thu, Nov 10, 2011 at 10:08 AM, rohan puri <rohan.puri15@gmail.com
>> <mailto:rohan.puri15@gmail.com>> wrote:
>> ? ?On Wed, Nov 9, 2011 at 10:40 PM, suraj khurana
>> ? ?<surajkhurana27 at gmail.com <mailto:surajkhurana27@gmail.com>> wrote:
>>
>> ? ? ? ?Hi all,
>> ? ? ? ?I am a newbie in linux world and want to learn linux device
>> drivers.
>>
>> ? ? ? ?I am currently reading book - "Linux Device Drivers" by O'reilly.
>>
>> ? ? ? ?Does anyone has any problem statements based on device drivers
>> ? ? ? ?for practice
>> ? ? ? ?so that I can enhance my skills in writing device drivers.
>
> The Linux Device Driver book (ldd3) is outdated, as Linux kernel ABI changes
> constantly, although I would still recommend the book as good starting
> point.
> Martinez Javier started to port the source code examples to the actual
> Kernel versions. I'm not sure about the actual status of the work, but I
> vaguely remember that I tried to use the block device driver some month ago.
> It compiled without any warning but crashed when used.
>
> Maybe you want to dig in the example code and see if you can find and
> resolve some issues.
>
> https://github.com/martinezjavier/ldd3
>
> Regards,
> Matthias
Hello Suraj,
As the author of that repo I confirme you that I'm not updating the
examples anymore. Looking at the commit history you can see that the
last one was about a year ago. An even there I only make sure that the
drivers compile cleanly but I didn't try it as Matthias says.
A long time ago I update the drivers for academic purposes but since
then I have ever used anymore.
Hope that someone can continue this forking my git tree since I think
the LDD3 books is one of the best for newbies to understand how Linux
drivers are developed.
BTW: I do have time to push patches is someone send to me to fix the issues.
Best regards,
--
Javier Mart?nez Canillas
(+34) 682 39 81 69
Barcelona, Spain
^ permalink raw reply [flat|nested] 6+ messages in thread
* Guidance on writing device drivers
2011-11-09 17:10 Guidance on writing device drivers suraj khurana
2011-11-10 4:38 ` rohan puri
@ 2011-12-15 5:14 ` पारस
1 sibling, 0 replies; 6+ messages in thread
From: पारस @ 2011-12-15 5:14 UTC (permalink / raw)
To: kernelnewbies
On Wed, Nov 9, 2011 at 10:40 PM, suraj khurana <surajkhurana27@gmail.com>wrote:
> Hi all,
> I am a newbie in linux world and want to learn linux device drivers.
>
> I am currently reading book - "Linux Device Drivers" by O'reilly.
>
> Does anyone has any problem statements based on device drivers for practice
> so that I can enhance my skills in writing device drivers.
>
>
> Thanks,
> Suraj
>
Hi Suraj,
plz go through this link, you will get some basic useful information on LDD,
http://www.linuxforu.com/author/anil-kumar-pugalia/
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111215/29476919/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-12-15 5:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 17:10 Guidance on writing device drivers suraj khurana
2011-11-10 4:38 ` rohan puri
2011-11-10 5:26 ` Prajosh Premdas
2011-11-18 16:50 ` Matthias Brugger
2011-11-24 22:28 ` Javier Martinez Canillas
2011-12-15 5:14 ` पारस
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).