LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2009, 04:54 AM   #1
yogesh_bansal
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
Smile How to write a device driver in linux


Hi,

I am newbie to linux, I have passion towards device drivers. I want to write a char or block device driver. To achieve my objective I have started reading the device driver 3rd edition from o'relly. I have successfully added a small module in the linux kernel 2.6.28 and its working fine. But I dont know how to move forward and how to take the input from user for the driver and process that.

Any guidance will be appriciated.

Thanks
Yogesh Bansal
 
Old 01-25-2009, 05:32 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
This book, Linux Device Drivers, might be what you're looking for:
http://lwn.net/Kernel/LDD3/
 
Old 01-25-2009, 07:47 AM   #3
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
This is an interesting little article.

Since you have already started writing drivers maybe it is too elementary for you, but it seems to give a few hints about how to communicate with the running module.
 
  


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
How to write device driver program using Python in linux shail_csp Programming 3 11-30-2008 07:57 PM
How to write device driver for win modem in Linux. asifjavaidy2k Programming 1 01-04-2007 01:51 AM
how to write device driver for Irda santu432 Programming 1 07-23-2004 12:29 PM
how to write a device driver raghu mitra Linux - Software 1 07-22-2004 02:26 PM
how to write a device driver dummyagain Programming 3 10-20-2003 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration