LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   kernel module for hercules graphic card (https://www.linuxquestions.org/questions/programming-9/kernel-module-for-hercules-graphic-card-153351/)

eskimo22 03-04-2004 03:03 AM

kernel module for hercules graphic card
 
i had a module (char device) that worked well under kernel 2.0
when i upgraded to 2.2 it does not work anymore.
i read about ioremap for direct memory access, and i
can already display a char, but only inside the init routine.
the documentation i found about writing char devices was
not sufficcient ;(

do you know any sources of documentation ?

eshwar_ind 03-04-2004 03:38 AM

http://www.ibiblio.org/pub/Linux/doc...ide/lkmpg.html

try there you will get a book writing kernel modules. it might be helpful to you.

eskimo22 03-04-2004 03:00 PM

i think "struct file_operations" was changed from 2.0 to 2.2 but i cant find the header.

eskimo22 03-04-2004 03:39 PM

ok got it finally running. wondering about some new grey hairs i can see my messagelog on that old green monitor ;)


All times are GMT -5. The time now is 05:12 PM.