Re: azalia: use HDMI as second fallback

2023-10-29 Thread Peter Hessler
Yes please! On 2023 Oct 29 (Sun) at 14:55:09 +0100 (+0100), Christopher Zimmermann wrote: :Hi, : :for me azalia HDMI audio playback works fine. According to [1] it had or :still has problems. For machines where the default audio should not be :(possibly broken) rsnd/0, but rsnd/1 this can be conf

Re: relayd.conf.5: less SSL

2023-10-24 Thread Peter N. M. Hansteen
t message. And I think undeadly.org would be more than happy to help spread the word :) - Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/ "Remember to set the evil bit on all malicio

Re: Some bwfm(4) diffs

2023-10-11 Thread Peter J. Philipp
On Tue, Oct 10, 2023 at 06:25:44AM +0200, Peter J. Philipp wrote: > > > Thanks, I actually have one of these myself. So I'm going to > > > investigate (and probably drop one of the diffs). > > > > I don't see any problems on my machine. Firmware

Re: Some bwfm(4) diffs

2023-10-09 Thread Peter J. Philipp
On Mon, Oct 09, 2023 at 10:07:36PM +0200, Mark Kettenis wrote: > > Date: Mon, 09 Oct 2023 20:31:04 +0200 > > From: Mark Kettenis > > > > > Date: Mon, 9 Oct 2023 06:09:57 +0200 > > > From: "Peter J. Philipp" > > > > > &g

Re: Some bwfm(4) diffs

2023-10-08 Thread Peter J. Philipp
0 rgephy0 at axen0 phy 3: RTL8169S/8110S/8211 PHY, rev. 5 umass0 at uhub0 port 14 configuration 1 interface 0 "Apple Card Reader" rev 3.00/8.20 addr 5 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: removable serial.05ac840608

Re: FWD: FWD: Re: Setting personal mailserver

2023-09-08 Thread Peter N. M. Hansteen
r than the standard ones. To put it bluntly, what you need is not a new smtpd feature. What you need is for you to take the advice given on the opensmptd mailing list: Read the literature others have pointed you at, and please consider one or more of the alternative approaches that have been

Re: Replace selwakeup() with knote(9) in wscons(4) and make filterops mpsafe

2023-09-07 Thread Peter Hessler
On 2023 Jul 11 (Tue) at 16:40:32 +0300 (+0300), Vitaliy Makkoveev wrote: :Use per 'wseventvar' structure `mtx' mutex(9) to protect `put' and `get' :circular buffer indexes together with klist data. Not a big deal, but :Xorg will not kernel lock while polling keyboard and mouse events. Also :removed

Re: riscv64 possible alignment issue?

2023-09-06 Thread Peter J. Philipp
On Tue, Sep 05, 2023 at 11:40:42PM +0200, Peter J. Philipp wrote: > Hi, > > I'm porting OpenBSD to the Mango Pi D1. Most of the work is done but now > is the time to try to get a RAMDISK kernel to boot. > > I'm having an issue with atomic_store_64() as shown he

riscv64 possible alignment issue?

2023-09-05 Thread Peter J. Philipp
n, hence the hang. If you have another idea why I get these let me know, I'm going to bed now and won't be up until 6AM or later tomorrow. I'm letting my kernel compile on the slow QEMU host overnight. Best Regards, -peter -- Over thirty years experience on Unix-like Operating Systems starting with QNX.

Re: vmd/vmm: remove an ioctl from the vcpu hotpath, go brrr

2023-09-02 Thread Peter Hessler
I just upgraded to -current and didn't have this patch in for a little bit, and woof that was super noticable. Still works for my big VM host. OK On 2023 Sep 01 (Fri) at 15:50:31 -0400 (-0400), Dave Voutila wrote: :Now that my i8259 fix is in, it's safe to expand the testing pool for :this diff

Re: iwx background scan fix

2023-08-30 Thread Peter Stuge
Stefan Sperling wrote: > "Active scan" means the device will send probe requests containing a > desired SSID, soliciting immediate probe responses from APs which > announce the desired SSID. Does this broadcast many known SSIDs or only a single desired one? //Peter

Re: ping.c modifications proof of concept

2023-08-24 Thread Peter J. Philipp
Ok Aisha, thanks. Well if there is want for this you guys have a skeleton anyhow to work with. Good day! :-) -peter -- Over thirty years experience on Unix-like Operating Systems starting with QNX.

ping.c modifications proof of concept

2023-08-24 Thread Peter J. Philipp
Hi, I have modified ping(8) to grab a raw descriptor from a daemon over AF_UNIX sockets. This seems to work. While what I call the sun daemon needs to be tightened a lot more it should work to make people understand my concept. benefits: we lose inet pledge we lose the setuid to root bit root c

Re: __predict_{true,false} is this right?

2023-08-22 Thread Peter J. Philipp
On Tue, Aug 22, 2023 at 02:33:39PM +0200, Peter J. Philipp wrote: > Hi, > > I have an outstanding bug report that I send to deraadt and claudio, in > reading the code I came across these macros: > > https://github.com/openbsd/src/blame/master/sys/sys/cdefs.h > > li

__predict_{true,false} is this right?

2023-08-22 Thread Peter J. Philipp
more unique? As in not the same? Best Regards, -peter -- Over thirty years experience on Unix-like Operating Systems starting with QNX.

Re: Diff for evaluation (WACOM tablet driver)

2023-08-12 Thread Peter J. Philipp
0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: removable serial.05ac84060820 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (eedf440b3bc0434b.a) swap on sd0b dump on sd0b inteldrm0: 2560x1600, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) bwfm0: address a0:99:9b:02:c4:e5 Best Regards, -peter

Re: Diff for evaluation (WACOM tablet driver)

2023-08-12 Thread Peter J. Philipp
$0x0,0(%rip)# 18a 18a: 4c 8b 75 98 mov0xff98(%rbp),%r14 18e: 74 3d je 1cd 190: 4d 85 f6test %r14,%r14 Best Regards, -peter

Re: Diff for evaluation (WACOM tablet driver)

2023-08-12 Thread Peter J. Philipp
ith the patch and usbdevs -v output. Let me know if there is any new patches I can test. As you can see it doesn't even attach like it should (from the dmesg). Best Regards, -peter rebooting... OpenBSD 7.3-current (GENERIC.MP) #1: Sat Aug 12 12:34:12 CEST 2023 p...@spica.delphinusd

Re: buffer overprint in riscv64/cpu.c

2023-08-04 Thread Peter J. Philipp
p = end; + } else + break; + } + } else + *p = '\0'; + } + printf(" %s", isa); strlcpy(cpu_model, isa, sizeof(cpu_model)); + + printf(" %s", szx_ext); + } printf("\n"); Best Regards, -peter

Re: sigcontext in signal.h

2023-08-03 Thread Peter J. Philipp
e help from my (by now pre-pandemic era books) written by David Patterson which cover riscv in some detail. Otherwise I just looked at the https://en.wikipedia.org/wiki/RISC-V near Register sets which seems to be an excellent reference. Best Regards, -peter -- Over thirty years experience on Unix-like Operating Systems starting with QNX.

Re: add extract example to tar(1) man page

2023-08-03 Thread Peter J. Philipp
On Thu, Aug 03, 2023 at 08:29:31AM +0200, Peter J. Philipp wrote: > On Thu, Aug 03, 2023 at 07:23:45AM +0100, Jason McIntyre wrote: > > On Wed, Aug 02, 2023 at 05:52:02PM -0400, aisha wrote: > > > Hi, > > > Someone - https://www.youtube.com/watch?v=NQ5uD5x8vzg - me

Re: add extract example to tar(1) man page

2023-08-02 Thread Peter J. Philipp
; options > that are so common in the same order? I wouldn't restore a .tgz without the -p flag. Particularily on backups. Perhaps the OP forgot to add it. Best Regards, -peter > then the second example is probably more helpful as "Create a gzip(1) > compressed archive blah

Re: VisionFive 2

2023-08-01 Thread Peter J. Philipp
Basically you would convert the .dtb to a .dts, edit it and convert the .dts back to .dtb. I hope that answers one question. Best Regards, -peter > Do you plan to update them ? > > They seem to be quite different to the "official" starfive releases (which > don&#

Re: Make USB WiFi drivers more robust

2023-07-25 Thread Peter Stuge
ke a good idea while suspending - but again I don't see xhci.c halting the HC nor doing anything else for suspend. @kettenis Since ehci_activate() handles DVACT_SUSPEND is it possible to use only the EHCI driver on your machine for comparison? //Peter

Re: request_sleep: new machine independent sleep api

2023-07-08 Thread Peter Hessler
On 2023 Jul 08 (Sat) at 13:09:00 +0300 (+0300), Tobias Heider wrote: : : :On July 8, 2023 11:36:21 AM GMT+03:00, Mark Kettenis wrote: :>> Date: Sat, 8 Jul 2023 10:10:51 +0200 :>> From: Tobias Heider :>> :>> This diff adds request_sleep(), a MI way of sending the machine to sleep in a :>> safe

Re: lo(4) checksum offload

2023-06-01 Thread Peter Stuge
rner cases? Please test with pf > > route-to, IPsec, bridging, IPv6 and other setups where loopback > > might be involved. > > who knows how bridge works? otherwise i think it should be ok. > hopefully. Would a middle ground be safer? To only calculate checksum on output? //Peter

Re: ix hardware tso

2023-05-18 Thread Peter Stuge
Alexander Bluhm wrote: > we cannot do hardware TSO in a bridge. Maybe we could if all > bridge members support it. Just a note that I've discussed another "if all bridge members" case with dlg; switch drivers eventually knowing to do bridge offloading. //Peter

Re: ix hardware tso

2023-05-15 Thread Peter Stuge
vercomplicate it with deprecation message. Perfect - thanks! I just found the removal in Jan's patch. //Peter

Re: ix hardware tso

2023-05-15 Thread Peter Stuge
Alexander Bluhm wrote: > Do not set ifconfig ix tso, this flag does not work correctly. Are there plans for that flag? Remove it? Use it? Only document as deprecated? Also print a deprecation message if used? Thanks //Peter

Re: ifconfig: SIOCSIFFLAGS: device not configured

2023-05-12 Thread Peter Hessler
On 2023 May 12 (Fri) at 16:21:10 +0200 (+0200), Jan Klemkow wrote: :On Thu, May 11, 2023 at 09:17:37PM +0200, Hrvoje Popovski wrote: :> ifconfig: SIOCSTRUNKPORT: Device busy :> ifconfig: SIOCSTRUNKPORT: Device busy :> :> to change :> ifconfig ix0: SIOCSTRUNKPORT: Device busy :> ifconfig ix1: SIOCS

Re: cron: better error checking of random values

2023-05-05 Thread Peter Hessler
:discovering it didn't work like that, I've been carrying a simple patch :that allows kn's syntax: : : ~/15 random 15 minute intervals in [0, 59] : 1~9/10 random 10 minute intervals in [1,59] : ... but I really like this syntax and behaviour. I haven

Re: ahci at fdt where the firmware doesnt help

2023-04-06 Thread Peter Stuge
gt; sd0: 95396MB, 512 bytes/sector, 195371568 sectors, thin > > ok? FWIW I'm a big proponent of /not/ depending on what some bootloader may or may not get right so I'd like this to be accepted. //Peter

Re: omit ksh MAIL* bits in SMALL builds

2023-02-09 Thread Peter Stuge
Klemens Nanni wrote: > Anyone checking their mailboxes in the installer's interactive shell? The installer creates some mails, right? Do they only ever go into a newly installed system, never into a mailbox within the installer? //Peter

Re: patch for httpd implementing clickjacking protection

2023-02-07 Thread Peter J. Philipp
On Tue, Feb 07, 2023 at 10:41:34AM +, Stuart Henderson wrote: > On 2023/02/07 10:20, Peter J. Philipp wrote: > > Hi, > > > > Arslan Kabeer (on the Internet) made me aware of clickjacking being done on > > my site using OpenBSD httpd. This following patch implement

patch for httpd implementing clickjacking protection

2023-02-07 Thread Peter J. Philipp
2 openhttpd. Best Regards, -peter Index: httpd.h === RCS file: /cvs/src/usr.sbin/httpd/httpd.h,v retrieving revision 1.161 diff -u -p -u -r1.161 httpd.h --- httpd.h 15 Aug 2022 12:29:17 - 1.161 +++ httpd.h 7 Feb 202

Re: Fix level-triggered ACPI GPIO interrupts on amd64

2023-01-05 Thread Peter Hessler
This was committed on Oct 20, and was shipped in OpenBSD 7.2. On 2023 Jan 05 (Thu) at 14:15:26 +0100 (+0100), Matthias Schmidt wrote: :Hi, : :did anyone else on the list had the chance to test this patch? It :really improved the touchpad hangs here. : :Cheers : : Matthias : :* Mark Ketteni

Re: ESRT support for the amd64 bootloader

2023-01-02 Thread Peter Stuge
lar firmware interface and thus the only choice sometimes, just please do not indulge here. Thanks and kind regards //Peter

Re: define arm system register names

2022-12-29 Thread Peter J. Philipp
e. Some had to be cut short in order to stay on a 80 character line, for neatness. It's not some help call attempt in steganography or anything *laugh*. Feel free to take it or leave it. Best Regards, -peter

define arm system register names

2022-12-29 Thread Peter J. Philipp
against a patched 7.2 system, please. If you would like to ask me a question regarding this patch reply to me directly as I'm not on the tech@ list. -peter Index: armreg.h === RCS file: /cvs/src/sys/arch/arm64/include/armre

Re: Questions about the code review process in OpenBSD

2022-11-07 Thread Peter Nicolai Mathias Hansteen
rity issues under embargo. But in the general case, yes, review via tech@ is required, commits without OKs will have a high risk of being reverted. I would suggest that if your colleagues need information on project goals and methods, https://www.openbsd.org/goals.html would be a useful place

match driver rkanxdp(4) with netbsd further...

2022-04-16 Thread Peter J. Philipp
gt;sc_encoder.possible_crtcs = 0x3; /* XXX */ + sc->sc_encoder.possible_crtcs = 0x2; /* VOPB only */ drm_encoder_init(crtc->dev, &sc->sc_encoder, &rkanxdp_encoder_funcs, DRM_MODE_ENCODER_TMDS, NULL); drm_encoder_helper_add(&sc->sc_encoder, &rkanxdp_encoder_helper_funcs); Best Regards, -peter

Re: [patch] CPU frequency scheduler change proposal

2022-03-20 Thread Peter Hessler
On 2022 Mar 20 (Sun) at 18:13:20 + (+), Stuart Henderson wrote: :On 2022/03/20 18:13, Solene Rapenne wrote: :> I'm proposing a very simple change to the automatic policy of the CPU :> frequency scheduler. :> :> Currently, every 100ms the scheduler is doing this: :> :> - when the CPU load

Re: initial iwx(4) 11ac patch for testing

2022-03-10 Thread Peter Hessler
On 2022 Mar 10 (Thu) at 12:35:20 +0100 (+0100), Stefan Sperling wrote: :On Thu, Mar 10, 2022 at 12:25:17PM +0100, Stefan Sperling wrote: :> Unless anyone else finds a problem, this patch can be considered ready :> for review and commit. : :Of course, I forgot to apply my sysassert fix to the second

Re: vport: set UP on ip assign

2021-11-15 Thread Peter Hessler
On 2021 Nov 15 (Mon) at 13:58:08 +0100 (+0100), Claudio Jeker wrote: :On Mon, Nov 15, 2021 at 12:23:02PM +, Klemens Nanni wrote: ... :Sure people got used to this mode. I agree with dlg@ that the way that :this auto interface up happens is rather horrible from a network stack :view. Also it mak

Re: DANE in libressl?

2021-08-29 Thread Peter J. Philipp
ere is doing this already right? Best Regards, -peter > Peter J. Philipp wrote: > > > Hi, > > > > I was wondering if anyone has wanted to implement DANE functions into > > OpenBSD? > > And LibreSSL perhaps? I want this for syslogd with TLS, but not sure if

DANE in libressl?

2021-08-29 Thread Peter J. Philipp
NSSEC. Best Regards, -peter

Re: iwx not getting to status: active

2021-07-05 Thread Peter Nicolai Mathias Hansteen
ctional as evidenced by the assorted android and > chromeos devices connecting to it. I once encountered a hotel wifi which only let my OpenBSD laptop connect and have a properly working connection after I reduced the MTU 700-ish bytes. That may or may not be related to the problem you are seein

Re: list hyperv features in dmesg

2021-06-14 Thread Peter J. Philipp
RINTF() into the print_hv_features() function. Also interesting is that hyperv0 features3 are showing "DEBUG", I wonder if it's just my machine with this patch, and if I can turn that off somehow to gain speed. Best Regards, -peter Index: hyperv.c =

list hyperv features in dmesg

2021-06-14 Thread Peter J. Philipp
,SYNIC,SYNTIMER,APIC ,HYPERCALL,VP_INDEX,GUEST_IDLE hyperv0: pm features 0x2 hyperv0: features3 0xbed7b2 ,XMM_HYPERCALL3,GUEST_IDLE3,NUMA3,TIME_FREQ3 hyperv0: heartbeat, kvp, shutdown, timesync hvs0 at hyperv0 channel 2: ide, protocol 6.2 Below is patch, what do you think? Is it worthy

Re: uwacom: reduce tip pressure for click activation

2021-06-03 Thread Peter J. Philipp
On Thu, Jun 03, 2021 at 09:23:16PM +0200, Stefan Hagen wrote: > Peter J. Philipp wrote: > > On Thu, Jun 03, 2021 at 08:06:06PM +0200, Stefan Hagen wrote: > >> Which one? > > > > It didn't say in the dmesg if I recall correctly, luckily I found the > > packa

Re: uwacom: reduce tip pressure for click activation

2021-06-03 Thread Peter J. Philipp
On Thu, Jun 03, 2021 at 08:06:06PM +0200, Stefan Hagen wrote: > Peter J. Philipp wrote: > > > I have a Wacom Intuos. > > Which one? It didn't say in the dmesg if I recall correctly, luckily I found the packaging. CTL-490 DW-S. > > I found that I could not write

Re: uwacom: reduce tip pressure for click activation

2021-06-03 Thread Peter J. Philipp
> because pressure reporting could be jittering. > > I've set it to >0 for testing and I couldn't be happier. I tested it > with two pens and didn't experience any false-activation. > > Would this patch okay with you? > > uwacom author

audio devices for armv7

2021-05-24 Thread Peter Hessler
After the recent uaudio dma fixes, I tried out audio playing on my armv7 system. Tested on the built-in audio port on hw.product=Tinker-RK3288, sounds fine. OK? (N.B. 'twrget' is not a typo, even if it looks like one) Index: etc/etc.armv7/MAKEDEV.md

Re: macppc bsd.mp pmap's hash lock

2021-05-19 Thread Peter J. Philipp
4/openbsd , without affecting what I have for my macppc64 personal effort to bring this hardware to 64-bit OS. Best Regards, -peter > I add a 2nd membar_enter() to __ppc_lock() to avoid my 1st "potential > problem". I also simplify the code by changing __ppc_lock_spin to > check the

Re: httpd with rdomain

2021-05-17 Thread Peter J. Philipp
a simple search for someone having done a patch like this, and there was no hits. So the next person at least finds this and knows. :-) And if in future you guys change your mind you at least know one way of how it was handled by someone. Thanks Claudio. Cheers! -peter

httpd with rdomain

2021-05-17 Thread Peter J. Philipp
h a difficult config. And I advise any committer to test this fully before trusting my code. For me it's better than using route and starting httpd twice, though. Patch after my signature. Best Regards, -peter Index: httpd.c === RC

Re: iwm(4) A-MSDU support

2021-03-30 Thread Peter Hessler
On 2021 Mar 30 (Tue) at 20:22:09 +0200 (+0200), Stefan Sperling wrote: :On Tue, Mar 30, 2021 at 07:36:28PM +0200, Peter Hessler wrote: :> Been running this for about 24 hours on my x395, seems to be good. :> :> Had only one stuck wifi when first trying it, but I was also stuck on a

Re: iwm(4) A-MSDU support

2021-03-30 Thread Peter Hessler
On 2021 Mar 29 (Mon) at 19:27:15 +0200 (+0200), Stefan Sperling wrote: :This patch attempts to add support for receiving A-MSDUs to iwm(4). :If you are using iwm(4) then please run with this patch and let me :know if it causes regressions. Thanks! : :ACHTUNG: This patch breaks iwx(4)! Don't use it

explicit_bzero csalt

2021-01-21 Thread Peter J. Philipp
ity_bzero csalt? I haven't tested this patch before I get someone to judge whether it's right or wrong? Patch follows after my sig, Best Regards, -peter Index: bcrypt.c === RCS file: /cvs/src/lib/libc/crypt/bcrypt.c,v retri

Re: slimblade support

2021-01-09 Thread Peter Hessler
On 2021 Jan 09 (Sat) at 07:00:29 -0700 (-0700), Thomas Frohwein wrote: :On Sat, Nov 21, 2020 at 08:10:03AM +0200, Timo Myyrä wrote: :> Hi, :> :> The last attempt at adding Kensington Slimblade trackball support seems :> to have stalled: :> https://marc.info/?l=openbsd-tech&m=147444999319756&w=2 :>

Re: acme-client(1): backup certs

2021-01-02 Thread Peter J. Philipp
27;s low in that case, I think. That is not always wanted. Luckily you have the choice to use the DNS vs. the HTTP method. I think it's good you went into a deep thought about this, as it makes everyone think how to refine the process of getting let's encrypt certs. > Chris Bennett Best Regards, -peter

Re: net80211: fix announced RSN (WPA2) capabilities

2020-12-07 Thread Peter Hessler
Looks good, no regression for my AP at home. OK On 2020 Dec 07 (Mon) at 22:55:29 +0100 (+0100), Stefan Sperling wrote: :When announcing RSN (WPA2) capabilities in management frames such as :association requests, we currently echo back all RSN (i.e. WPA2) :capabilities which were announced by our

Re: net80211: Use a BA agreement for rx immediately

2020-12-07 Thread Peter Hessler
On 2020 Dec 07 (Mon) at 16:41:33 +0100 (+0100), Stefan Sperling wrote: :On Mon, Dec 07, 2020 at 03:49:20PM +0100, Tobias Heider wrote: :> On Mon, Dec 07, 2020 at 02:33:10PM +0100, Stefan Sperling wrote: :> > On Mon, Dec 07, 2020 at 01:31:09PM +0100, Tobias Heider wrote: :> > > Some APs request a BA

Re: iwm(4): decoding of multiple MPDUs in one receive packet

2020-12-07 Thread Peter Hessler
OK On 2020 Dec 07 (Mon) at 10:28:59 +0100 (+0100), Tobias Heider wrote: :Hi, : :In iwm_rx_pkt() the calculation of "remain" seems to be wrong if :there are three or more MPDUs in one packet. :"remain" is initialized with the output buffer size. :Each time an MPDU is found in the packet remain is r

Re: net80211: Better gapwait accounting

2020-12-07 Thread Peter Hessler
On 2020 Dec 07 (Mon) at 15:02:14 +0100 (+0100), Stefan Sperling wrote: :On Mon, Dec 07, 2020 at 02:36:05PM +0100, Tobias Heider wrote: :> Hi, :> :> our net80211 gapwait accounting implementation seems to have several :> problems: :> - If we lose packets with serial numbers 0 und 2 but receive the

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-18 Thread Peter J. Philipp
Sorry I apologize, I had my kern.audio.record set to 0. It works for me. *red faced* -peter On Wed, Nov 18, 2020 at 04:12:25PM +0100, Peter J. Philipp wrote: > On Wed, Nov 18, 2020 at 11:00:17AM +0100, Alexandre Ratchov wrote: > > Thanks; semarie suggested a similar diff, so be

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-18 Thread Peter J. Philipp
My box saw a reboot though. :-( I used AUDIOPLAYDEVICE=snd/0 AUDIORECDEVICE=snd/1 audacity also AUDIODEVICE=snd/0 AUDIORECDEVICE=snd/1 audacity I'm looking over the code a little, but I can't guarantee I'll fin

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Peter J. Philipp
On Tue, Nov 17, 2020 at 05:09:28PM +, Stuart Henderson wrote: > On 2020/11/17 17:13, Peter J. Philipp wrote: > > Hi, > > > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > > settings with audacity port but couldn't get this to wo

AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Peter J. Philipp
Hi, I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different settings with audacity port but couldn't get this to work, so I chose the method of last resort. Below is a patch to allow an AUDIORECDEVICE environment variable specifying the wanted microphone. -peter

Re: Call uvm_grow() on armv7

2020-09-25 Thread Peter Hessler
On 2020 Sep 25 (Fri) at 14:51:01 +0200 (+0200), Mark Kettenis wrote: :> Date: Fri, 25 Sep 2020 14:38:23 +0200 :> From: Peter Hessler :> :> After Mark noticed that arm64 didn't have it, I checked armv7 and it :> also doesn't have it. :> :> Successfully test

Call uvm_grow() on armv7

2020-09-25 Thread Peter Hessler
After Mark noticed that arm64 didn't have it, I checked armv7 and it also doesn't have it. Successfully tested on a Tinker-RK3288 OK? Index: sys/arch/arm/arm/fault.c === RCS file: /home/cvs/openbsd/src/sys/arch/arm/arm/fault.c,v re

Re: unwind(8): forget learned forwarders when interface disappears

2020-09-12 Thread Peter Pentchev
^ > > > > I'd rather not, style(9): > Indentation is an 8 character tab. Second level indents are four > spaces. > > Also, my editor would fix it up the next time I touch those lines. Er... so what's the difference with the second line, two li

Re: ssh(1), getrrsetbyname(3), SSHFP and DNSSEC

2020-07-29 Thread Peter J. Philipp
ecause maintaining patches that don't come with OpenBSD get discarded and overrun eventually I can only point to the patch I sent about a month ago to tech@ that brings Gerhard Roth's patch up to the times (but I broke it in some way, so it would need to be fixed up a little). I would really like to see this functionality in OpenBSD for modifying this little setup above, *pretty please?* :) Thanks guys for the great work and interesting discussion! -peter

Re: ssh(1), getrrsetbyname(3), SSHFP and DNSSEC

2020-07-17 Thread Peter J. Philipp
hout also requesting DNSSEC data via the DO bit. I just wanted to add this as a thought supporting your patch. Best Regards, -peter

DNS options for sppp(4)

2020-07-06 Thread Peter J. Philipp
won't do anymore work on this subject. Patch after my signature: Best Regards, -peter Index: ifconfig.c === RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v retrieving revision 1.421 diff -u -p -u -r1.421 ifconfig.c --- ifconf

Re: powerpc: mplock & WITNESS

2020-04-09 Thread Peter J. Philipp
> sets r31 = stack pointer r1, so it always needs a stack frame to save > the caller's r31), but gcc and newer clang might. I don't know how > __builtin_frame_address(0) works if the stack frame is gone. Oh then __inline perhaps wouldn't work? > --George > Great debug George! Thanks! Best Regards, -peter

Re: powerpc: mplock & WITNESS

2020-04-09 Thread Peter J. Philipp
On Thu, Apr 09, 2020 at 01:08:12PM +0200, Martin Pieuchot wrote: > On 09/04/20(Thu) 12:20, Peter J. Philipp wrote: > > It's April 9th for me, so no chance for April 1st things. Both patches > > didn't > > boot (they loaded on ofwboot though) for me. I assu

Re: powerpc: mplock & WITNESS

2020-04-09 Thread Peter J. Philipp
ng to check out my sources anew perhaps there was a something amiss, compiling takes a while on a G5. Best Regards, -peter On Thu, Apr 09, 2020 at 11:09:02AM +0200, Martin Pieuchot wrote: > On 09/04/20(Thu) 10:53, Mark Kettenis wrote: > > > Date: Thu, 9 Apr 2020 10:01:09 +0200

arm64 mainbus.c patch

2020-04-09 Thread Peter J. Philipp
OF_getpropintarray(node, "reg", reg, len); Basically it avoids a divide by zero if acells or scells happen to be 0. Probably not possible but this check is also in simplebus.c so thought I'd get it reported. Best Regards, -peter

patch for dump for high percentages

2020-02-29 Thread Peter J. Philipp
: Volume 1 started at: Sat Feb 29 17:20:37 2020 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 25.98% done, finished in 0:14 Let me know what you think, Regards, -peter

Re: hidmt(4): only allow hid_input kind

