lkml.org 
[lkml]   [2007]   [Oct]   [12]   [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
Rick Niles wrote:
> I'm the Linux maintainer for the OSGPS (open source GPS) project. Our
> last release version was based off Fedora 5 and since we have had some
> hardware issues with our on board interrupt line I was using the RTC
> interrupt to service the tracking loops. I've been trying to make the
> driver work with Fedora 7 and the 2.6.22 kernel, but the rtc_register()
> and other RTC functions seems to have been removed. I see they've been
> replaced by the corresponding HPET functions, which is great. However,
> hpet_register() always returns -16 (EBUSY). This could be because I
> lack the correct hardware (I'm running 32-bit Linux on a Athlon64 with
> an NVIDIA chipset) or some other reason.
>
> I'm looking for any help here. The RTC version of the code can be
> viewed at:
> http://osgps.cvs.sourceforge.net/osgps/osgps/linuxmod.c?revision=1.12&view=markup
>
>
> Can device drivers still use the real-time clock at all? Does the
> tickless kernel effect this at all?
>
> Thanks for any help you can lend,
> Rick Niles.

Am I missing why you can't just use a normal kernel timer for this? You
shouldn't have to mess with the RTC or HPET directly..

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/

-
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-12 06:23    [W:0.033 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site