On Mon, Apr 23, 2012 at 02:07:28PM -0600, Daniel Drake wrote: > On Mon, Apr 23, 2012 at 2:03 PM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote: > >> My HTPC goes to sleep (S3) and resumes just fine (via RTC or WOL). > >> > >> My problem is that I need to know whether it woke up from RTC or WOL and I > >> find nothing in dmesg that gives me a clue for the wakeup reason. > >> > >> Is it something that I can get from somewhere? > > > > http://marc.info/?l=linux-acpi&m=133478932527097&w=2 is a similar sort > > of request; maybe something similar could be done. > > Here's how you can detect RTC wakeup: > http://patchwork.ozlabs.org/patch/153612/ Thanks for the patches. Do you know if either is likely to ever make it to mainline? Thanks, Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html