Hi, hede wrote: > Technically it should be possible, as dmidecode can show the reason: > Handle 0x0001, DMI type 1, 27 bytes > System Information > ... > Wake-up Type: LAN Remote > vs. > Wake-up Type: Power Switch
The statement in man dmidecode "DMI (some say SMBIOS)" caused me to search for "GRUB SMBIOS" which yields: https://www.gnu.org/software/grub/manual/grub/html_node/smbios.html This looks like a low-level user interface to https://en.wikipedia.org/wiki/System_Management_BIOS Diving into https://codesearch.debian.net/search?q=package%3Admidecode+Wake-up+Type leads me to https://sources.debian.org/src/dmidecode/3.6-1/dmidecode.c/?hl=4498#L4498 which lets me guess that your answer is in smbios --type 1 --get-byte 24 with the possible values told by function dmi_system_wake_up_type() https://sources.debian.org/src/dmidecode/3.6-1/dmidecode.c/?hl=513#L513 Consider to explore this in the GRUB shell and (if needed) to find somebody who can help to develop a smart configuration which makes use of the result to offer different boot menus. (I am not sure whether we have the expertise here. As last resort, i'd ask at mailinglist grub-de...@gnu.org in the hope that the experts are in helpful mood. It's not a very harsh environment there.) Have a nice day :) Thomas