rtc_cmos: no alarms.

nutr

New Member
Credits
59
Hi,

I'm using debian 10 with tablet based on intel atom z3735f. The linux kernel 5.8.0-rc1 shows the following log:

[ 0.010578] ACPI: HPET 0x000000003CCF0000 000038 (v01 INSYDE INSYDE 00000003 ACPI 00040000)
[ 0.018763] x86/hpet: Will disable the HPET for this platform because it's not reliable
[ 0.018895] ACPI: HPET id: 0x8086a201 base: 0xfed00000

[ 3.520169] rtc_cmos 00:00: registered as rtc0
[ 3.520209] rtc_cmos 00:00: setting system clock to 2020-06-16T07:00:22 UTC (1592290822)
[ 3.520217] rtc_cmos 00:00: GPIO lookup for consumer wp
[ 3.520220] rtc_cmos 00:00: using ACPI for GPIO lookup
[ 3.520232] rtc_cmos 00:00: using lookup tables for GPIO lookup
[ 3.520235] rtc_cmos 00:00: No GPIO consumer wp found
[ 3.520294] rtc_cmos 00:00: no alarms, y3k, 242 bytes nvram

there is no file /sys/class/rtc/rtc0/wakealarm and the command "rtcwake -m no -s 60" returns:
rtcwake: set rtc wake alarm failed: Invalid argument

I extracted dsdt.dsl:
-----------dsdt.dsl---------
Device (RTC)
{
Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IO (Decode16,
0x0070, // Range Minimum
0x0070, // Range Maximum
0x01, // Alignment
0x08, // Length
)
})
}

Device (HPET)
{
Name (_HID, EisaId ("PNP0103") /* HPET System Timer */) // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}

Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0xFED00000, // Address Base
0x00000400, // Address Length
)
Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, )
{
0x00000008,
}
})
Return (RBUF) /* \_SB_.HPET._CRS.RBUF */
}
}
-----------dsdt.dsl---------

my kernel config:
CONFIG_HPET_EMULATE_RTC=y
CONFIG_RTC_LIB=y
CONFIG_RTC_MC146818_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
CONFIG_RTC_NVMEM=y
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
CONFIG_RTC_I2C_AND_SPI=y
CONFIG_RTC_DRV_CMOS=m

From the internet I can see the log line of type:
rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs

I need to wake up tablet from hibernation after a time delay, how can I enable RTC alarms?

Thanks
 


Staff online

Members online


Latest posts

Top