Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Alexandre Ratchov
On Sat, Jul 16, 2022 at 05:37:35PM +0200, Brian Durant wrote:
> On 7/16/22 3:54 PM, Alexandre Ratchov wrote:
> > On Sat, Jul 16, 2022 at 03:36:18PM +0200, Brian Durant wrote:
> > > 
> > > # mixerctl -f /dev/audioctl1
> > > mixerctl: /dev/audioctl1: Device not configured
> > > 
> > > # dmesg
> > forgot to mention: connect and power on the audio interface first ;-)
> 
> It was. This time I waited until boot was complete, before connecting the
> USB cable...
> 

...

> 
> uhub3: port 1, set config 0 at addr 6 failed
> uhub3: device problem, disabling port 1
> 

sorry, I missed these lines, this is when you connected the device,
right?

The device doesn't even attach, so not surprising it doesn't work. I
don't know what could cause this maybe weak power?

Do you have an external power source, if not could you try with it?



Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Brian Durant



On 7/16/22 6:26 PM, Alexandre Ratchov wrote:

On Sat, Jul 16, 2022 at 05:37:35PM +0200, Brian Durant wrote:

On 7/16/22 3:54 PM, Alexandre Ratchov wrote:

On Sat, Jul 16, 2022 at 03:36:18PM +0200, Brian Durant wrote:

# mixerctl -f /dev/audioctl1
mixerctl: /dev/audioctl1: Device not configured

# dmesg

forgot to mention: connect and power on the audio interface first ;-)

It was. This time I waited until boot was complete, before connecting the
USB cable...


...


uhub3: port 1, set config 0 at addr 6 failed
uhub3: device problem, disabling port 1


sorry, I missed these lines, this is when you connected the device,
right?

The device doesn't even attach, so not surprising it doesn't work. I
don't know what could cause this maybe weak power?

Do you have an external power source, if not could you try with it?
I think so, I was multitasking at the time... Interesting and even more 
interesting. Yes, the power supply that came with the unit is plugged in 
and functioning on the UMC404HD. I had a UMC202HD lying around the 
house, that I just tried, which is powered through the USB cable and 
that works fine with OpenBSD. Only the powered UMC404HD had issues.




Re: vxlan operational question

2022-07-16 Thread Tom Smyth
Hi Florian,

Ill at mit im guessing but I would setup the tunnel before putting the Ip
address on it... so
vnetid 10
tunnel 1.1.1.1 2.2.2.2
inet6 2001:db8::1/126
up

I could be wrong but I know the ordering of setup commands in the file can
be important (rdomain for istance would have to come first)
but it was always my insticnt to setup the interface with tags etc before
putting the ip on it...

i am guessing here  but it might be a help ...


On Sat, 16 Jul 2022 at 17:35, Florian Bauer  wrote:

> Hello there,
>
> I am using OpenBSD with OpenBGPD to server my private ASN. Unfortunately,
> since upgrading from 7.0 to 7.1, my p-to-p vxlan underlay network stopped
> working. This behavior is reproducible on fresh set up systems without any
> further modification.
> My configuration looks as follows on both sides with correct IP addresses:
> ```
> # content of /etc/hostname.vxlan0
> up
> tunnel 1.1.1.1 2.2.2.2
> inet6 2001:db8::1/126
> vnetid 10
> ```
> While taking the interface up, I am getting the following error:
> ```
> border1# ifconfig vxlan0 up
> ifconfig: SIOCSIFFLAGS: Protocol not supported
> ```
> If someone has an idea, please let me know.
>
> Best regards
> Florian
>
>

-- 
Kindest regards,
Tom Smyth.


vxlan operational question

2022-07-16 Thread Florian Bauer
Hello there,

I am using OpenBSD with OpenBGPD to server my private ASN. Unfortunately, since 
upgrading from 7.0 to 7.1, my p-to-p vxlan underlay network stopped working. 
This behavior is reproducible on fresh set up systems without any further 
modification.
My configuration looks as follows on both sides with correct IP addresses:
```
# content of /etc/hostname.vxlan0
up
tunnel 1.1.1.1 2.2.2.2
inet6 2001:db8::1/126
vnetid 10
```
While taking the interface up, I am getting the following error:
```
border1# ifconfig vxlan0 up 
ifconfig: SIOCSIFFLAGS: Protocol not supported
```
If someone has an idea, please let me know.

Best regards
Florian



Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Brian Durant
On Sat, 16 Jul 2022 11:23:16 +0200
Alexandre Ratchov  wrote:

