On Wed, 30 Nov 2005 10:32:04 +0800 Terence Soh <gopher at 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