ACPI SystemCMOS region handler rev. 2 (was Re: Impossible shutdown)

2014-07-05 Thread Anthony Jenkins
How about this (attached) patch to atrtc.c? I threw this together (not sure about limiting the width to 8 bits, I can make it more) and backed out my patch to acpica and I can still power down my machine properly (haven't tried suspend/resume yet due to backlight issue). But this seems to be

Re: ACPI SystemCMOS region handler rev. 2 (was Re: Impossible shutdown)

2014-07-05 Thread Anthony Jenkins
What error should the address region handler return for ACPI_WRITE attempts to RTC current date/time registers? From ACPIspec50.pdf section 5.5.2.4.1 CMOS Protocols: All bytes of CMOS that are related to the current time, day, date, month, year and century are read-only. I return