> On Sat, Jul 16, 2022 at 08:26:49AM +0200, Brian Durant wrote:
> > I have thus far been using an audio direct out to my speakers, but would
> > like to get my USB soundcard working in OpenBSD. Without the soundcard,
> > (direct connection) everything works fine. With the soundcard, no audio at
> > all. I have tried the following as per the OpenBSD FAQ:
> > 
> > # rcctl set sndiod flags -f rsnd/0 -F rsnd/1
> > # rcctl restart sndiod
> > sndiod(ok)
> > sndiod(ok)
> > 
> > I have rebooted the system, tried Cmixer and adjusted output gradually to
> > 100%, but did not get any sound. I have consulted the list archive, but
> > nothing, except to note what I already knew, that Behringer soundcards are
> > class compliant. I use this card on Windows 11, Linux and FreeBSD, so I know
> > that it works. I have made no major adjustments to the unit itself. Sooo, I
> > have hit a bit of a dead end. Anyone out there that can provide some help? I
> > am trying to get this to work by testing YouTube in Firefox, both of which
> > work with a direct audio connection (midi jack cable)...
> 
> could you send the output of:
> 
>   mixerctl -f /dev/audioctl1
> and:
>   dmesg


I just tried connecting the soundcard to a Dell Vostro 3350 laptop running the 
same version of the OpenBSD system, just a week or two older. Things look 
pretty much the same on this computer as far as I can tell:

# mixerctl -f /dev/audioctl1  
mixerctl: /dev/audioctl1: Device not configured

# dmesg
OpenBSD 7.1 (GENERIC.MP) #0: Sun Apr 24 09:30:43 MDT 2022

r...@syspatch-71-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8471326720 (8078MB)
avail mem = 8197312512 (7817MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb850 (57 entries)
bios0: vendor Dell Inc. version "A07" date 09/30/2011
bios0: Dell Inc. Vostro 3350
acpi0 at bios0: ACPI 4.0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SSDT SLIC HPET SSDT SSDT DMAR SSDT SSDT OSFR
acpi0: wakeup devices USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) 
USB7(S3) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) 
PXSX(S4) RP05(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2794.05 MHz, 06-2a-07
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2793.66 MHz, 06-2a-07
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2793.66 MHz, 06-2a-07
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2793.66 MHz, 06-2a-07
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (RP01)
acpiprt2 at acpi0: bus 5 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 

Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Brian Durant

On 7/16/22 3:54 PM, Alexandre Ratchov wrote:

On Sat, Jul 16, 2022 at 03:36:18PM +0200, Brian Durant wrote:


# mixerctl -f /dev/audioctl1
mixerctl: /dev/audioctl1: Device not configured

# dmesg

forgot to mention: connect and power on the audio interface first ;-)


It was. This time I waited until boot was complete, before connecting 
the USB cable...


# mixerctl -f /dev/audioctl1
mixerctl: /dev/audioctl1: Device not configured


