>> I suppose this ASUS WMI spec isn't public at all ? > Ah, no, it's confidential. but it's in grey area I think :p > >> >>> After discussing with ASUS' BIOS engineer, they say wake on lid open >>> doesn't have a uniq device ID(0x00120032) in the BIOS. It shares the same >>> device ID with deep S3(0x00120031), and the deep S3(resume on lid open) >>> is disable by default. >>> >>> It's reasonable to resume the system while opening the lid, so add it >>> in the asus-wmi driver and tested the code on ASUS X100CH and ASUS 1015CX.y >> >> If there there a way to know what the current settings is and if it's >> available ? > Yes, there is a way to get the device status, but it do no harm if the > device ID we queried is not exist. > >> If yes, could a sysfs file could be added to configure the behavior ? > Where is the proper directory to contain it? > This feature is nice to have, for people will turn it on always. Somehting like the camera sysfs, but named lid_resume would be great. This should be documented in Documentation/ABI/testing/sysfs-platform-asus-wmi. Since it's a setting, even if enabled by default, it's always better to let the user override it. -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html