On Sat, 2011-01-29 at 22:03 -0700, AJ ONeal wrote:
> In Linux Device Drivers 3rd edition some code is given for a `scull`
> driver. Unfortunately, it doesn't work for the 2.6 kernel.

LDD3 was written for kernel 2.6.10, so obviously it does work with the
2.6 kernel. However, since LDD3 was written, the device setup process
has changed. This is probably the problem you're running into.

I've attached the source for a simple educational module we use at Guru
Labs. We use it with RHEL5/SLES11, but I just tested it and F14 works
perfectly.

> Anybody know of a getting started guide for noobs? (Keyword: noobs).

The kernel is a moving target. Nearly any book or blog post you read is
probably going to need to be massaged a little to get it working with
the latest kernel. 

I recommend poking through the kernel source itself, Google, and LWN.
For example:
http://lwn.net/Articles/2.6-kernel-api/

Attachment: fooru-0.2.tar.bz2
Description: application/bzip-compressed-tar

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to