Open ydirson opened 12 years ago
This should be IMO fixed in omhacks upstream package. Upstreaming is nice, but as far as i know we dont have better kernel for GTA02 that works reliably now.
This is untested patch for omhack:
diff --git a/omhacks/sysfs.c b/omhacks/sysfs.c index 0a333df..4d81a0d 100644 --- a/omhacks/sysfs.c +++ b/omhacks/sysfs.c @@ -117,6 +117,8 @@ static const char* scan_resume_reason() return "/sys/class/i2c-adapter/i2c-0/0-0073/neo1973-resume.0/resume_reason"; if (exists("/sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/neo1973-resume.0/resume_reason")) return "/sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/neo1973-resume.0/resume_reason";
"om resume-reason" apparently does not work, since it is expecting /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-resume.0/resume_reason and/or /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/neo1973-resume.0/resume_reason (according to strace), where we only have /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/resume_reason
lindi- pointed to http://wiki.openmoko.org/wiki/Kernel/Upstreaming as the list of patches we should have