Markku Pesonen <tourula <at> gmail.com> writes: > > alex lupu wrote: > > BTW, what's a "Generic RTC class"? > > Would save me some research time ... > > Generic RTC class supports many different RTC chips found on all kinds > of hardware, unlike the legacy PC RTC driver. > > I assume you are using "make menuconfig". Go to Device Drivers and > select at least these: > [*] Real Time Clock ---> (CONFIG_RTC_CLASS) > [*] /sys/class/rtc/rtcN (sysfs) (CONFIG_RTC_INTF_SYSFS) > [*] /proc/driver/rtc (procfs for rtcN) (CONFIG_RTC_INTF_PROC) > [*] /dev/rtcN (character devices) (CONFIG_RTC_INTF_DEV) > [*] PC-style 'CMOS' (CONFIG_RTC_DRV_CMOS) >
I, too, have been enabling CONFIG_RTC "Enhanced Real Time Clock Support (legacy PC RTC driver)" and today enabled CONFIG_RTC_CLASS "Real Time Clock" as suggested here (thanks, BTW). But I still have a question and a comment... The question: Will there be any practical difference for me now considering this comment in Help for CONFIG_RTC?... If you run Linux on a multiprocessor machine and said Y to "Symmetric Multi Processing" above, you should say Y here to read and set the RTC in an SMP compatible fashion. The comment: Maybe the kernel folks should edit the Help text for CONFIG_SMP... People using multiprocessor machines who say Y here should also say Y to "Enhanced Real Time Clock Support", below. The "Advanced Power Management" code will be disabled if you say Y here. ...since that option is no longer always possible when CONFIG_RTC_CLASS is disabled. Arthur -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
