Hi Mark,
Thanks for your reply.
On Tue, Aug 25, 2020 at 09:27:20PM +0200, Mark Kettenis wrote:
| > I've dug out my stash of weird usb devices and found another sensor (a
| > uthum(4), with only temperature support). I have a few other sensors
| > in live machines too (acpitz(4), cpu(4),
truct uthum_sof
temp += sc->sc_sensor[sensor].cal_offset * 1;
sc->sc_sensor[sensor].sensor.value = temp;
sc->sc_sensor[sensor].sensor.flags &= ~SENSOR_FINVALID;
+ microtime(>sc_sensor[sensor].sensor.tv);
On Tue, Aug 25, 2020 at 01:38:20PM -0600, Theo de Raadt wrote:
| What you are doing wasn't the purpose of the time field. It was added
| only for time sensors, and it looks like someone added it to other
| sensors. And now it must suddenly be for all of them??
Sorry - I may have introduced some
Hi Theo,
On Tue, Aug 25, 2020 at 01:33:28PM -0600, Theo de Raadt wrote:
| > I don't understand the point. None of the sensor drivers set that
| > member except the timedelta sensors. I don't think adding code to do
| > so to all sensor drivers makes sense.
|
| That is correct. Non-time
While looking at ugold.c I noticed a typo in a comment. Diff
below.
Cheers,
Paul
Index: ugold.c
===
RCS file: /home/OpenBSD/cvs/src/sys/dev/usb/ugold.c,v
retrieving revision 1.14
diff -u -p -r1.14 ugold.c
--- ugold.c 5 Oct
14, 2020 at 02:50:39PM +0200, Hiltjo Posthuma wrote:
| On Fri, Aug 14, 2020 at 01:46:57PM +0200, Paul de Weerd wrote:
| > Hi all,
| >
| > I'm trying to read temperature sensor values from my ugold(4) device.
| > Seems to work alright (I get the same temperature reading as sysc
Hi all,
While browsing sensorsd.c for inspiration for a small project I'm
working on, I noticed that both src/usr.sbin/sensorsd/sensorsd.c and
src/sbin/sysctl/sysctl.c have a 'print_sensor' function that
returns/prints the value of the given sensor, including unit.
However, sensorsd doesn't
Hi John,
I tried your diff. I don't quite see the same 3x improvement that you
report, more like 2x. I timed 7 runs of ls -R /usr/ports:
Before diff, time ls -R /usr/ports | wc -l 2.897s on average
After diff, time ls -R /usr/ports | wc -l 2.707s on average
Before diff, time ls -R
the "Optimized rasops32 putchar" patch I just posted, you
| should see another significant speedup.
|
|
| Original Message
| Subject: Re: [PATCH] fast conditional console scrolling
| From: Paul de Weerd
| Date: Fri, June 26, 2020 1:23 am
| To: jo...@armadilloaerospace.com
|
On Thu, Jul 16, 2020 at 07:40:35AM +0200, Daniel Eisele wrote:
| Also it would be nice to have a feature to update all domains of the
| config file. I currently do that in a shell script by parsing the output
| of acme-client -nv with sed and then calling acme-client multiple times.
What I have
Hi all,
I misread find(1) and did:
[weerdpom] $ find path/to/cam -name \*.JPG -exec cp {} path/to/store +
find: -exec no terminating ";" or "+"
That was somewhat surprising - there is a terminating "+". The error
really is that the "+" doesn't follow immediately after the "{}"
(which the
Hi Andreas,
On Mon, Nov 16, 2020 at 08:53:36AM +0100, Andreas Kusalananda Kähäri wrote:
| On Thu, Nov 12, 2020 at 08:51:22PM +0100, Paul de Weerd wrote:
| > Hi all,
| >
| > I misread find(1) and did:
| >
| > [weerdpom] $ find path/to/cam -name \*.JPG -exec cp {} path/to/store +
Hi Alexander,
On Sun, Nov 15, 2020 at 10:22:32PM +0100, Alexander Hall wrote:
| I googled for "POSIX find", and hit this:
|
| https://pubs.opengroup.org/onlinepubs/009695399/utilities/find.html
|
| => "Only a plus sign that follows an argument containing the two
| characters "{}" shall
On Tue, Nov 17, 2020 at 01:06:05AM +0100, Alexander Hall wrote:
| On Mon, Nov 16, 2020 at 09:04:53AM +0100, Paul de Weerd wrote:
| > Hi Alexander,
| >
| > On Sun, Nov 15, 2020 at 10:22:32PM +0100, Alexander Hall wrote:
| > | I googled for "POSIX find", and hit th
ot; should follow {}",
+ isok ? "-ok" : "-exec");
+ }
}
}
On Thu, Nov 12, 2020 at 08:51:22PM +0100, Paul de Weerd wrote:
| Hi all,
|
| I misread find(1) and did:
|
| [weerdpom] $ find path/to/cam
Hi Scott,
Thanks for this work! I see significant improvement with my test code
(see below; obviously focussing quite specificially on one thing).
Before your diff (snapshot from a few days ago; OpenBSD 6.9-current
(GENERIC.MP) #1: Mon May 3 11:04:25 MDT 2021) I got:
[weerd@pom] $ ./measure
Hi all,
I was investigating some 'unsupported date format' messages that ntpd
was logging and found that one constraint server served a time that
was quite a ways off from actual time.
Turns out that the website in question is fronted by some CDN that
caches the page, including the date:-header.
For the record: I tested this on a WordPress instance and it fixed the
problem for me. It was also visible in roundcubemail and wikimedia
(firefox and safari showed the issue, chrome on the company laptop
did not).
Thanks Florian!
Paul
On Wed, May 19, 2021 at 08:44:47PM +0200, Florian Obser
Hi Anton,
Thanks - I've applied your diff and built a kernel with it. Full
dmesg (both before and after) at the end of this mail, diff is:
-uhid2 at uhidev3 reportid 3: input=3, output=0, feature=0
+ucc0 at uhidev3 reportid 3 keys 24, mappings 7
+wskbd3 at ucc0 mux 1
-wskbd3 at ukbd2 mux 1
00 -
+++ kernel.conf.5 24 Aug 2021 07:23:07 -
@@ -0,0 +1,46 @@
+.\"$OpenBSD$
+.\"
+.\" Copyright (c) 2021 Paul de Weerd
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted,
Hi all,
On a busy-ish site, I found that slowcgi is doing quite excessive
logging: every single environment variable is logged on a separate
logline. There's at least 17 variables per hit, but I've seen it go
up to 35. If you're writing debug logs from syslog, that adds up
rather quickly. Of
t the existance of this mechanism
| in the config(8) and boot_config(8) manual pages, a better name will
| sneak up on us.
|
| Paul de Weerd wrote:
|
| > Hi Theo,
| >
| > That's a good point, but I have no better alternative. kernel.conf
| > was the best I could come up with, as it is a configur
1970 00:00:00 -
+++ libexec/reorder_kernel/kernel.conf.524 Aug 2021 07:23:07 -
@@ -0,0 +1,46 @@
+.\"$OpenBSD$
+.\"
+.\" Copyright (c) 2021 Paul de Weerd
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" p
scoverable.
|
| Paul de Weerd wrote:
|
| > Got some more positive feedback off-list, which reminded me that
| > there's a small piece missing:
| >
| > Index: changelist
| > ===
| > RCS file: /home/Open
Robert, Sebastien and Stuart,
Thanks for your constructive and postive feedback. Combined with some
off-list (positive) feedback, it suggests this is at least worth
further consideration.
On Tue, Aug 24, 2021 at 08:05:37PM +0200, Robert Nagy wrote:
| I am happy to see this. All for it. Did you
1970 00:00:00 -
+++ libexec/reorder_kernel/bsd.re-config.5 7 Sep 2021 16:16:28 -
@@ -0,0 +1,46 @@
+.\"$OpenBSD$
+.\"
+.\" Copyright (c) 2021 Paul de Weerd
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose
On Tue, Sep 07, 2021 at 07:57:55PM +0200, Robert Nagy wrote:
| On 07/09/21 19:31 +0200, Paul de Weerd wrote:
| > Hi all,
| >
| > On Tue, Sep 07, 2021 at 02:30:43PM +0200, Robert Nagy wrote:
| > | /etc/reorder_kernel.conf
| >
| > Thank you for your suggest Robert! In the m
Hi,
Why do you set your NSD as a forwarder? How is unbound supposed to
know what queires should go to your NSD versus the rest of the
internet?
Otto's answer is a good solution, but I wanted to share mine:
If you have your NSD setup running to only serve those
'router.home.arpa' records and
On Tue, Sep 28, 2021 at 12:25:30PM +0200, Paul de Weerd wrote:
| Otto's answer is a good solution, but I wanted to share mine:
Read Otto's answer too fast - he's basically talking about the same
solution I think.
Unbound has another alternative where you configure it to serve
specific records
A recent commit by Theo changed the hw.perfpolicy behavior to always
run at full speed when AC power is on. This means that my workstation
(and servers, once I upgrade them) now consumes significantly more
power, even though they usually idle.
[weerd@pom] $ sysctl
On Tue, Nov 02, 2021 at 12:30:56PM -0600, Theo de Raadt wrote:
| Paul de Weerd wrote:
|
| > A recent commit by Theo changed the hw.perfpolicy behavior to always
| > run at full speed when AC power is on. This means that my workstation
| > (and servers, once I upgrade them) now
On Thu, Jul 14, 2022 at 08:20:41AM +0200, Florian Obser wrote:
| On 2022-07-12 14:35 +02, Florian Obser wrote:
| > When the autoconf flag flaps around we might end up with multiple bpf
| > FDs in flight. Things then get confusing. The kernel tells us we can
| > read from the bpf FD but the data
On Wed, Jan 04, 2023 at 05:42:31PM -0300, Crystal Kolipe wrote:
| Hopefully it'll fix the problem.
Tested with tmux, the spurious ^@'s are now indeed gone. I see
there's a new diff available, so I'll try that out in a bit.
Paul
--
>[<++>-]<+++.>+++[<-->-]<.>+++[<+
Hi Crystal,
I tried your patch on my laptop. With it applied, and my TERM set to
'xterm', I do get colors in mutt and tmux. The latter, however, shows
'^@^@' before the PS1 prompt upon starting a new session (`tmux new`),
behavior I don't see with a 'real' xterm.
I like the idea, thanks for
On Wed, Jan 04, 2023 at 02:33:57PM -0300, Crystal Kolipe wrote:
| On Wed, Jan 04, 2023 at 04:42:55PM +0100, Paul de Weerd wrote:
| > Hi Crystal,
| >
| > I tried your patch on my laptop. With it applied, and my TERM set to
| > 'xterm', I do get colors in mutt and tmux.
|
| Gr
Hi Mark,
On Thu, Mar 09, 2023 at 05:23:55PM +0100, Mark Kettenis wrote:
| > Date: Thu, 09 Mar 2023 14:48:25 +0100
| > From: Mark Kettenis
| >
| > The diff below fixes an issue with the way we attach "APCI devices".
| > As with all ACPI diffs, this may potentially introduce regressions, so
| >
I put a Kingston KC3000 NVME SSD[1] in my new machine. This diff
recognizes that device:
Index: pcidevs
===
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.2026
diff -u -p -r1.2026 pcidevs
--- pcidevs 19 Mar 2023
My new motherboard has a 10GB/s interface that doesn't work with
-current. It's this thing:
--- pcidump -v 7:0:0 -
7:0:0: Aquantia unknown
0x: Vendor ID: 1d6a, Product ID: 94c0
0x0004: Command: 0006, Status: 0010
While debugging some NTP weirdness, I noticed an outlier amongst the
constraints (all except one had an offset less than 1s, the one
outlier was over 7 hours off). Unfortunately, I couldn't tell which
constraint had the outlier, because the IP's rDNS didn't correspond
to one of the constraints
ping
Is this worth it? Rebased diff at the bottom for convenience
On Sun, Mar 19, 2023 at 05:12:18PM +0100, Paul de Weerd wrote:
| I put a Kingston KC3000 NVME SSD[1] in my new machine. This diff
| recognizes that device:
|
| Index: pcidevs
On Tue, Feb 07, 2023 at 01:09:25AM +0100, Christian Weisgerber wrote:
| Jan Klemkow:
|
| > > igc(4) has very similar code, but I don't have access to a machine
| > > with that hardware.
| >
| > Send me an ssh-key and I give you access to this machine:
|
| Alternatively, here's the diff, so
Hi Kevin,
This seems to work fine on my machine. The ure0 is built into my
monitor:
ure0 at uhub9 port 3 configuration 1 interface 0 "Realtek USB 10/100/1000 LAN"
rev 3.20/33.00 addr 4
ure0: RTL8153D (0x7420), address c8:4b:d6:af:a7:8d
I can get both v4 and v6 addresses over this interface
Having never heard of posix_spawn(3), I read the full manpage and
(besides wondering "what's the point"), found that it's misspelled Ed
Schouten's name:
Index: posix_spawn.3
===
RCS file: /cvs/src/lib/libc/gen/posix_spawn.3,v
On Sat, May 20, 2023 at 05:33:11PM +0200, Florian Obser wrote:
| In case this turns out to be useful for unlocking work in the kernel.
|
| It's a minimum diff, if we want to go this way we probably want to move
| init_soiikey() to the engine process and stop bouncing through the main
| process
101 - 144 of 144 matches
Mail list logo