LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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


View Poll Results: Have ever written drivers?
No. 6 46.15%
Yes. 3 23.08%
What are drivers? 1 7.69%
Why would you want to do THAT? 3 23.08%
Voters: 13. You may not vote on this poll

Reply
  Search this Thread
Old 11-11-2012, 04:38 PM   #1
abcde597
Member
 
Registered: Oct 2012
Location: Alabama, US
Distribution: Several Debian Based Distros
Posts: 57

Rep: Reputation: Disabled
Question Would someone give me a few lessons on writing drivers?


I know that sounds like an older idea.
I don't want replies of "Why would you want to do THAT?"
My answer to that is: So I can know how!
What languages do I need to know, and what do I do in general?
I want to start small... Say, a printer?
I know I'll probably need some knowledge of micro-controllers.
 
Old 11-11-2012, 05:23 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Not sure why you need a poll for that

Anyway Google provides a lot of answers to the question how-to write a driver.

This one looks interesting for instance.
 
Old 11-11-2012, 05:51 PM   #3
abcde597
Member
 
Registered: Oct 2012
Location: Alabama, US
Distribution: Several Debian Based Distros
Posts: 57

Original Poster
Rep: Reputation: Disabled
Sorry about the poll... Just playing with the site :P
And thanks.
 
Old 11-11-2012, 07:25 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
http://lwn.net/Kernel/LDD3/
 
Old 11-14-2012, 10:26 PM   #5
hydraMax
Member
 
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Blog Entries: 60

Rep: Reputation: 51
There is a really thorough book called "Essential Linux Device Drivers" by Venkateswaran (Prentice Hall). Covers many things from how to build the kernel, to interrupts, dma, a/v, debugging, and many other subjects. I started to get into it, but set it aside when I lost interest in C, for more interesting languages like Haskell, Lisp, and Prolog.

Some how I doubt I'll ever get back into Linux kernel development; however, there is an interesting paper related to the House project (a Haskell-based OS), which describes a Haskell approach to low-level hardware interaction:

http://ogi.altocumulus.org/~hallgren/ICFP2005/

Microcontroller programming is also rather interesting... not because of the languages involved, but because it is rather cool to be able to program a full-fledged computer contained inside a chip that is only slightly larger than your thumbnail.
 
  


Reply



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 do I give permission for my Nvidia drivers to work? Game Pro Linux - Software 4 03-03-2008 12:37 AM
About to give up on linux - ATI drivers jwhitene Linux - Newbie 13 02-15-2005 02:03 AM
What will NVIDIA drivers give me? oneandoneis2 Linux - General 2 07-15-2004 04:43 PM
Writing Drivers-question turls Programming 5 01-08-2004 11:44 AM
how to get started writing drivers ? boy Linux - Hardware 3 08-03-2003 11:25 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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