Re: [PATCH 00/18] RTC subsystem

Kumar Gala
2006-03-28T17:17:53Z

On Mar 28, 2006, at 10:43 AM, Alessandro Zummo wrote:

> On Tue, 28 Mar 2006 10:25:59 -0600
> Kumar Gala <galak@kernel.crashing.org> wrote:
>
>>
>> Alessandro, is there any mechanism to determine if an RTC is enabled
>> through /dev or sysfs?
>>
>> The DS1672 has an enable counting bit in its I2C register interface.
>> I can have a set time enable it if its not, however I'd like to
>> report to user space the fact that its not enabled.
>
> No mechanism, an rtc is actually supposed to be running. You may want
> to export a sysfs attribute from the ds1672 driver to inform
> user space.

Any suggestions on what to call it?

> I can't check it right now, but iirc I enable the ds1672 counting
> bit in the driver init code.

Hmm, I didn't see that. I was going to send a patch to have
ds1672_set_mmss() always enable the counting bit.

- kumar