Please help with kernel configuration of RTC

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

Translate This Thread From English to

Threaded View
Hi,

I need to access the Real-Time Clock (RTC) for power management (apmd/
apmsleep) via /dev/rtc. However, when the kernel is configured and
build, the /dev/rtc still does not show up.

Below is the kernel's .config file (partially)

Thanks for any help or suggestions.

Best,
Podi

#
# 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=y

#
# RTC drivers
#
CONFIG_RTC_DRV_DS1553=y
CONFIG_RTC_DRV_DS1742=y
CONFIG_RTC_DRV_M48T86=y
CONFIG_RTC_DRV_SA1100=y
CONFIG_RTC_DRV_TEST=y
CONFIG_RTC_DRV_V3020=y

#
# File systems


Re: Please help with kernel configuration of RTC

Quoted text here. Click to load it


You may need to use mknod to make the device node in /dev

Its probably "mknod rtc c 10 135"

Jon




Site Timeline