LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-25-2011, 10:47 AM   #1
jayhorizon
LQ Newbie
 
Registered: Oct 2010
Posts: 17

Rep: Reputation: 0
hwclock:Could not access RTC error


Hello,
I am running Linux version 2.6.22.6 on an IMX27 and have connected an external RTC chip isl1208. I recompiled with the built in driver and put it on my unit. When i restart the unit, i see :

isl1208 0-006f: chip found, driver version 0.2
isl1208 0-006f: rtc core: registered isl1208 as rtc0
mxc_rtc mxc_rtc.0: rtc core: registered mxc_rtc as rtc1
No external RTC clock
Real TIme clock Driver v1.0
mxc_rtc: probe of mxc_rtc.0 failed with error -2

Any ideas what is doing on? I do have the chip connected over the i2c.
Thanks
 
Old 01-25-2011, 11:33 AM   #2
jayhorizon
LQ Newbie
 
Registered: Oct 2010
Posts: 17

Original Poster
Rep: Reputation: 0
I should say it is wired up over the I2C.
 
Old 01-25-2011, 02:43 PM   #3
jayhorizon
LQ Newbie
 
Registered: Oct 2010
Posts: 17

Original Poster
Rep: Reputation: 0
I also looked at the log again and found this....

isl1208 0-006f: hctosys: invalid date/time
 
Old 01-25-2011, 03:27 PM   #4
jayhorizon
LQ Newbie
 
Registered: Oct 2010
Posts: 17

Original Poster
Rep: Reputation: 0
If i try the hwclock command I get this.....

hwclock -w
hwclock: Could not access RTC: No such file or directory
 
Old 01-25-2011, 04:07 PM   #5
jayhorizon
LQ Newbie
 
Registered: Oct 2010
Posts: 17

Original Poster
Rep: Reputation: 0
i found out that i was initializing two rtcs. I removed the mxc one but still can't talk to the isl1208. I get the invalid date/time still and when i try to set it with hw clock it says
hwclock: Could not access RTC: No such file or directory
 
Old 01-26-2011, 11:56 AM   #6
jayhorizon
LQ Newbie
 
Registered: Oct 2010
Posts: 17

Original Poster
Rep: Reputation: 0
I was using an old version of busybox.
I upgraded to busybox-1.17.3 and now if i do a ./busybox-1.17.3 hwclock it works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
:mad: hwclock problem from rtc zanget Linux - Kernel 3 10-12-2010 05:19 AM
hwclock error: "select() to /dev/rtc to wait for clock tick timed out" silencestone Linux - Software 3 02-04-2007 11:43 PM
Parallels and /dev/rtc error falcon56215 Linux - Software 1 11-27-2006 04:30 PM
date command counts time quicker than hwclock (RTC) carl0ski Linux - Software 2 12-29-2005 06:32 AM
mplayer not working [rtc init error] eurest Linux - Software 4 08-02-2005 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration