Please help with kernel configuration of RTC

Apr 26, 2007 1 Replies

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



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

Its probably "mknod rtc c 10 135"

Jon

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required