mouse device driver
Hello everybody,
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 thanhbk99 |
i think it is /usr/src/linux/drivers/input/mousedev.c , which uses the input handler interface.
|
thanks alot ,
I found it , thanks. Please give me yours books about device driver , If you have , please send it to thanhbk99@yahoo.com 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.
|
thanks alot
when I write device driver, I need some system call ,... Can you give me some books about system call (having connection with writing device driver) thanks alot If you have , can you send them to my email , please ? thankbk99@yahoo.com |
i dont know what u mean. do u mean making system calls from kernel space? ie like calling write() from a module?
|
ok
you 're right. ie : write , inb , register_blkdev , spin_lock_init . . . thanks thanhbk99@yahoo.com |
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.
|
thanks infamous41md
books is very great , and I also want more books like that , can I ? thanks thanhbk99@yahoo.com |
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.
|
I found this site
http://www.cs.arizona.edu/computer.h..._html/TOC.html if you know something like that , please show me. thanks thanhbk99@yahoo.com |
hi
pls tell me know which module is used for SERIAL 2 BUTTON MOUSE (GENERIC) where is its source code ? thanks thanhbk99@yahoo.com |
sermouse
|
All times are GMT -5. The time now is 12:37 AM. |