Page 1 of 1

usb engineer required

Posted: Thu Dec 20, 2012 12:36 pm
by davidkilshaw
I have an application where i need to shutdown a PC running windows server 2008 R2 under certain conditions

I will be able to provide a signal i.e. a logic level change signal this then needs to be converterted into a communication that can be interpreted by windows to kick off a controlled shut down.

I am envisaging using the UPS interface driver that is in windows to detect the signal so need someone with experiance in using this type of protocol to initiate the shut down

please contact me if you feel you have the skill sets

We have not chosen any hardware yet so could adapt which PIC micro we use to do the job

regards

Dave Kilshaw

Re: usb engineer required

Posted: Fri Jan 11, 2013 5:12 pm
by 001tech
Hello Dave,

I could do this for you. The easiest way would be to use a USB device in HID mode to emulate a keyboard. There should then be a combination of keys which will shut down the windows machine. For me on my Win7 machine I press the following keys.

Control + Escape - brings up the start menu
Right cursor - selects the shut down option
Enter - Submits the shut down option

If you can give me a list of key presses then it should be fairly simple for me to automate these to run when an incoming logic signal for example goes high.