Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,090 of 68,980    |
|    John Gray to kemp...@gmail.com    |
|    Re: Power off USB device with batch    |
|    08 Dec 17 12:16:27    |
      From: jgqued@gmail.com              On Thursday, 7 December 2017 22:30:07 UTC, kemp...@gmail.com wrote:       > On Monday, November 7, 2011 at 12:55:11 PM UTC-5, te...@testnospam.nl wrote:       > > Is it possible to power off a device via a batch file?       > >       > > I have this USB microscope that, is turned on when I boot my Windows       > > XP PC.       > >       > > Is there a way to disable the power to that specific port so the LED's       > > in the microscope are dimmed?       > >       > > I have Devcon on my PC but when I try to disable the device it still       > > gets power (the LEDs keep burning).       > >       > > What I tought was to by default disable the power to the USB port, and       > > when I open the software for the microscope, enable the power back?       > >       > > When I have a batch file that enables the power and after that open       > > the microscope's software things would be better.       > >       > > Devcon found this: USB\VID_19B4&PID_0101\CELESTRON_DIGITAL_MICROSCOPE       > > for the USB port.       > >       > > Any ideas?       >       > Did you ever figure this out? I am trying to do something similar, and I can       disable the USB camera for the microscope but the light isn't going out.              See if USBDeview http://www.nirsoft.net/utils/usb_devices_view.html by Nir       Sofer has anything that will assist you. Note that some of the parameters for       the command line version are by no means obvious...              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca