LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
 
Search this Thread
Old 08-07-2007, 04:47 PM   #1
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 209Reputation: 209Reputation: 209
A simple Linux Kernel Device Module


I would like to study a device module in the kernel, but need to start out as simple as possible. Could somebody who knows alot about the kernel suggest to me a few good source files from the vanilla kernel to check out? I just want to see what it takes to get a device going with the kernel - the simpler the better. I suppose any kernel version back to 1992 would do, as well ... however, it would be more illuminating to look in 2.6. Thank you!

Last edited by jhwilliams; 08-07-2007 at 04:48 PM.
 
Old 08-07-2007, 06:37 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Check out Linux Device Drivers 3rd Edition. It is free on-line and covers all the basics and some not so basics. You really don't want to look at older modules as the entire method of coding them has changed through different releases.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ or pure C for Linux kernel module, Linux device driver development. What to use? Igor007 Programming 91 07-19-2014 11:55 AM
Simple Linux Kernel Module Problem for 2.4.31 KneeLess Programming 3 08-19-2005 09:59 PM
Problems building a simple kernel module for kernel 2.6.7 atticman Linux - Software 2 12-13-2004 03:35 PM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
creating a simple module(device driver) pessanimahi Linux - Software 1 09-16-2003 11:34 AM


All times are GMT -5. The time now is 11:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration