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.
Please show me:
-which module controls current mouse ? , where is it in kernel
(source and module)
(I use PS/2 mouse , Redhat Linux 2.4.20-6)
-I know its interrupt (interrupt 12) but I don't know iis I/O Address.
I want to alter its module by changing some code .
thanks alot
I think the driver model has changed from 2.4 -> 2.6. So a lot of the books out there are pretty dated. The best place for 2.6 kernel docs is probably still the Document directory in the source tree.
well now've you just confused me even more. i was asking you "do you want to make a system call from a kernel module? and by that meaning, do u want do something like write(STDOUT_FILENO, "hello from the kernel", len);" however, u just seem to want to make calls to regular functions exported by the kernel. if u read the book above u'll see how to. it's a great book, and tho it may be for the 2.4 kernel, the concepts are still valid.
i dont personally know of any other books like that, but im sure there are some. i dont really think u need much more than that, and this site: www.tldp.org . read the kernel guides there as a supplement.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.