Elecom mouse patch to recognize all the buttons

2020-05-08 Thread Sivaram Gowkanapalli
Hello, This is the corresponding linux patch to recognize all the mouse buttons https://github.com/torvalds/linux/blob/2f4c53349961c8ca480193e47da4d44fdb8335a8/drivers/hid/hid-elecom.c The same patch for OpenBSD Stable is as follows: Index: sys/dev/usb/ums.c ==

Re: ksh: Use typedef for function pointer

2020-05-08 Thread Michael Forney
On 2020-05-08, Jeremie Courreges-Anglas wrote: > Out of curiosity, do you run (o)ksh on machines where this matters? Yes, my C compiler (https://sr.ht/~mcf/cproc/) follows the standard fairly strictly. > Aside from the increased portability, the code doesn't look worse, and > fewer uses of void

Re: acpiac(4): no need to look at _STA

2020-05-08 Thread Mark Kettenis
> From: Jeremie Courreges-Anglas > Date: Fri, 08 May 2020 19:36:03 +0200 > > acpiac(4) obtains the AC status using _PSR. _STA is queried too but > nothing is done with the result. AFAICS ACPI 6.3 doesn't say anything > about a relationship between _STA and _PSR. > > Diff below removes the unus

acpiac(4): no need to look at _STA

2020-05-08 Thread Jeremie Courreges-Anglas
acpiac(4) obtains the AC status using _PSR. _STA is queried too but nothing is done with the result. AFAICS ACPI 6.3 doesn't say anything about a relationship between _STA and _PSR. Diff below removes the unused _STA query and renames the surrounding plumbing. Thoughts, oks? Index: acpiac.

Re: diff: em(4) deadlock fix

2020-05-08 Thread Jan Klemkow
On Mon, Apr 27, 2020 at 10:42:52AM +0200, Martin Pieuchot wrote: > On 21/04/20(Tue) 15:54, Jan Klemkow wrote: > > The following diff fixes a deadlock in em(4) when system runs out of > > mbuf(9)s. > > > > Tested with current on amd64 with: > > em0 at pci0 dev 25 function 0 "Intel I217-LM" rev 0x05

acpibat(4): remaining battery power with multiple batteries

2020-05-08 Thread Jeremie Courreges-Anglas
Overall remaining battery power is currently the average of the remaining power (in percents) of each battery. This is misleading if your laptop uses a large external battery which drains out first, and a smaller internal battery (common scheme on eg thinkpad machines). Overall battery power dec

6.7 snaps upgrade went fine - Intel ax200ngw not so much

2020-05-08 Thread sven falempin
I upgraded to 6.7 - beta a tftp server i use Not much to report as the device is basic but i wanted to test some wifi on it. iwx0 at pci8 dev 0 function 0 "Intel Wi-Fi 6 AX200" rev 0x1a, msix The firmware crashes at start, no config down: iwx0: dumping device error log iwx0: Start Error Log Dum

Re: diff: em(4) deadlock fix

2020-05-08 Thread Mark Kettenis
> Date: Fri, 8 May 2020 15:39:26 +0200 > From: Jan Klemkow > > On Mon, Apr 27, 2020 at 10:42:52AM +0200, Martin Pieuchot wrote: > > > > So the current logic assumes that as long as the ring contains descriptors > > em_rxrefill() failures aren't fatal and it is not necessary to schedule a > > ref

Re: nsd 4.3.1

2020-05-08 Thread Bob Beck
> On May 8, 2020, at 03:00, Stuart Henderson wrote: > > On 2020/05/08 06:58, Florian Obser wrote: >> I'm running this for about 2 weeks or so. >> Tests, OKs? > > Just off to look at a radio link in a church tower that I suspect a pigeon > may have knocked out of alignment, This is possibly

Re: ksh: Use typedef for function pointer

2020-05-08 Thread Jeremie Courreges-Anglas
On Thu, May 07 2020, Michael Forney wrote: > I originally submitted this patch as a portability fix to Brian > Callahan's oksh, but he suggested I submit it here instead. Out of curiosity, do you run (o)ksh on machines where this matters? > Conversion of function pointer to void pointer is not a

Re: ld.so and ldconfig manpage nits

2020-05-08 Thread Jeremie Courreges-Anglas
On Fri, May 08 2020, Miod Vallat wrote: > This ensures consistent spelling of set-{user,group}-ID, and also > mentions LD_DEBUG is ignored by ld.so for such binaries. Committed, thanks! -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

snmp(1) cleanup snmpd legacy

2020-05-08 Thread Martijn van Duren
Diff below removes fields from struct oid used by snmpd but not useful for snmp(1). Minus 503LoC and -200kb on installed binary. No functional change intended. OK? martijn@ Index: mib.c === RCS file: /cvs/src/usr.bin/snmp/mib.c,v re

ld.so and ldconfig manpage nits

2020-05-08 Thread Miod Vallat
This ensures consistent spelling of set-{user,group}-ID, and also mentions LD_DEBUG is ignored by ld.so for such binaries. Index: ld.so.1 === RCS file: /OpenBSD/src/libexec/ld.so/ld.so.1,v retrieving revision 1.23 diff -u -p -r1.23 ld

Re: nsd 4.3.1

2020-05-08 Thread Stuart Henderson
On 2020/05/08 06:58, Florian Obser wrote: > I'm running this for about 2 weeks or so. > Tests, OKs? Just off to look at a radio link in a church tower that I suspect a pigeon may have knocked out of alignment, I'll put this on some machines when I get back, just wanted to comment: > - I'm adding

Re: iwn/athn/wpi: fix CCMP replay check with HW crypto

2020-05-08 Thread Stefan Sperling
On Fri, May 01, 2020 at 06:05:47PM +0200, Stefan Sperling wrote: > The following diff moves the Packet Number check out of affected drivers > into ieee80211_inputm() so the check can be performed after frames have > been re-ordered. Here is a new version of this diff. I realized I made a mistake

teach bgpctl about IPv6 MPLS VPN

2020-05-08 Thread Claudio Jeker
Bgpctl has a way to specify the address family to show in 'show rib' commands. Teach it to also support IPv6 MPLS VPNs (aka VPNv6). OK? -- :wq Claudio Index: parser.c === RCS file: /cvs/src/usr.sbin/bgpctl/parser.c,v retrieving revi

ddb(4) trace '/p' vs '/t'

2020-05-08 Thread Martin Pieuchot
Diff below make all archs supporting TID filter in ddb(4)'s trace to use the same modifier. Historically the '/p' modifier was used to pick a PID, then it changed to be a TID. Now 'p' doesn't intuitively points to "thread" and because arm and arm64 already use 't', I picked this letter. If '/p'