Kernel-Developer Problem

Asked by GG_is

hi,
    i am working on ubuntu Linux based operating system. i am system programmer. i am writing a keyboard device driver. before to write a driver i want gain knowledge of complete ubuntu architecture. which file used at which place. i am using all system calls present in ubuntu. so i require all system calls name and header files path for system call. please help me?????????

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
peter (peter-neuweiler) said :
#1

I guess, a system call ist a linux process. Maybe you can find the header files in the man function. Open a terminal and enter: man processname.

Hope it helps.
Peter

Revision history for this message
Tom (tom6) said :
#2

Fantastic, welcome in :)
Sorry it's taken me so long but i was hunting out this previous posting that may be helpful? It's always great when someone new joins Ubuntu, that's about 3 today just in here that i've noticed. Even better when you've got skills like that :)

https://answers.launchpad.net/ubuntu/+question/61721

Thanks and regards from
Tom :)

Revision history for this message
GG_is (gauravnittcs) said :
#3

thanks for answer.
actually i want a list like this for ubuntu operating system 8.10 .
system call name header file location source file location
sys_adjtimex() /linux/timex.h /kernel/time.c
sys_brk() .... ....
..
...
for all present system call.
i did some work to find out header file but this is not found. in ubuntu i did not find sys_brk() they have do_brk().
please tell me???

Revision history for this message
GG_is (gauravnittcs) said :
#4

is this correct different linux based operating system as SUSE, UBUNTU, RED-HAT all have different system call names. if this then where i can get accurate list of system call and location.

Revision history for this message
Tom (tom6) said :
#5

Wow, this is completely beyond what i know. I looked up a few pages where you might be able to get some help with this advanced stuff. I hope the first one is the most immediately helpful.

http://lists.debian.org/debian-mentors/

http://people.debian.org/~mpalmer/debian-mentors_FAQ.html

http://www.debian.org/doc/manuals/developers-reference/

https://wiki.ubuntu.com/PackagingGuide/Complete#Additional%20Resources

All i know is that a lot of different distros are based of the few you mentioned. Ubuntu is based on Debian rather than the other way around but Ubuntu seems more popular. Other major forks of Linux include "Slackware" and i think there are only 2 or 3 others. I think the idea is that you write OpenSource code for 1 of the major forks and then expert code-translators tweak your code for each of the other forks, and send a copy back to you for approval. Presumably you will eventually find yourself translating code from one of the other forks into Debian and in the even longer term find yourself writing code for all the 5 or 6 main forks. It is definitely not expected for you to learn all the different ones and become an expert in all in one go. I think people would rather you learned one and produced useful things in just that one at first. I hope i am making sense and being accurate with my limited understanding of all this.

Good luck with this, regards from
Tom :)

Revision history for this message
GG_is (gauravnittcs) said :
#6

thanks tom.
   as i understand you are giving information about packages creation, buildings etc. i am telling you, actually what am i doing.
   according me, all operating system companies first will write complete documentation about operating system structure after that they will go for coding part. so, first i want to write that documentation part. all files name, purpose and data-structure used. Linux is open source so i choose that. if you can help me. tell me.

Revision history for this message
Tom (tom6) said :
#7

I really shouldn't answer your question because I don't know a good answer to your question.  I am hoping that one of the links i gave you puts you in touch with a developer or someone with experience of dealing with this sort of thing.

Now that i have responded your question will be marked as "Answered" which means people are even more unlikely to look at it so i should apologise for that.  Your last posting made it a lot more clear what you are looking for and it might be a good idea to post that as a new question except that there are few people here likely to be able to give you a good question.  Hopefully the links i gave you will put you in touch with someone more likely to be able to give a good answer

Regards and happy hunting from
Tom :)

Revision history for this message
Tom (tom6) said :
#8

If you are still having trouble with this then please post it as a new question. Only the most recent questions tend to get looked at so posting/re-posting a question just before america arrives online after work/school gives the best chance of getting a good few answers - such is the nature of the internet.
https://answers.launchpad.net/ubuntu/+addquestion

If the problem has been resolved then please follow the link to the forum thread and mark it as Solved but please give us a clue how you did manage to solve it and also use the button under where you type stuff in rather than giving me karma credit points for just sending this note to you.

Apologies, good luck and many regards from
Tom :)

Can you help with this problem?

Provide an answer of your own, or ask GG_is for more information if necessary.

To post a message you must log in.