Rv: Re: knewbies project? - updating LDD3 source
Ezequiel García
elezegarcia at yahoo.com.ar
Tue May 24 16:18:26 EDT 2011
> > De: DG <dangets at gmail.com>
> > Asunto: Re: knewbies project? - updating LDD3 source
> > Para: "Jim Cromie" <jim.cromie at gmail.com>
> > Cc: "kernelnewbies" <kernelnewbies at kernelnewbies.org>
> > Fecha: martes, 24 de mayo de 2011, 15:14
> > On Tue, May 24, 2011 at 11:47 AM,
> > Robert P. J. Day
> > <rpjday at crashcourse.ca>
> > wrote:
> > > On Tue, 24 May 2011, Jim Cromie wrote:
> > >
> > >> over at http://code.google.com/p/ldd3/
> > >> it says:
> > >> The famous "Linux Device Drivers" released
> the
> > sample code. but the
> > >> code does not reflect the latest kernel
> updates,
> > some of code cannot
> > >> even compile. This project is to make it
> > compatible with the current
> > >> kernel.
> > >>
> > >> http://lwn.net/Kernel/LDD3/
> > >> http://examples.oreilly.com/9780596005900/
> > >
> > > the one caution i would give here is that quite
> a
> > bit of code in
> > > LDD3 shouldn't be updated, anyway, since it
> reflects
> > features that
> > > have been deprecated for quite some time.
> > >
> > > for instance, no one should be writing proc
> files
> > anymore. also,
> > > ioctl()s are also discouraged for the most part.
> so
> > i would be
> > > selective about what parts of LDD3 code *should*
> be
> > updated as
> > > examples of good kernel programming.
> > >
> > > rday
> >
> > There is a repo on GitHub with the same purpose. I
> > haven't checked it
> > out personally, but it's probably worth a look.
> >
> > https://github.com/martinezjavier/ldd3
>
> I've found the same googlecode svn repo a while ago, but
> since it was very out-dated, I decided to start my own
> project on github.
>
> https://github.com/ezequielgarcia/ldd3-examples
>
> I am working against 2.6.37; but currently, the only module
> that really compiles is scull and scullpipe. martinezjavier
> git repo seems much updated; too bad I haven't find that
> when I looked for !
>
> Maybe we should concentrate our efforts, despite for me it
> was just a learning project.
>
> Greetings,
> Ezequiel.
>
>
>
More information about the Kernelnewbies
mailing list