LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 03-04-2004, 04:03 AM   #1
eskimo22
LQ Newbie
 
Registered: Feb 2004
Posts: 11

Rep: Reputation: 0
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 ?
 
Old 03-04-2004, 04:38 AM   #2
eshwar_ind
Member
 
Registered: Feb 2004
Location: Bangalore
Distribution: Redhat
Posts: 144

Rep: Reputation: 15
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.
 
Old 03-04-2004, 04:00 PM   #3
eskimo22
LQ Newbie
 
Registered: Feb 2004
Posts: 11

Original Poster
Rep: Reputation: 0
i think "struct file_operations" was changed from 2.0 to 2.2 but i cant find the header.
 
Old 03-04-2004, 04:39 PM   #4
eskimo22
LQ Newbie
 
Registered: Feb 2004
Posts: 11

Original Poster
Rep: Reputation: 0
ok got it finally running. wondering about some new grey hairs i can see my messagelog on that old green monitor
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 07:34 PM
USB Sound Card (Hercules MUSE Pocket) phillips321 Linux - Hardware 10 04-19-2005 07:25 PM
Hercules graphic driver midian666 Linux - Hardware 2 10-06-2004 03:58 PM
soud card(Hercules Game Fortissimo II ) kiszyn Linux - Hardware 0 03-19-2004 01:50 AM
3d prophet hercules 4500 video card problems with Red Hat 7.2 installation Zingaro2002 Linux - Software 1 02-16-2002 01:18 PM


All times are GMT -5. The time now is 10:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration