Re: 答复: 答复: My laptop can't resume from suspend.

2014-08-25 Thread Anthony Jenkins
No problem... attached. And amd64 doesn't matter - works for x86-based computers with the basic CMOS RTC chip (PNP0B00). Hopefully your suspend/resume problems are due to your ACPI BIOS needing to read/write info from/to CMOS and not finding a CMOS handler. Anthony On 08/25/2014 11:50, 张晓靖

答复: 答复: My laptop can't resume from suspend.

2014-08-25 Thread 张晓靖
I google less than complete information. Do you have the relevant code can be shared under it? I found atrtc.c file in /usr/src/sys/x86/isa directory, but my system is amd64 of .. root@skycn:~ # uname -a FreeBSD skycn 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #2: Sat Aug 16 00:06:30 CST

Re: 答复: 答复: My laptop can't resume from suspend.

2014-08-25 Thread Adrian Chadd
Hm! Cool, so you've reimplemented the RTC accesses to go via ACPI. Shouldn't this be another device though? One that gets attached if it finds it on the ACPI bus? -a On 25 August 2014 09:10, Anthony Jenkins anthony.b.jenk...@att.net wrote: No problem... attached. And amd64 doesn't matter -

Re: 答复: 答复: My laptop can't resume from suspend.

2014-08-25 Thread Anthony Jenkins
The device probe for the CMOS RTC chip handles that (I assume) - none of my stuff ever gets called if the device isn't found on the ACPI bus. The reimplementation of the CMOS read/write methods is just to allow ACPI multibyte accesses (the existing read/write calls lock single byte accesses).