All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] RTC interface
@ 2005-11-30  3:34 Terence Soh
  2005-11-30 23:16 ` Alessandro Zummo
  0 siblings, 1 reply; 2+ messages in thread
From: Terence Soh @ 2005-11-30  3:34 UTC (permalink / raw)
  To: lm-sensors

Hi,

I've some questions about RTC in I2C environment and I'm using rtc8564.c.

1) Do we update the linux date and time (not the RTC) in user space or 
kernel space?
2) If I update in the kernel, what are the appropriate functions for it?
3) If I update it in user space, which dev do I write/read to? 
Apparently /dev/rtc does not exist when I try to cat it.

Thanks,
Terence.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [lm-sensors] RTC interface
  2005-11-30  3:34 [lm-sensors] RTC interface Terence Soh
@ 2005-11-30 23:16 ` Alessandro Zummo
  0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Zummo @ 2005-11-30 23:16 UTC (permalink / raw)
  To: lm-sensors

On Wed, 30 Nov 2005 10:32:04 +0800
Terence Soh <gopher@singnet.com.sg> wrote:


> I've some questions about RTC in I2C environment and I'm using rtc8564.c.
> 
> 1) Do we update the linux date and time (not the RTC) in user space or 
> kernel space?
> 2) If I update in the kernel, what are the appropriate functions for it?
> 3) If I update it in user space, which dev do I write/read to? 
> Apparently /dev/rtc does not exist when I try to cat it.

 Hello,

  the kernel actually lacks a good support for i2c rtcs... which platform
 are you using it on?

 If it's ARM based , I can give you some hints.

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-30 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-30  3:34 [lm-sensors] RTC interface Terence Soh
2005-11-30 23:16 ` Alessandro Zummo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.