Re: Help with rtc to hpet conversion of OSGPS driver

From: Jan Engelhardt
Date: Thu Oct 11 2007 - 09:23:34 EST



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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/