Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   What is instead of WinDDK in Linux? (https://forum.exetools.com/showthread.php?t=6380)

vodu 01-13-2005 02:21

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 :cool: . 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? :)

WhoCares 01-13-2005 09:48

read the book <<Linux Device Drivers>>

omidgl 01-13-2005 12:04

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

pp2 01-13-2005 20:07

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!)...

SiNTAX 01-14-2005 21:35

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!]

nuemga2000 01-16-2005 02:54

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


All times are GMT +8. The time now is 21:15.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX