Re: [rtc-linux] Re: rtc max frequency setting

From: Alessandro Zummo
Date: Sat Aug 04 2007 - 20:42:47 EST


On Sat, 04 Aug 2007 17:06:38 -0700
"H. Peter Anvin" <hpa@xxxxxxxxx> wrote:

> > with the old rtc.ko module, there was a /proc/sys/dev/rtc/max-user-freq
> > that could be set. With rtc_cmos.ko (or the new rtc infrastructure in
> > general), I am missing this file. Where can I set the max-user-freq now,
> > or is this obsolete now? (mplayer prefers to have user-freq to be >= 1024.)
> >
>
> Qemu wants something like this too. Both of these really want something
> else, which is a high-frequency userspace timer.
>
> What is the best way to do that on modern kernels?

The rtc class is missing sysfs interface to the maximum settable
value. I guess I'll have to add it. I should be able to find the time
in the next few days.

However, I agree that they both shold be using an userspace
high freq timer :)

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy

http://www.towertech.it

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