Latest LQ Deal: Linux Power User Bundle
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 08-21-2008, 06:33 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
Smile Help Me

Hello every one,
Hope i get help from you all.Please do needful.I am just a beginner for device driver programming. i want to write an driver programming for pendrive(USB storage device).From where can i start.What are the learning criteria.

Thank YOU ALL,
Old 08-21-2008, 06:40 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Welcome to LQ!!

The first standard advice is to use thread titles that actually describe what your question is.

This is the book I see mentioned most often:
Old 08-21-2008, 06:50 AM   #3
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
As far as I know, there are already drivers for pendrives. You can play around anyway; you will learn an awful lot if you can understand the pendrive drivers because you will have to deal with the USB bus driver, the storage device driver, etc. You're looking at understanding 4, possibly more drivers if you try to understand the USB pendrive driver.

For a start, read the book "Linux Device Drivers 3rd edition" by Rubini, Corbet, et al. They explain the basics fairly well and introduce you to various tricks used by driver writers (and explain how the tricks work). Have a look at some simple drivers like the 'watchdog' drivers. When you're a bit more daring, have a look at the serial port (UART) drivers - that gets more complicated because of the various layers such as the 'discipline' (essentially a filter), and the tty code. That code is still reasonably 'simple' - when you're confident you've understood that, then you can have a look at the 'usb_storage' code. If you can understand that code then you'll know your way around the device driver tree fairly well; you'll still only know a fairly small amount about the overall scheme, but from that point you can proceed to play with any driver with a reasonable degree of confidence.
Old 08-22-2008, 12:41 PM   #4
LQ Newbie
Registered: Aug 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Smile HI

Thank you,

I am starting from kernel level system cal functions.
As of you said i am going.Please guide us in such a way that for today what i have to read.

Assume that i am a beginner for linux.

Thank you All.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:22 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