OpenBSD 7.1 (GENERIC.MP) #0: Sun Apr 24 09:30:43 MDT 2022
r...@syspatch-71-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8471175168 (8078MB)
avail mem = 8197136384 (7817MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6e20 (66 entries)
bios0: vendor LENOVO version "EZKT22AUS" date 10/15/2013
bios0: LENOVO 10115
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI HPET APIC MCFG WDAT BOOT ASPT DBGP FPDT 
MSDM SSDT SSDT
acpi0: wakeup devices P0P1(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(S4) 
RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) 
RP05(S4) PXSX(S4) RP06(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz, 1796.18 MHz, 06-3a-09
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz, 1795.93 MHz, 06-3a-09
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN

cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz, 1795.93 MHz, 06-3a-09
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN

cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz, 1795.93 MHz, 06-3a-09
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN

cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf000, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 3 (RP03)
acpiprt5 at acpi0: bus 4 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpipci0 at acpi0 PCI0: 0x0004 0x0011 0x0001
acpicmos0 at acpi0
"PNP0A05" at acpi0 not configured
com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
acpibtn0 at acpi0: PWRB
acpicpu0 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS

acpitz0 at acpi0: critical temperature is 106 degC
acpitz1 at acpi0: critical temperature is 106 degC
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: using VERW MDS 

Mirror/website maintenance: man.openbsd.org, cvsweb.openbsd.org, *.cs.toronto.edu

2022-07-16 Thread Nick Holland

Hello,

Due to power maintenance, the following systems are expected
be down 7:00am to 7:00pm EST on Sunday July 17:

man.openbsd.org
cvsweb.openbsd.org
openbsd.cs.toronto.edu
obsdacvs.cs.toronto.edu

Systems should come back up when the power work is completed,
I'll be monitoring and verifying.

Nick.



Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Alexandre Ratchov
On Sat, Jul 16, 2022 at 03:36:18PM +0200, Brian Durant wrote:
> 
> 
> # mixerctl -f /dev/audioctl1
> mixerctl: /dev/audioctl1: Device not configured
> 
> # dmesg

forgot to mention: connect and power on the audio interface first ;-)



Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Brian Durant



On 7/16/22 11:23 AM, Alexandre Ratchov wrote:

On Sat, Jul 16, 2022 at 08:26:49AM +0200, Brian Durant wrote:

I have thus far been using an audio direct out to my speakers, but would
like to get my USB soundcard working in OpenBSD. Without the soundcard,
(direct connection) everything works fine. With the soundcard, no audio at
all. I have tried the following as per the OpenBSD FAQ:

# rcctl set sndiod flags -f rsnd/0 -F rsnd/1
# rcctl restart sndiod
sndiod(ok)
sndiod(ok)

I have rebooted the system, tried Cmixer and adjusted output gradually to
100%, but did not get any sound. I have consulted the list archive, but
nothing, except to note what I already knew, that Behringer soundcards are
class compliant. I use this card on Windows 11, Linux and FreeBSD, so I know
that it works. I have made no major adjustments to the unit itself. Sooo, I
have hit a bit of a dead end. Anyone out there that can provide some help? I
am trying to get this to work by testing YouTube in Firefox, both of which
work with a direct audio connection (midi jack cable)...

could you send the output of:

mixerctl -f /dev/audioctl1
and:
dmesg


# mixerctl -f /dev/audioctl1
mixerctl: /dev/audioctl1: Device not configured

# dmesg
OpenBSD 7.1 (GENERIC.MP) #0: Sun Apr 24 09:30:43 MDT 2022
r...@syspatch-71-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8471175168 (8078MB)
avail mem = 8197160960 (7817MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6e20 (66 entries)
bios0: vendor LENOVO version "EZKT22AUS" date 10/15/2013
bios0: LENOVO 10115
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI HPET APIC MCFG WDAT BOOT ASPT DBGP FPDT 
MSDM SSDT SSDT
acpi0: wakeup devices P0P1(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(S4) 
RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) 
RP05(S4) PXSX(S4) RP06(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz, 1796.23 MHz, 06-3a-09
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz, 1795.92 MHz, 06-3a-09
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN

cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz, 1795.93 MHz, 06-3a-09
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN

cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz, 1795.93 MHz, 06-3a-09
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN

cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf000, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 3 (RP03)
acpiprt5 at acpi0: bus 4 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 

make the mouse in cwm follow active window

2022-07-16 Thread Maksim Rodin
Hello,
When I have two windows on the screen (OpenBSD cwm) and
move the active one using one of the build in cwm commands (window-snap-...)
the window being moved looses focus when a mouse pointer is not above
that window anymore and another window behind the first becomes active instead.
I suppose there is no way to make the active window being moved remain active
because focus follows mouse but may be there is a way to make the
mouse pointer follow the window being moved?

-- 
Maksim Rodin



Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Alexandre Ratchov
On Sat, Jul 16, 2022 at 08:26:49AM +0200, Brian Durant wrote:
> I have thus far been using an audio direct out to my speakers, but would
> like to get my USB soundcard working in OpenBSD. Without the soundcard,
> (direct connection) everything works fine. With the soundcard, no audio at
> all. I have tried the following as per the OpenBSD FAQ:
> 
> # rcctl set sndiod flags -f rsnd/0 -F rsnd/1
> # rcctl restart sndiod
> sndiod(ok)
> sndiod(ok)
> 
> I have rebooted the system, tried Cmixer and adjusted output gradually to
> 100%, but did not get any sound. I have consulted the list archive, but
> nothing, except to note what I already knew, that Behringer soundcards are
> class compliant. I use this card on Windows 11, Linux and FreeBSD, so I know
> that it works. I have made no major adjustments to the unit itself. Sooo, I
> have hit a bit of a dead end. Anyone out there that can provide some help? I
> am trying to get this to work by testing YouTube in Firefox, both of which
> work with a direct audio connection (midi jack cable)...

could you send the output of:

mixerctl -f /dev/audioctl1
and:
dmesg



Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Brian Durant
I have thus far been using an audio direct out to my speakers, but would 
like to get my USB soundcard working in OpenBSD. Without the soundcard, 
(direct connection) everything works fine. With the soundcard, no audio 
at all. I have tried the following as per the OpenBSD FAQ:


# rcctl set sndiod flags -f rsnd/0 -F rsnd/1
# rcctl restart sndiod
sndiod(ok)
sndiod(ok)

I have rebooted the system, tried Cmixer and adjusted output gradually 
to 100%, but did not get any sound. I have consulted the list archive, 
but nothing, except to note what I already knew, that Behringer 
soundcards are class compliant. I use this card on Windows 11, Linux and 
FreeBSD, so I know that it works. I have made no major adjustments to 
the unit itself. Sooo, I have hit a bit of a dead end. Anyone out there 
that can provide some help? I am trying to get this to work by testing 
YouTube in Firefox, both of which work with a direct audio connection 
(midi jack cable)...


Brian