Re: Help with rtc to hpet conversion of OSGPS driver

From: Rick Niles
Date: Thu Oct 11 2007 - 08:52:26 EST


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.

Jan Engelhardt wrote:
On Oct 11 2007 08:01, Rick Niles wrote:
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.

grep -r rtc_device_register drivers/rtc/

Does that help?

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.

-
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/