ucc(4): enumerate all usages

2021-08-24 Thread Anton Lindqvist
Hi, As the Consumer Control usages are well defined by the HID Usage Tables specification ucc might as well enumerate all of them. Finding an appropriate scan code recognized by X11 for each usage is more tricky. I've added a few more but the majority are still unmapped. Linux has defined a couple

Re: ucc(4): consumer control keyboard device driver

2021-08-24 Thread Anton Lindqvist
Hi, On Fri, Aug 20, 2021 at 10:48:28PM -0700, David Rinehart wrote: > I use usbhidaction, a little differently: > > - OBSD media server in office, connected to speakers > > - Custom microservice on media server, to control volume > > - When I am docked at startup (detected in .xsession), config

Atomic signal flags for vi(1)

2021-08-24 Thread trondd
"Theo de Raadt" wrote: > +h_alrm(int signo) > +{ > + GLOBAL_CLP; > + > + F_SET(clp, CL_SIGALRM); > > F_SET is |=, which is not atomic. > > This is unsafe. Safe signal handlers need to make single stores to > atomic-sized variables, which tend to be int-sized, easier to declare > as

Re: allow KARL with config(8)'d kernels

2021-08-24 Thread Robert Nagy
I am happy to see this. All for it. Did you check all the error cases to make sure that reorder_kernel will report what needs to be reported? On 24/08/21 13:53 +0200, Paul de Weerd wrote: > I have a new machine where I'd like to use IPMI. Of course, doing > `config -e -f /bsd` will break KARL, so

Re: autoupgrade dhcp autoconf race

2021-08-24 Thread Florian Obser
Reads good. OK florian On 24 August 2021 19:41:06 CEST, Alexander Bluhm wrote: >Hi, > >For some weeks my automatic regress tests are not started reliably. >When the auto upgrader tries to fetch the sets, sometimes ftp does >not find any. The em0 interface is down and has no address. > >get_resp

autoupgrade dhcp autoconf race

2021-08-24 Thread Alexander Bluhm
Hi, For some weeks my automatic regress tests are not started reliably. When the auto upgrader tries to fetch the sets, sometimes ftp does not find any. The em0 interface is down and has no address. get_responsefile() starts dhcpleased and sets "ifconfig inet autoconf". After retrieving the res

allow KARL with config(8)'d kernels

2021-08-24 Thread Paul de Weerd
I have a new machine where I'd like to use IPMI. Of course, doing `config -e -f /bsd` will break KARL, so I tried to find a minimal way of supporting this. Done by introducing a new config file, /etc/kernel.conf, which gets applied to the kernel reorder_kernel builds and installs. Paul 'WEiRD' d

Re: acme-client(1): Fix misleading comment

2021-08-24 Thread Sebastian Benoit
commited, thanks Emil Engler(m...@emilengler.com) on 2021.08.24 08:52:57 +0200: > While auditing acme-client(1) I have noticed that the source code still > makes references to curl. > > Apparently acme-client(1) used curl for HTTP transfers up until this > commit: > https://github.com/kristapsdz/

Re: handle RTM_IFANNOUNCE in dhcpleased & slaacd

2021-08-24 Thread Sebastian Benoit
Florian Obser(flor...@openbsd.org) on 2021.08.23 20:30:07 +0200: > So I was playing with a usb network adapter and noticed that dhcpleased > and slaacd would hold on to them when I unplugged them. don't do that :P > They would be listed as "unknown" because we can't find the if_name for > the if_

Re: resolv.conf(5): remove "either file" wording

2021-08-24 Thread Florian Obser
Committed, thanks! On 2021-08-23 22:39 -04, Scott Bennett wrote: > In rev 1.61, references to resolv.conf.tail were removed, so it appears that > this page is now meant to solely document resolv.conf, a single file. So that > makes this sentence make not-so-much sense: > > The configuration