Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


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

Rep: Reputation: 0

I am using AT91SAM9260 with linux 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
Old 11-03-2009, 02:22 PM   #2
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 45
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.


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
RTC . raajeshjt Linux - Embedded & Single-board computer 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 > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

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

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