2020-02-10 Thread Peter Stuge
irst time at the u2k20 hackathon. Anyway, it looks to me like hidmt is a little bit simplistic (that's both good and bad) and with that in mind I think this change is fine. While it might be desirable/neccessary to have a more comprehensive software model of the connected HID in the future, FWIW right now this is ok pe...@stuge.se //Peter

Re: add DIOCRADDADDRS ioctl to kern_pledge pf

2020-01-14 Thread Peter J. Philipp
ook at one program in base though and noticed it wasn't pledged. But yes I barrelled along. Sorry. Regards, -peter

add DIOCRADDADDRS ioctl to kern_pledge pf

2020-01-14 Thread Peter J. Philipp
4 Jan 2020 17:51:19 - @@ -1205,6 +1205,7 @@ pledge_ioctl(struct proc *p, long com, s case DIOCADDRULE: case DIOCGETSTATUS: case DIOCNATLOOK: + case DIOCRADDADDRS: case DIOCRADDTABLES: case DIOCRCLRADDRS: case DIOCRCLRTABLES: Cheers, -peter

Re: apply changes immediately to join'd essids

2020-01-14 Thread Peter Hessler
On 2020 Jan 14 (Tue) at 13:11:57 +0100 (+0100), Stefan Sperling wrote: :On Mon, Jan 13, 2020 at 10:38:35PM +0100, Peter Hessler wrote: :> On 2020 Jan 12 (Sun) at 21:39:19 +0100 (+0100), Peter Hessler wrote: :> :When we change attributes for a join essid, we should apply the change :> :im

Re: apply changes immediately to join'd essids

2020-01-14 Thread Peter Hessler
On 2020 Jan 12 (Sun) at 21:39:19 +0100 (+0100), Peter Hessler wrote: :When we change attributes for a join essid, we should apply the change :immediately instead of waiting to (randomly) switch away and switch :back. And if we are connected to an AP, remove the node from the cache so we can

apply changes immediately to join'd essids

2020-01-12 Thread Peter Hessler
When we change attributes for a join essid, we should apply the change immediately instead of waiting to (randomly) switch away and switch back. Found by martijn@ OK? Index: net80211/ieee80211_ioctl.c === RCS file: /home/cvs/openbs

Re: increase IEEE80211_CACHE_SIZE

2019-12-28 Thread Peter Hessler
OK On 2019 Dec 28 (Sat) at 14:27:01 +0100 (+0100), Stefan Sperling wrote: :The number of entries in the node cache is currently capped to 100. : :This limit is outdated. Modern hardware like iwm(4) 8265 supports 46 :distinct channels (1-13, 36-165) each of which can host multiple APs. : :The limi

Re: ntpd is too noisy about 'DNS lookup tempfail' on IPv6 only hosts

2019-11-06 Thread Peter J. Philipp
ian! So here is the right patch then that I want OpenBSD to consider, with it I don't see the timeouts messages (are they needed?): Best Regards, -peter Index: ntp_dns.c === RCS file: /cvs/src/usr.sbin/ntpd/ntp_dns.c,v retrieving

ntpd is too noisy about 'DNS lookup tempfail' on IPv6 only hosts

2019-11-05 Thread Peter J. Philipp
ther constraint from google. There is no network traffic, just a route lookup if IPv4 is possible at all. Here is my patch, under my sig. -peter Index: config.c === RCS file: /cvs/src/usr.sbin/ntpd/config.c,v retrieving rev

Re: ppppoe octeon kernel panic .6.6

2019-10-23 Thread Peter J. Philipp
tands I'm amazed! Best Regards, -peter On Wed, Oct 23, 2019 at 05:15:41PM -, Miod Vallat wrote: > > > Try changing all the final 0 in sppp_auth_send() to 0UL and this ought > > to work. This function needs __attribute__((__sentinel__)) as well to > > prevent

Re: ppppoe octeon kernel panic .6.6

2019-10-23 Thread Peter J. Philipp
ever more obvious that the varargs are in pairs and one pair is a row. Looking at this I agree it's ugly. Perhaps it needs to be refactored again or downright fixed (ie. like the other archs, or are they somehow broken too but behave differently?). Best Regards, -peter On Wed, Oct 23, 201

Re: ppppoe octeon kernel panic .6.6

2019-10-23 Thread Peter J. Philipp
On Wed, Oct 23, 2019 at 11:18:11AM +0200, Martin Pieuchot wrote: > On 23/10/19(Wed) 08:43, Peter J. Philipp wrote: > > Hi Holger & Tech, > > Hello Peter, > > > I have made my octeon router work again and I have a patch. But I'm not an > > openbsd developer

Re: ppppoe octeon kernel panic .6.6

2019-10-22 Thread Peter J. Philipp
e usually low on diskspace. Best Regards, -peter --- if_spppsubr.c.orig Tue Oct 22 18:49:47 2019 +++ if_spppsubr.c Wed Oct 23 08:03:35 2019 @@ -64,6 +64,7 @@ #endif #include +#include # define UNTIMEOUT(fun, arg, handle) \ timeout_del(&

Amdgpu card support

2019-10-17 Thread Peter Kay
First of all, thanks for including this, but should a diff be submitted to the man page that states it supports everything between SI and Vega? If I'm reading the documentation and past posts correctly, amdgpu uses Xorg's Glamor and Mesa to output anything. Mesa is at 19.0.8, so it should support V

Adding new vendor and devices to usbdevs

2019-09-18 Thread Peter Ezetta
, which seems to have picked up my changes fine. I did not include usbdevs.h or usbdevs_data.h in the diff since they are dynamically generated. Ok? Peter Index: sys/dev/usb/usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v

Re: Make filter line handling more developer friendly

2019-08-26 Thread Peter Varga
On Mon, Aug 26, 2019, at 00:30, gil...@poolp.org wrote: > 25 août 2019 07:01 "Martijn van Duren" a > écrit: > > Right now all we get is "Misbehaving filter", which doesn't tell the > > developer a lot. > > > > Indeed > > > > Diff below does the following: > > - Make the register_hooks actu

Re: bfd: respond to poll sequence from peer

2019-06-05 Thread Peter Hessler
Hi Mitchell Thanks a lot for the work you are putting into BFD, I'll be able to review this properly over the weekend. -peter On 2019 Jun 03 (Mon) at 20:37:17 +1000 (+1000), Mitchell Krome wrote: :Hi, : :Testing bfd against frr on linux, their bfd implementation sends polls :as soon a

Re: ifmedia_ioctl: ignore ENETRESET from ifm_change()

2019-04-24 Thread Peter Hessler
On 2019 Apr 24 (Wed) at 22:50:58 +1000 (+1000), Jonathan Matthew wrote: :On Wed, Apr 24, 2019 at 12:21:47PM +0200, Stefan Sperling wrote: :> On Sun, Apr 21, 2019 at 09:44:08PM +0800, Kevin Lo wrote: :> > On Sun, Apr 21, 2019 at 01:02:39PM +1000, Jonathan Matthew wrote: :> > > Currently we have some

Re: ksh "clear-screen" editing command

2019-04-02 Thread Peter Hessler
On 2019 Apr 01 (Mon) at 09:53:31 -0600 (-0600), Todd C. Miller wrote: :On Mon, 01 Apr 2019 16:52:34 +0200, Jeremie Courreges-Anglas wrote: : :> Since this went in, I'm using it on my machines instead of a bind -m hack. :> :> Can't we make ^L=clear-screen the default behavior? I don't see :> discus

Re: [4/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Peter Hessler
OK On 2019 Mar 22 (Fri) at 10:04:37 +0100 (+0100), Paul de Weerd wrote: :Index: GENERIC :=== :RCS file: /home/OpenBSD/cvs/src/sys/arch/amd64/conf/GENERIC,v :retrieving revision 1.466 :diff -u -p -r1.466 GENERIC :--- GENERIC19 Jan

  1   2   3   4   5   >