ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i want to compile the device driver programming...what is the produre to include an module....what are all the things i have to do...and how to do that things....please anyone help me....
i want to compile the device driver programming...what is the produre to include an module....what are all the things i have to do...and how to do that things....please anyone help me....
Not sure what you're trying to say...your question isn't very clear. I'm assuming you mean "I want to learn how to write linux device drivers".
hi...i am New to linux....i am very much interested in MODULE programming....as i searched the google and found the HELLO WORLD basic module and i compiled it....its working...NOW my question is how to add any function with init finction so that i can call that function from outside....how to add the the simple new functions with init function.....kindly help me.....Thank you
Module programming (as everything which are in touch with the kernel) are something very difficult for beginners, you have to basically understand how the kernel works, you have to be a good C practicer, and you have to know how to search for resources on internet, within the kernel sources and so on... I say that not only to blame you, but you can't learn such a vast thing by asking!
I've merged two of your four closely related threads, and
moved the result to programming. I'd ask that you a) don't
"spread the love" around but keep to one thread, and b) would
like to suggest that you start reading, and actually working
with the things you intend to use. You won't become a kernel
hacker by asking people about basics.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.