Configure Kernel with RTC

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Hi,

I need to access the real-time clock for power management (apmd).
However, when the kernel .config file is set as below and built, there
is still not /dev/rtc. There are, however, /dev/rtc, /dev/rtc1, /dev/
rtc2. Can someone help?

Thanks so much,
P

# Portion of .config
#
# Real Time Clock
#
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set

#
# RTC drivers
#
CONFIG_RTC_DRV_DS1553 is not set
CONFIG_RTC_DRV_DS1742 is not set
CONFIG_RTC_DRV_M48T86 is not set
CONFIG_RTC_DRV_SA1100=y
CONFIG_RTC_DRV_TEST is not set
CONFIG_RTC_DRV_V3020 is not set


Site Timeline