Re: disabling the 'auto-turn off devices' option for the usb root hub

From: Doron Holan [MS] (doronh_at_nospam.microsoft.com)
Date: 12/23/04


Date: Thu, 23 Dec 2004 14:43:22 -0800

GUID_POWER_DEVICE_ENABLE

see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/kmarch/hh/kmarch/WMI_5132950f-fd47-4b38-8f9f-ff044088d200.xml.asp

(beware of wrap)

this will control any device which can be turned off/on while the machine is
running

d

-- 
Please do not send e-mail directly to this alias. this alias is for 
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Amol" <amol_dabholkar@yahoo.com> wrote in message 
news:uPN1XC05EHA.1524@TK2MSFTNGP09.phx.gbl...
> Hi
> Can you be a little more specific and point me in the right direction?
> thnx
> Amol
>
> "Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
> news:uCLH43t5EHA.3472@TK2MSFTNGP09.phx.gbl...
>>     It is well-accessible via WMI.
>>
>> -- 
>> Maxim Shatskih, Windows DDK MVP
>> StorageCraft Corporation
>> maxim@storagecraft.com
>> http://www.storagecraft.com
>>
>> "Amol" <amol_dabholkar@yahoo.com> wrote in message
>> news:%23KmWEdk5EHA.3908@TK2MSFTNGP12.phx.gbl...
>> > Hi
>> > I am pretty new at this and I have been struggling with this problem 
>> > for
> a
>> > while now:
>> > I wish to write a program to disable the 'Allow this device to turn off
> the
>> > power' feature of the root hub in the device manager. I have tried
> looking
>> > at the setupAPI, functions like CM_Get_DevNode_Registry_Property etc.
> and
>> > didn't have any luck there.
>> > I tried to check what Registry values were getting changed by looking 
>> > at
> the
>> > registry updates when i unchecked the option in device manager using
>> > registry monitoring tools like RegMon from SysInternals, but I think
> only
>> > the driver name is read and i couldn't see any other reg value being
>> > touched.
>> > I tried to look at the USB_HUB_INFORMATION descriptor using the API
> provided
>> > by usbioctl.h to see if there were any changes in the descriptor when
> the
>> > option is changed in the device manager but there doesnt seem to be any
>> > change. I have kindof run out of options now so can anyone point me in
> the
>> > correct direction? any help will be appreciated.
>> > On a side note, is there any documentation for the USB_HUB_INFORMATION
>> > parameters? I could find no documentation on the net for the parameters
> of
>> > this structure, although parameters like 'wHubCharacteristics' are used
> as a
>> > mask to get device properties in WinDDK sample tools like USBVIEW. Can
>> > anyone also point me to the documentation of this structure?
>> > thanx and best regards
>> > Amol
>> >
>> >
>>
>>
>
> 


Relevant Pages

  • Re: disabling the auto-turn off devices option for the usb root hub
    ... "Amol" wrote in message ... > power' feature of the root hub in the device manager. ... > I tried to check what Registry values were getting changed by looking at the ... is there any documentation for the USB_HUB_INFORMATION ...
    (microsoft.public.development.device.drivers)
  • Re: disabling the auto-turn off devices option for the usb root hub
    ... >> power' feature of the root hub in the device manager. ... >> I tried to check what Registry values were getting changed by looking at ... >> registry monitoring tools like RegMon from SysInternals, ... I could find no documentation on the net for the parameters ...
    (microsoft.public.development.device.drivers)
  • disabling the auto-turn off devices option for the usb root hub
    ... power' feature of the root hub in the device manager. ... I tried to check what Registry values were getting changed by looking at the ... I tried to look at the USB_HUB_INFORMATION descriptor using the API provided ... is there any documentation for the USB_HUB_INFORMATION ...
    (microsoft.public.development.device.drivers)
  • Re: How do I load a third party driver in Windows CE 6.0
    ... I had a look at the link to the documentation you sent a link to and I ... I would get a dll to load. ... What do I have to do in the registry to get my dll to ... then myusbdevicedriver.dll will get loaded when I attach my USB device. ...
    (microsoft.public.windowsce.embedded)
  • Re: DVD & CD drives dissappeared
    ... just how to fix it in the registry. ... uninstall the update and roll back to a previous System Restore point. ... After the Device Manager window opens, click the "+" to expand the ... DVD/CD-Rom drives option. ...
    (microsoft.public.windowsxp.general)