LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded
User Name
Password
Linux - Embedded This forum is for the discussion of Linux and embedded devices.

Notices

Reply
 
LinkBack Search this Thread
Old 11-01-2009, 11:47 PM   #1
raajeshjt
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
RTC .


I am using AT91SAM9260 with linux 2.6.30.4 Kernel.Usually hwclock reads time from onchip RTC.I am using both onchip RTC and external RTC ds1307.I want hwclock to read time from external RTC.Wat are the options I should enable during configure linux kernel.

Thanks and Regards
JT.Raajesh
 
Old 11-03-2009, 02:22 PM   #2
clvic
Member
 
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 44
The command "hwclock" can read from any source. From "man hwclock": "--rtc=filename overrides the default /dev file name", so you can select, for instance, /dev/rtc1.
You can also change the symbolic link /dev/rtc to point to the /dev/rtcX file you want to use.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RTC . raajeshjt Linux - Embedded 1 11-05-2009 07:39 PM
RTC Alarm wakes up, even while BIOS has RTC alarm disabled mastermind2501 Linux - Newbie 2 12-22-2008 03:32 PM
Problem with rtc rogerscuall Linux - Software 0 08-09-2007 10:40 AM
Genrtc and rtc FlashHarry Linux - Newbie 3 06-24-2006 03:38 PM
Proc-rtc HeatSeaker Linux - Software 3 10-31-2004 08:50 AM


All times are GMT -5. The time now is 12:01 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration