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

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Amol (amol_dabholkar_at_yahoo.com)
Date: 12/21/04


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
> >
> >
>
>



Relevant Pages

  • 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)
  • RE: Microstaff installation chaos!
    ... I'm still sifting through the registry information from ... >or filter driver. ... The Device Manager shows no devices. ...
    (microsoft.public.win2000.applications)
  • 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: DVD drive not working after windows update
    ... They add references in the Registry for modules which they use, ... Registry patch to correct this (download it aumha.org/downloads/cdgone.zip. ... patch and rebooting, the drives should reappear. ... enabled/broken, it doesn't show up in device manager, it simply ...
    (microsoft.public.windowsupdate)
  • 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)