LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-18-2005, 03:57 AM   #1
kadhiravan.r
Member
 
Registered: Nov 2004
Location: india/tamil nadu/chennai
Distribution: Linux 8.0
Posts: 37

Rep: Reputation: 15
I want some guide to know the basic about device drivers programming in linux.


Hello friend s i want to know about device driver programming in linux.I don't know nothing in this , so help me to get very basic thinks. I am working on RedHat 8.0.


Kadhiravan.RHello friend s i want to know about device driver programming in linux.I don't know nothing in this , so help me to get very basic thinks. I am working on RedHat 8.0.
 
Old 07-18-2005, 04:51 AM   #2
ewt3y
Member
 
Registered: May 2005
Location: hanoi vietnam
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
In Linux. a driver is called a module.
here is a simple module source:


#include <linux/module.h>int init_module (void)
{printk("Heil Hitler"); return 0;}

int cleanup_module(void)
{printk("Heil Furher") ; return 0;}
 
Old 07-18-2005, 07:07 AM   #3
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
Linux Device Drivers

I don't know much about it myself, but if you want a good book I'd recommend taking a look at Linux Device Drivers, published by O'Reilly. Here's the info:

Linux Device Drivers, Third Edition
By Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman
Third Edition February 2005
ISBN: 0-596-00590-3
640 pages, $39.95 US, $55.95 CA, £28.50 UK

(There's no shame in giving a plug for your favorite publisher.)
 
  


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
Linux device driver programming iammisc Programming 1 11-26-2005 10:46 AM
Kernel Programming/Device Drivers Matir Programming 2 04-06-2005 03:07 PM
basic linux programming/compiling question (permissions error) Godsmacker777 Programming 11 03-17-2005 11:35 AM
Basic Linux Programming Question (QT terminal control) Boffy Programming 5 09-09-2004 12:44 PM
I'm a BASIC chap, looking for some info on BASIC programming CragStar Programming 2 01-21-2001 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:15 PM.

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
Open Source Consulting | Domain Registration