Thank you for the reply. I haven't been able to get this to work; I ran it as below and it just sits there after the last line. I get kicked off the ssh session if I type anything. I have an inline USB power meter on the board and the current never drops, and I can ping it successfully from another machine, so I don't believe it's going into suspend.
Code: Select all
sudo ./h3fakeoff -s -l PB16 -b PB15 -w 1
str2uint: PB16 -> 00000010
str2uint: PB15 -> 0000001f
do_it:1, config: 0x00011f10 (wol: 000000000000)
apply_foff: start
The Air doesn't have a switch that I know of, so I've got an external switch and LED on a breadboard connected to pins 23/24, and if I'm reading the schematic correctly PB16/PB15 should correspond. Doesn't look like it's getting that far though.