On Tue, 15 Sep 2009 20:42:57 -0700, Bryan Kadzban <[email protected]>
wrote:
> Did you have that setting on? We might want to warn about that in the
> book in the kernel-config section, actually. Hmm.
Nope, CONFIG_SYSFS_DEPRECATED_V2 is not set.
Here's the RTC-related config bits:
CONFIG_HPET_EMULATE_RTC=y
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
CONFIG_RTC_DRV_CMOS=y
> /sbin/udevadm --attribute-walk -n /dev/rtc
looking at device '/devices/platform/rtc_cmos/rtc/rtc0':
KERNEL=="rtc0"
SUBSYSTEM=="rtc"
DRIVER==""
ATTR{name}=="rtc_cmos"
ATTR{date}=="2009-09-17"
ATTR{time}=="19:44:06"
ATTR{since_epoch}=="1253216646"
ATTR{max_user_freq}=="64"
ATTR{wakealarm}==""
looking at parent device '/devices/platform/rtc_cmos':
KERNELS=="rtc_cmos"
SUBSYSTEMS=="platform"
DRIVERS=="rtc_cmos"
ATTRS{modalias}=="platform:rtc_cmos"
ATTRS{nvram}==""
looking at parent device '/devices/platform':
KERNELS=="platform"
SUBSYSTEMS==""
DRIVERS==""
I tried changing SUBSYSTEM to KERNEL as the OP reported but that didn't change
anything for me. Note my BIOS does have localtime, not UTC set. So, I've
changed UTC to 0 in my /etc/sysconfig/clock but to no avail. I've edited
setclock to echo to a log file, /root/setclock.log, but it never gets written
to, suggesting the udev rule never gets fired here.
Thanks,
Matt.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page