Hi,
Werner Almesberger wrote:
Michael Trimarchi wrote:
/* generate a userspace notification */
sysfs_notify(&pcf->dev->kobj, NULL, "resume_reason");
This not change the beahvior but notify the change to the userspace.
Sounds good to me. In fact, generating a notification whenever the
underlying information of a sysfs file is updated seems to be a good
idea in general.
Can you please send a patch that adds the notification ?
Thanks,
- Werner
I will prepare a patch and a userspace program change for android.
Michael