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


Reply
  Search this Thread
Old 07-22-2007, 07:20 AM   #1
anroy
LQ Newbie
 
Registered: Aug 2006
Location: Tokyo
Distribution: Gentoo, Xandros
Posts: 18

Rep: Reputation: 0
Linux Driver Development


I want to study the development of drivers on Linux. Very hardcore stuff.

I found a great book, or rather the ONLY book, on the topic here.
http://lwn.net/Kernel/LDD3/

Does anyone know if there exist simple inexpensive hardware dummy devices to test input to and output from serial ports and parallel ports?

I have heard of something called breakout boards but was not really able to understand what they do. Would these be what I want?

How about dummy devices for USB or LAN?

Thanks!
 
Old 07-22-2007, 07:40 AM   #2
ineya
Member
 
Registered: Jul 2007
Posts: 39

Rep: Reputation: 16
How about some USB lamp? Should be cheap and you can still practice some simple techniques. (For me they are all complex though :-))
 
Old 07-22-2007, 07:43 AM   #3
ineya
Member
 
Registered: Jul 2007
Posts: 39

Rep: Reputation: 16
The Linux Kernel Module Programming Guide
Peter Jay Salzman
Michael Burian
Ori Pomerantz
Copyright © 2001 Peter Jay Salzman
 
Old 05-12-2011, 07:00 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by anroy View Post
Does anyone know if there exist simple inexpensive hardware dummy devices to test input to and output from serial ports and parallel ports?

I have heard of something called breakout boards but was not really able to understand what they do. Would these be what I want?
For serial ports, the best things to use are, in no particular order: an oscilloscope (with capable operator), another serial port with a decent terminal emulator attached (C-Kermit is my strong preference), a breakout box, a DVM. For parallel ports, a DVM, and maybe some LEDs with appropriate limiting resistors attached. A pile of hardware documentation for either, much of which can be found online (although parallel port info is becoming scarcer by the day).

A breakout box is simply a small box, with D-Sub connectors on each side, so you can insert it between two serial devices. Usually it has switches or a jumpering system to allow you to connect the conductors of the two serial cables in arbitrary ways. They also usually have tri-color LEDs that can be used to see the states of the various signals in the RS-232 interface. 20 years ago every IT nerd had one of these beside his coffee cup; now I don't know where you'd buy one.

Are you planning to re-write the existing drivers for standard serial/parallel PC hardware, or are you going to use those devices as tools to exercise/monitor some other device for which you'll create a driver?

--- rod.
 
  


Reply

Tags
development, driver, hardware



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
C++ or pure C for Linux kernel module, Linux device driver development. What to use? Igor007 Programming 91 07-19-2014 11:55 AM
Linux Device Driver Development aslv Linux - Certification 0 09-27-2004 08:42 AM
Touch screen driver development for Linux peso Linux - Software 1 02-02-2004 12:15 PM
Lexmark Released A Linux Driver Development Kit FearPasion710 Linux - Software 0 09-09-2003 06:18 PM

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

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