Re: disabling the 'auto-turn off devices' option for the usb root hub
From: Amol (amol_dabholkar_at_yahoo.com)
Date: 12/21/04
- Next message: Subodh Radheshyam Gupta: "RE: hidclass.sys"
- Previous message: souli: "Re: Grouping Usb logical interfaces"
- In reply to: Maxim S. Shatskih: "Re: disabling the 'auto-turn off devices' option for the usb root hub"
- Next in thread: Doron Holan [MS]: "Re: disabling the 'auto-turn off devices' option for the usb root hub"
- Reply: Doron Holan [MS]: "Re: disabling the 'auto-turn off devices' option for the usb root hub"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 21 Dec 2004 17:37:47 +0800
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
> >
> >
>
>
- Next message: Subodh Radheshyam Gupta: "RE: hidclass.sys"
- Previous message: souli: "Re: Grouping Usb logical interfaces"
- In reply to: Maxim S. Shatskih: "Re: disabling the 'auto-turn off devices' option for the usb root hub"
- Next in thread: Doron Holan [MS]: "Re: disabling the 'auto-turn off devices' option for the usb root hub"
- Reply: Doron Holan [MS]: "Re: disabling the 'auto-turn off devices' option for the usb root hub"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|