Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-13-2005, 02:21
vodu
 
Posts: n/a
Question What is instead of WinDDK in Linux?

I have worked with Driver Development Kit (DDk) tools in Windows OS. Recently I shifted to Linux OS . But I don't know how I can write Driver in Linux. Can you tell me what is instead of that in Linux? Where is Kernel API doc in it?
Reply With Quote
  #2  
Old 01-13-2005, 09:48
WhoCares's Avatar
WhoCares WhoCares is offline
who cares
 
Join Date: Jan 2002
Location: Here
Posts: 468
Rept. Given: 11
Rept. Rcvd 32 Times in 25 Posts
Thanks Given: 69
Thanks Rcvd at 247 Times in 94 Posts
WhoCares Reputation: 32
read the book <<Linux Device Drivers>>
__________________
AKA Solomon/blowfish.
Reply With Quote
  #3  
Old 01-13-2005, 12:04
omidgl omidgl is offline
Friend
 
Join Date: Jul 2004
Posts: 86
Rept. Given: 10
Rept. Rcvd 4 Times in 3 Posts
Thanks Given: 0
Thanks Rcvd at 5 Times in 5 Posts
omidgl Reputation: 4
As you know there is no Undocumented function in Open-Source Operating systems like linux ,that required some Development Kits , Like NT native API s.
Any one can make a linux driver using standard Linux compiler (GCC). or ...
But to simplify driver works in linux you can use WinDriver bu Jungo
h--p://www.jungo.com/linux.html

Regards
OMID
Reply With Quote
  #4  
Old 01-13-2005, 20:07
pp2 pp2 is offline
Friend
 
Join Date: Jan 2002
Posts: 60
Rept. Given: 1
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 1
Thanks Rcvd at 16 Times in 12 Posts
pp2 Reputation: 2
Hi!
some useful docs are located in Documentation folder of kernel source. And, of course, kernel source/includes are the main replacement of DDK in windows, all function calls/ids/apis are documented only there.
The rest things depend on what driver are you writing. There are books about kernel VM, scheduler, lkms, and so on (some of them can be easily found by google).
I myself when wrote my first drivers for Linux used other similiar driver source code (from kernel) - this is the best way, I think, since documentation is really not full and pretty old. Most of docs in net covers 2.2 or 2.4 kernels, since api in 2.6 is not stable and modyfing from version to version (e.g. usb api again changed in 2.6.5!)...
Reply With Quote
  #5  
Old 01-14-2005, 21:35
SiNTAX SiNTAX is offline
Friend
 
Join Date: Sep 2002
Posts: 22
Rept. Given: 2
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
SiNTAX Reputation: 0
Or as they say... Use the source Luke...
And if that don't work, checkout hxxp://www.kernelnewbies.org/ -- which was setup specifically to answer these kinds of questions.
Reading LKML (Linux Kernel Mailing List) would also be a good idea.

Forgot this one.. useful for people with kernel 2.4 knowledge, but also has lotsa good info for other people:
Porting device drivers to the 2.6 kernel
hxxp://lwn.net/Articles/driver-porting/

and.. the historical resting place of
Linux Device Drivers, Second Edition
hxxp://lwn.net/Kernel/LDD2/index.lwn

[EDIT JMI: Don't answer your own Posts. That's what the edit button is for!]
Reply With Quote
  #6  
Old 01-16-2005, 02:54
nuemga2000 nuemga2000 is offline
Friend
 
Join Date: Jan 2002
Posts: 59
Rept. Given: 1
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 0
Thanks Rcvd at 5 Times in 5 Posts
nuemga2000 Reputation: 2
It's all there, just use it ...
... maybe "Linux Device Drivers, 2nd Edition" by Alessandro Rubini and
Jonathan Corbet helps. It's from O'Reilly

Kerstin
Reply With Quote
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



All times are GMT +8. The time now is 01:28.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )