Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Why no "disable" option in device manager?

Reply
Thread Tools Display Modes

Why no "disable" option in device manager?

 
 
Gary Li
Guest
Posts: n/a

 
      04-18-2010
I custimized an audio driver based on AC97 sample in WDK, but it does not
expose "disable" in properties of my device in device manager.
Is it because my driver missed anything, or how to make the option show up.

Thanks

-Gary Li
 
Reply With Quote
 
 
 
 
Doron Holan [MSFT]
Guest
Posts: n/a

 
      04-19-2010
a driver or ACPI can be indicating that the device is not disableable

d

--

This posting is provided "AS IS" with no warranties, and confers no rights.


"Gary Li" <> wrote in message
news:52F34F4D-26E0-4112-84E1-...
> I custimized an audio driver based on AC97 sample in WDK, but it does not
> expose "disable" in properties of my device in device manager.
> Is it because my driver missed anything, or how to make the option show
> up.
>
> Thanks
>
> -Gary Li


 
Reply With Quote
 
Gary Li
Guest
Posts: n/a

 
      04-22-2010
The device was enumerated by ACPI with PnP ID = ACPI\xxxx
However, another driver with similar ID can be disabled.
Does DriverUnload(), or PnP IRPs affect disableable feature?

-Gary

"Doron Holan [MSFT]" wrote:

> a driver or ACPI can be indicating that the device is not disableable
>
> d
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Gary Li" <> wrote in message
> news:52F34F4D-26E0-4112-84E1-...
> > I custimized an audio driver based on AC97 sample in WDK, but it does not
> > expose "disable" in properties of my device in device manager.
> > Is it because my driver missed anything, or how to make the option show
> > up.
> >
> > Thanks
> >
> > -Gary Li

>
> .
>

 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      04-22-2010
> Does DriverUnload(), or PnP IRPs affect disableable feature?

Yes, "query capabilities" one.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
Doron Holan [MSFT]
Guest
Posts: n/a

 
      04-22-2010
the HW ID is not the important part, it is other methods/properties that
acpi exposes for the device or the driver itself which is doing this at
runtime

d

--

This posting is provided "AS IS" with no warranties, and confers no rights.


"Gary Li" <> wrote in message
news:70D9D3A8-2841-4374-A12B-...
> The device was enumerated by ACPI with PnP ID = ACPI\xxxx
> However, another driver with similar ID can be disabled.
> Does DriverUnload(), or PnP IRPs affect disableable feature?
>
> -Gary
>
> "Doron Holan [MSFT]" wrote:
>
>> a driver or ACPI can be indicating that the device is not disableable
>>
>> d
>>
>> --
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>> "Gary Li" <> wrote in message
>> news:52F34F4D-26E0-4112-84E1-...
>> > I custimized an audio driver based on AC97 sample in WDK, but it does
>> > not
>> > expose "disable" in properties of my device in device manager.
>> > Is it because my driver missed anything, or how to make the option show
>> > up.
>> >
>> > Thanks
>> >
>> > -Gary Li

>>
>> .
>>

 
Reply With Quote
 
Gary Li
Guest
Posts: n/a

 
      04-25-2010
Do you mean QueryDeviceCapabilities() in audio WaveRT miniport API?
That is the chance our audio driver may modify DEVICE_CAPABILITIES
typedef struct _DEVICE_CAPABILITIES {
USHORT Size;
USHORT Version;
ULONG DeviceD1 :1;
ULONG DeviceD2 :1;
ULONG LockSupported :1;
ULONG EjectSupported :1;
ULONG Removable :1;
ULONG DockDevice :1;
ULONG UniqueID :1;
ULONG SilentInstall :1;
ULONG RawDeviceOK :1;
ULONG SurpriseRemovalOK :1;
ULONG WakeFromD0 :1;
ULONG WakeFromD1 :1;
ULONG WakeFromD2 :1;
ULONG WakeFromD3 :1;
ULONG HardwareDisabled :1;
ULONG NonDynamic :1;
ULONG WarmEjectSupported :1;
ULONG NoDisplayInUI :1;
ULONG Reserved1 :1;
ULONG Reserved :13;
ULONG Address;
ULONG UINumber;
DEVICE_POWER_STATE DeviceState[POWER_SYSTEM_MAXIMUM];
SYSTEM_POWER_STATE SystemWake;
DEVICE_POWER_STATE DeviceWake;
ULONG D1Latency;
ULONG D2Latency;
ULONG D3Latency;
} DEVICE_CAPABILITIES, *PDEVICE_CAPABILITIES;
However, by reading the definitions of each field, I could find not anyone
may affect "disable" option in device manager.
Could you point out more clue?

Thanks

-Gary

"Maxim S. Shatskih" wrote:

> > Does DriverUnload(), or PnP IRPs affect disableable feature?

>
> Yes, "query capabilities" one.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
>
> http://www.storagecraft.com
>
> .
>

 
Reply With Quote
 
Gary Li
Guest
Posts: n/a

 
      04-25-2010
Could you say it more specificly?
Which portion of device or driver may affect this feature?

Thanks

-Gary

"Doron Holan [MSFT]" wrote:

> the HW ID is not the important part, it is other methods/properties that
> acpi exposes for the device or the driver itself which is doing this at
> runtime
>
> d
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Gary Li" <> wrote in message
> news:70D9D3A8-2841-4374-A12B-...
> > The device was enumerated by ACPI with PnP ID = ACPI\xxxx
> > However, another driver with similar ID can be disabled.
> > Does DriverUnload(), or PnP IRPs affect disableable feature?
> >
> > -Gary
> >
> > "Doron Holan [MSFT]" wrote:
> >
> >> a driver or ACPI can be indicating that the device is not disableable
> >>
> >> d
> >>
> >> --
> >>
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >>
> >> "Gary Li" <> wrote in message
> >> news:52F34F4D-26E0-4112-84E1-...
> >> > I custimized an audio driver based on AC97 sample in WDK, but it does
> >> > not
> >> > expose "disable" in properties of my device in device manager.
> >> > Is it because my driver missed anything, or how to make the option show
> >> > up.
> >> >
> >> > Thanks
> >> >
> >> > -Gary Li
> >>
> >> .
> >>

> .
>

 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      04-25-2010
> However, by reading the definitions of each field, I could find not anyone
> may affect "disable" option in device manager.


Sorry, this is IoInvalidateDeviceState and MN_QUERY_DEVICE_STATE, not the capabilities.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista32, new driver? & USB Mouse/Keyboard not working Scott J. Stringfellow Windows Vista Hardware 27 04-01-2010 05:22 PM
active sync issue mk3100 patrick craig ActiveSync 0 01-15-2010 05:06 AM
americas army stuttering under vista premium ernie Windows Vista Games 0 02-27-2007 10:20 PM
Prevent Auto-Start Arthur Dent ActiveSync 4 07-17-2006 05:01 PM
Trouble with driver on Windows Vista Beta 2 sujatha Windows Vista Installation 0 06-08-2006 06:44 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59