lkml.org 
[lkml]   [2006]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/18] RTC subsystem
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.

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

--

Best regards,

Alessandro Zummo,
Tower Technologies - Turin, Italy

http://www.towertech.it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-28 18:45    [W:0.132 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site