stooged / PI-Pwn

pppwn
439 stars 81 forks source link

Setting the PS4 to rest mode seems to break the Pi-Pwn logic, LED confirmation/feedback. #82

Closed krakenbites closed 3 months ago

krakenbites commented 3 months ago

If during the initial setup you selected for the Pi to shutdown after a successful PPPwn, and you put your console to sleep, and then wake up the console later, the Pi will power on again. In fact looks like doing that messes up the Pi shutdown & PPPwn logic entirely.

Would it be possible to fix that so the Pi remains turned off after the PS4 wakes up from rest mode?

I would like the Pi to turn on (and PPPwn the console) only if the PS4 is turned on from a total powered off state. That's because I want to preserve hardware and not generate unnecessary heat.

Putting the console on rest mode after the Pi PPPwnd the console and shut itself off really breaks/makes the Pi confused because I couldn't get it to PPPwn after waking up, and in fact not even after a hard PS4 power off and power on.

EDIT - In order to get a PPPwn I had to disconnect the Pi cables, set up PPPoE settings, turn off console, plug the Pi cables on the PS4 again and boot the console. However the Pi still doesn't turn itself off anymore after the PPPwn (although I marked Y during the initial setup via Putty). I don't recommend to put the PS4 to sleep with the Pi plugged in, at least not with the current implementation, because doing so makes the auto-off Pi functionality not work anymore.

krakenbites commented 3 months ago

Lastly, if the console is on sleep mode the Pi red LED remains turned on, although I already introduced the following command to config.txt:

dtparam=pwr_led_activelow=off

which by the way seems to work if the console is turned off (Pi LED turns off as well), is there a way to fix that?

Thanks Stooge!

stooged commented 3 months ago

try setting the rest mode to supply power to the usb ports so the pi stays powered while it rest mode. if should keep the pi in the shutdown state

krakenbites commented 3 months ago

try setting the rest mode to supply power to the usb ports so the pi stays powered while it rest mode. if should keep the pi in the shutdown state

I think you missed the point, as "Supply Power to USB Ports" was checked this whole time.