You are not logged in.

#1 2007-05-13 03:06:28

vfork_0x00f
Member
Registered: 2006-08-28
Posts: 14

configure /dev/rtc to have a 1024 Hz timer

In the past, I configured '/dev/rtc' to have a 1024 Hz timer by adding the line

echo 1024 > /proc/sys/dev/rtc/max-user-freq

to my /etc/rc.local file (as required by Qemu). I upgraded my box this week to kernel 2.6.21 and this file does not seems to exists anymore. I would like to know how can I configure the rtc timer now ?

Regards,

Offline

#2 2007-05-13 04:47:24

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: configure /dev/rtc to have a 1024 Hz timer

I don't think you can do this anymore.  Check out this site -> http://kernelnewbies.org/LinuxChanges#h … 712e47c887

The 2.6.21 kernel has a dynamically set timer, so I guess this prevents you from setting it in this way.  This is more of a guess, I could be wrong.

Offline

#3 2007-05-13 17:10:12

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: configure /dev/rtc to have a 1024 Hz timer

use ck patches to get 250 - 10000Hz
it does not provide 1024Hz either you get 1000 or 1500 (then 2000,3000, 4000, 5000, 7500, 10000)

Offline

Board footer

Powered by FluxBB