henning
9be86cfc22
just ise "HARD" as refid with sensors for v3 clients
18 years ago
henning
1110d359db
urgs, other stuff snuck in
18 years ago
henning
5a53deb317
do not use /dev/hotplug for now, only one reader supported yet
18 years ago
henning
d4fd11008a
when we cannot open /dev/hotplug, donn't bail, just work without
with ckuethe
18 years ago
henning
52daf64bf5
allow for weight to be added to sensors or servers, so that one can
weight timedelta sensors higher than ntp peers, for example
ok deraadt mbalmer
18 years ago
henning
24755fb155
get clock src id from the timedelta sensor desc.
unfortunately I still don't have any hardware to test this ;(
18 years ago
henning
60325542b8
if sysctl gives ENOENT the sensor is gone and we remove it
18 years ago
henning
b2a25c5f18
let sensor_query handle removals itself
18 years ago
henning
1314afba48
sensor_byid not needed any more
18 years ago
henning
18724bbfff
hotplug devid will go away in a minute, so don't use it here any longer
18 years ago
henning
494460017f
do not bother with rmeoval events, we remove sensors whoch vanished or
are not a timedelta sensor any more on query on the fly anyway
18 years ago
henning
d5fece7cde
DV_SENSORS is no more, plug workaround for the time to the real solution
18 years ago
henning
790a2f0010
make use of the new hotplug events for sensors showing up or vanishing
18 years ago
henning
54fb320578
add sensor_byid(), return sensor by its id
18 years ago
henning
d3875817fc
stop passing the config around all time, just store one copy
18 years ago
henning
66277ecc3d
factor out sensor_probe from sensor_scan so we can probe a sensors when
we know its idea without scanning all again
18 years ago
henning
1c3c1ca642
make ntpd listen on the hotplug socket and decode yadda yadda, because
new sensors showing up will be announced that way when slacking ml comes
back from food
18 years ago
henning
f687c4f193
config file bits for timedelta sensors, so one can specify which devices
to use. "sensors *" just uses all. untested due to lack of hardware.
hacked on the road somewhere between vancouver and calgary
18 years ago
henning
21382f5e23
add support for timedelta sensors, which pretty much means udcf(4) right
now. untested due to lack of hardware, and it wouldn't have worked in the
plane anyways. work in progress, currently picks up and uses all sensors
it finds, config file bits to be added soon. theo fine with this going in
18 years ago