Click here to Skip to main content
15,895,746 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
Questionwindows device driver Pin
venkat11628-Feb-11 23:55
venkat11628-Feb-11 23:55 
AnswerRe: windows device driver Pin
Luc Pattyn1-Mar-11 0:49
sitebuilderLuc Pattyn1-Mar-11 0:49 
AnswerRe: windows device driver Pin
Dave Kreskowiak1-Mar-11 9:33
mveDave Kreskowiak1-Mar-11 9:33 
GeneralRe: windows device driver Pin
WoutL1-Mar-11 21:58
WoutL1-Mar-11 21:58 
GeneralRe: windows device driver Pin
venkat1161-Mar-11 22:52
venkat1161-Mar-11 22:52 
GeneralRe: windows device driver Pin
Richard MacCutchan2-Mar-11 3:25
mveRichard MacCutchan2-Mar-11 3:25 
GeneralRe: windows device driver Pin
fat_boy14-Mar-11 22:41
fat_boy14-Mar-11 22:41 
AnswerRe: windows device driver Pin
fat_boy19-Apr-11 21:20
fat_boy19-Apr-11 21:20 
You need the WDK and Walter Oneys "programming the windows driver model"

Then you need to look at the sameples on the WDK, and then pick one that best suits your needs, ot alternatively start from scratch. The samples are ful of bugs. Smile | :) Yep, really nasty bugs. Even Microsoft find it hard to write really good drivers for Windows. Oneys Samples are better then.

If its a specific technology, like SCSI, audio, or network, then you are pretty close to being screwed, there is almost no decent documentation for theese, all you have for these is the WDK, and its a vast, unwieldy pile of information to manage and very hard to really get to the bottom of why certain things are done a certain way.

KMDF (WDM wrapper)? Might help alot, if you want to do basic stuff. At least PnP and Power handling wont be your responsibility, but you might find it limitiing at some stage. Dont know, never used it.

Then you need to get to know windbg. Smile | :) Oh what fun! No UI, almost totally command line driven... You need it to debug your driver, bit also understand crashes, so you need to become very good at crash analysis, which means you have to learn assembly aswell. (Fortunately its C code assembly, which is not too bad to read. Tyr C++ with SEH if you want really tortured assembly. Smile | :) )

Then you need to get to know the usual websites. OSR online, crashdumpanalysis.org, and so on

Give yourself about 1 to 3 years to be able to even get a driver working 100%, let alone become an expert in the kernel. That will take over 5 years most likely, till then you are a novice. At 10 years plus experience you are starting to get pretty good at it though. Smile | :)
Dr D Evans "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s" financialpost

Questionhow to check if strange device was connected Pin
Jassim Rahma21-Feb-11 23:25
Jassim Rahma21-Feb-11 23:25 
AnswerRe: how to check if strange device was connected Pin
Dave Kreskowiak22-Feb-11 2:01
mveDave Kreskowiak22-Feb-11 2:01 
GeneralRe: how to check if strange device was connected Pin
Jassim Rahma1-Mar-11 5:14
Jassim Rahma1-Mar-11 5:14 
GeneralRe: how to check if strange device was connected Pin
Dave Kreskowiak1-Mar-11 9:30
mveDave Kreskowiak1-Mar-11 9:30 
AnswerRe: how to check if strange device was connected Pin
fat_boy4-Apr-11 21:37
fat_boy4-Apr-11 21:37 
QuestionAutoplay option for devices in Windows 7 Pin
Eytukan15-Feb-11 19:04
Eytukan15-Feb-11 19:04 
AnswerRe: Autoplay option for devices in Windows 7 Pin
Mark_Wallace15-Feb-11 20:46
Mark_Wallace15-Feb-11 20:46 
AnswerRe: Autoplay option for devices in Windows 7 Pin
fat_boy15-Feb-11 21:37
fat_boy15-Feb-11 21:37 
GeneralRe: Autoplay option for devices in Windows 7 Pin
Eytukan15-Feb-11 21:53
Eytukan15-Feb-11 21:53 
GeneralRe: Autoplay option for devices in Windows 7 Pin
fat_boy15-Feb-11 21:56
fat_boy15-Feb-11 21:56 
GeneralRe: Autoplay option for devices in Windows 7 Pin
Mark_Wallace16-Feb-11 2:03
Mark_Wallace16-Feb-11 2:03 
GeneralRe: Autoplay option for devices in Windows 7 Pin
fat_boy16-Feb-11 2:43
fat_boy16-Feb-11 2:43 
GeneralRe: Autoplay option for devices in Windows 7 Pin
Mark_Wallace16-Feb-11 4:35
Mark_Wallace16-Feb-11 4:35 
GeneralRe: Autoplay option for devices in Windows 7 Pin
fat_boy16-Feb-11 5:01
fat_boy16-Feb-11 5:01 
GeneralRe: Autoplay option for devices in Windows 7 Pin
Bernhard Hiller16-Feb-11 22:34
Bernhard Hiller16-Feb-11 22:34 
GeneralRe: Autoplay option for devices in Windows 7 Pin
fat_boy17-Feb-11 3:57
fat_boy17-Feb-11 3:57 
AnswerRe: Autoplay option for devices in Windows 7 Pin
Bernhard Hiller16-Feb-11 3:56
Bernhard Hiller16-Feb-11 3:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.