Click here to Skip to main content
14,664,588 members
Home » Discussions » Hardware & Devices
   

Hardware & Devices

 
AnswerRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt31-Jan-16 22:07
MemberMunchies_Matt31-Jan-16 22:07 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 0:19
Memberpapagal1-Feb-16 0:19 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 0:23
MemberMunchies_Matt1-Feb-16 0:23 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 0:36
Memberpapagal1-Feb-16 0:36 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 0:40
MemberMunchies_Matt1-Feb-16 0:40 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 1:47
Memberpapagal1-Feb-16 1:47 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 1:55
MemberMunchies_Matt1-Feb-16 1:55 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 2:00
Memberpapagal1-Feb-16 2:00 
My friend:

I have a WDM filter driver, based on WDK toaster sample, that I am using to filter portable devices (mainly Phones), as upper filter. During AddDevice phase, I am querying device properties (such Description, Manufacturer and so on) and then attaching to device. I can see the IRP_MN_START_DEVICE, which I send down to next lower driver after setting a completion routine. This is working fine on most of the machines I am testing on, but on some systems (every XP and some Windows 7 and Server 2008), when I send the IRP_MN_START_DEVICE down to next driver, I get a STATUS_DEVICE_CONFIGURATION_ERROR, so this is preventing the device from being installed in the first place. I have managed to overcome this error by editing the hardware ID registry key for the device and creating "UpperDriverOk" and "KernelModeClientPolicy" values, setting them to 1. This way the device starts without issues and I can filter it as normal. Now, I am aware of Portable Devices being managed by an UMDF driver, but does that explains the issue with Start Device phase? I haven't found any differences between those systems with the issue and those that are working fine without needing the "registry values" workaround. Is there any system setting or service configuration that might be helping (or ruining) this filtering scenario? Would it be possible to apply the "KernelModeClientPolicy" workaround for the whole system and not separately for every single Phone device?
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 2:00
Memberpapagal1-Feb-16 2:00 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 2:13
MemberMunchies_Matt1-Feb-16 2:13 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 2:21
Memberpapagal1-Feb-16 2:21 
QuestionDuplicating SD cards consistently - alternatives to xcopy? Pin
charlieg6-Jan-16 11:08
Membercharlieg6-Jan-16 11:08 
QuestionRe: Duplicating SD cards consistently - alternatives to xcopy? Pin
Richard MacCutchan6-Jan-16 23:57
mveRichard MacCutchan6-Jan-16 23:57 
AnswerRe: Duplicating SD cards consistently - alternatives to xcopy? Pin
charlieg7-Jan-16 3:21
Membercharlieg7-Jan-16 3:21 
AnswerRe: Duplicating SD cards consistently - alternatives to xcopy? Pin
Jochen Arndt7-Jan-16 2:13
professionalJochen Arndt7-Jan-16 2:13 
GeneralRe: Duplicating SD cards consistently - alternatives to xcopy? Pin
charlieg7-Jan-16 3:23
Membercharlieg7-Jan-16 3:23 
Questionsecondary storage device Pin
Member 121929037-Dec-15 20:51
MemberMember 121929037-Dec-15 20:51 
AnswerRe: secondary storage device Pin
Eddy Vluggen7-Dec-15 23:22
professionalEddy Vluggen7-Dec-15 23:22 
AnswerRe: secondary storage device Pin
Munchies_Matt21-Dec-15 23:01
MemberMunchies_Matt21-Dec-15 23:01 
AnswerRe: secondary storage device Pin
Edward Santiago29-Feb-16 0:30
MemberEdward Santiago29-Feb-16 0:30 
QuestionXPSDrv Sample (Custom XPS Printer) Pin
Member 1211876011-Nov-15 22:34
MemberMember 1211876011-Nov-15 22:34 
SuggestionRe: XPSDrv Sample (Custom XPS Printer) Pin
Richard Deeming12-Nov-15 2:02
mveRichard Deeming12-Nov-15 2:02 
GeneralRe: XPSDrv Sample (Custom XPS Printer) Pin
Member 1211876012-Nov-15 2:49
MemberMember 1211876012-Nov-15 2:49 
GeneralRe: XPSDrv Sample (Custom XPS Printer) Pin
Richard Deeming12-Nov-15 4:07
mveRichard Deeming12-Nov-15 4:07 
AnswerRe: XPSDrv Sample (Custom XPS Printer) Pin
ironed7-Jan-16 23:20
Memberironed7-Jan-16 23:20 

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.