Re: Possible to turn a pc on?
Reply #2 –
Yeah, I doubt your USB is powered when the PC is off. I have not heard of a turn PC via USB. I have seen wake, but I think thats only for when your PC is in standby or whatever.
I did this for my xbox a long time ago; I took an attiny45 I think it was; a IR reciveing de-modulator type, and an LED. I hooked it up to the power button; so when you press and hold you can program the power and eject buttons; so it could be used with any remote control.. Basically it just mimicked somone pressing the power button. Infact I dont have the xbox anymore (well i do have its power supply) but I do still have that little board; thinking about making it to do the same with my PC.. and add a 'breathing' LED effect when the PC is off. The board was etched myself; prolly the best etched board I have ever made... now I dont do etching.
What was funny about it was it was very early in my MCU experience; so I wasnt very good and didnt know how to use timers and so on, like I do now.. So how it worked was it simply:
sudo code:
WaitTillHigh()
WhileHigh() {
count++;
}
// dropped low
keycode[1] = count;
count=0;
WhileLow() {
count++;
}
// went high again
keycode[2] = count;
....
(ulong32) RealCode = count[3] & count[6] & count[7]
and did this like 14 times... and by throwing out most of the counts; it was quite reliable and each code (power or eject) would actaully be stored 3 times; so each IR send would be compared to 6 stored codes in the EEPROM to control two functions :D
it still works :D
Somday I will get around to it.