Please help with kernel configuration of RTC

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

Reply to
Podi
Loading thread data ...

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

Its probably "mknod rtc c 10 135"

Jon

Reply to
Unknown

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.