Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


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.

Yogesh Bansal
Old 01-25-2009, 06:32 AM   #2
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,661
Blog Entries: 56

Rep: Reputation: Disabled
This book, Linux Device Drivers, might be what you're looking for:
Old 01-25-2009, 08:47 AM   #3
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.


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 08:57 PM
How to write device driver for win modem in Linux. asifjavaidy2k Programming 1 01-04-2007 02:51 AM
how to write device driver for Irda santu432 Programming 1 07-23-2004 01:29 PM
how to write a device driver raghu mitra Linux - Software 1 07-22-2004 03:26 PM
how to write a device driver dummyagain Programming 3 10-20-2003 09:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:17 AM.

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