LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-29-2006, 07:23 AM   #1
elefer
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Please help about kernel programming


I have a homework they want me to design small code part in keyboard.c and when updating kernel and press F4 it listing process list in console please help me thanks from now
 
Old 10-29-2006, 08:37 AM   #2
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
The best way to learn how to program the Kernel is to read the source code. Most of the code is very well commented. Also, look into taking a good book on the Linux kernel out from your local library, as there are books that go over how the kernel is built, and what data structures it uses.

The file you most likely want to edit is in drivers/char/keyboard.c

You will need the full kernel sources to do this, and you will also need to be able to compile your own kernel, but with an assignment like that, I assume you are already fairly good at compiling your own kernel.

Ah yes, and welcome to LinuxQuestions.org!

Last edited by chadl; 10-29-2006 at 08:39 AM.
 
Old 10-29-2006, 08:59 AM   #3
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
Just one question.. why don't you know the answer to your question already? Is it one of those stupid homeworks which demand you know stuff which was not presented to you during class/courses?
 
Old 10-29-2006, 02:45 PM   #4
elefer
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by introuble
Just one question.. why don't you know the answer to your question already? Is it one of those stupid homeworks which demand you know stuff which was not presented to you during class/courses?
you are right but it is not my fault they gave us this homework but before this they weren't teach any thing about this homework this is the system but bad system....
 
  


Reply



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
Difference between Userland programming and Kernel Programming.. meetsagittarian Programming 1 02-20-2006 12:26 AM
Kernel Programming misbahuddin Linux - Software 1 01-04-2006 05:15 PM
kernel programming help Pratik H Pandya Red Hat 4 09-02-2005 11:54 PM
Kernel Programming. dreamz_jaleel Programming 7 04-15-2005 11:38 AM
Kernel Programming arunka Programming 1 03-01-2005 02:50 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:48 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
Open Source Consulting | Domain Registration