-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken sleep mode in 6.0.0 when using debug mode #119
Comments
Did you transfer the extra file? |
i have that libsys_lp0.bso directly from hekate sdfiles 9.0.1. but it's not working |
v4 works? EDIT: |
v4 works fine. yes. when i click the power touch button, it says some warning before my switch goes to sleep. and then i choose sleep. after i click it, my switch goes to black screen, but when i press any button, the switch does not wake up. i do not know if it is a sleep problem or a wake up problem |
Which ini and boot entry you used? EDIT: |
I choose CFW boot option. I have not used ctcaer 4.0 for 6.0 firmware yet. I'll try to run that later. |
Don't try hekate v4.0. |
Isn't stock for ofw boot loading? |
It's not exactly stock. It's stock as far as kips go. |
i have tried stock option. sleep mode works (yes). why cfw option is not working T_T |
ah i am sorry. think the option for using CFW+sys-netcheat or stock+sysnetcheat have made the sleep mode broken. if i am using only CFW or stock, it's fine |
Guess I'll mention this here, but on 6.0, the sleepmode issue reported on reinx exists on hekate too. It's the debug svc kernel patch. I had someone in my server test. |
yes. it seems recent debugmode is not compatible to 6.0. thanks. i am waiting for good news |
It is compatible with 6. It's just that secmon added checks for debug mode. |
Ah, didn't know about the checks. That explains why atmo is fine. I'll put that at the end of my list since i dont know many people that use it lol. |
will you fix this? |
ping |
pong |
@plutooo |
It's because the kernel will try to output debug stuff over UART, and UART is not set up. Exosphere currently fixes this (and thus ams has debugmode on by default), but you can probably just set uart up yourself before handover to tz. Relevant code: |
@SciresM The thing is that I tried to enable UARTA via hekate before 2 months when I saw that commit. I also tried stubbing functions that use it before and most of the times got hangs and sometimes a panic (probably missed some). Anyway, now that I have your confirmation, I can try again and focus only to uart. |
@CTCaer yeah, when I added those commits all debugmode issues related to sleep went away for ams, so I'm pretty confident. In addition to enabling it yourself, you'll probably need to patch the secure monitor to enable it on retail units after warmboot, or else a hang will occur on second sleep? |
i cannot sleep the switch with 4.1 release. is it normal?
The text was updated successfully, but these errors were encountered: