Preface: I posted here while ago about a faulty unit (flash memory). Got advice to get it replaced. Meanwhile replacement arrived and it does not show that old issue. So this was a manufacturing fault.
The issue below is with the replacement NUC.
I have successfully flashed JY0047.bio (since I need CIR under Linux). The unit seems to work fine, except that it does not recover from S3. The disk spins up but the screen remains dark.
I tried with Ubuntu 18.10 and Lubuntu 18.10. There is no difference if the monitor is connected to HDMI-1 or HDMI-2. I suspect this is not a graphics driver or HDMI issue because
1) When I execute
echo mem > sys/power/state; echo hello > somefile
then somefile does no exist after I tried to wake up and then reboot the NUC.
2) I cannot ping the NUC from another machine after the broken wake up step.
Since the OS itself does ot recover from S3, I suppose the problem is (related to) BIOS. If the exact cause and a solution is currently not known, is there a BIOS version for NUC7PJYH which is known to work with Linux and S3?
I see. To be honest, I am a bit surprised that Intel doesn't put more focus and resources to Linux compatibility of their popular NUC products. After all, I guess many customers plan to do a bit more than plugging in their own SODIMM and disk and then installing the dominant proprietary OS.
@KEgal you gotta kidding me!!!! That f***ing works!!! I had tried so many things in the BIOS. I thought the Boot->windows/linux switch had only sth to do with EFi and booting!! Thank you my dear friend! I owe you a beer or two!! @PatS_Intel please take note and have this documented wherever you think it should. Kudos to @KEgal !!