挂起/恢复后系统时间错误(挂起后设置系统时间) 不放弃。答案中提到,这可能与 CMOS 时钟故障有关。尝试调查并发现 hwclock:
$ sudo hwclock --verbose
hwclock from util-linux 2.36.1
System Time: 1658943089.883117
Trying to open: /dev/rtc0
Using the rtc interface to the clock.
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
ioctl(4, RTC_UIE_ON, 0): Invalid argument
Waiting in loop for time from /dev/rtc0 to change
hwclock: ioctl(RTC_RD_TIME) to /dev/rtc0 to read the time failed: Invalid argument
...synchronization failed
我怎样才能让 hwclock 工作?
Using
AMD A6-5400K APU with Radeon Version E7792AMS V2.2.
Debian GNU/Linux 11 (bullseye)
GNOME Version 3.38.5