lkml.org 
[lkml]   [2007]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Help with rtc to hpet conversion of OSGPS driver

On Oct 11 2007 08:51, Rick Niles wrote:
>
> Maybe I'm way off here, but that seems to be the function to register a RTC
> hardware chip with the kernel. I want to use a real-time clock interrupt to
> wake up my driver and service the GPS correlator, about every 500ms. Please
> let me know if I'm misunderstanding.

You register your hardware, and then the userspace program opens /dev/rtc17
or whatever node is assigned to it, and receives periodic interrupts.
At least that's the theory for rtc-cmos.

And don't top post.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-10-11 15:25    [W:0.033 / U:20.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site