DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th April 2019
mafkees1233 mafkees1233 is offline
Eager student
 
Join Date: Apr 2019
Location: Cove, Scotland
Posts: 45
Default SPDIF not working

Hello,

I'm quite new to OpenBSD. I've been reading loads of man pages but some (ok most) have a steep learning curve. For the last couple of days I've been desperately trying to get the digital output of my soundcard to work. So far I know it's driver is azalia and that I should have outputs.mode=digital in my mixerctl. If I play music the optical light comes on but there is no sound. Analog works fine btw. Does anyone know how to get it going?
Thanks a lot

Mixerctl:
Code:
record.adc-2:3_mute=off
record.adc-2:3=125,125
record.adc-0:1_mute=off
record.adc-0:1=125,125
record.adc-4:5_mute=off
record.adc-4:5=125,125
inputs.mix_source=mic,line-blk,line-in,mic2,line-grn,hp,line-org
inputs.mix_mic=120,120
inputs.mix_line-blk=120,120
inputs.mix_line-in=120,120
inputs.mix_mic2=120,120
inputs.mix_line-grn=120,120
inputs.mix_hp=120,120
inputs.mix_line-org=120,120
outputs.mix2=192,192
inputs.mix2_source=dac-0:1,mix
outputs.mix3=192,192
inputs.mix3_source=dac-6:7,mix
outputs.mix4=126,126
inputs.mix4_source=dac-2:3,mix
outputs.mix5=126,126
inputs.mix5_source=dac-8:9,mix
outputs.SPDIF_source=dig-dac-2:3
outputs.line-grn_source=mix2
outputs.line-grn_mute=off
outputs.line-grn_dir=output
outputs.line-grn_boost=off
outputs.line-grn_eapd=on
outputs.hp_source=mix3
outputs.hp_mute=off
outputs.hp_dir=output
outputs.hp_boost=off
outputs.hp_eapd=on
outputs.line-org_source=mix4
outputs.line-org_mute=off
outputs.line-org_dir=output
outputs.mic_source=mix8
outputs.mic_mute=off
inputs.mic=85,85
outputs.mic_dir=input-vr80
outputs.mic_boost=off
outputs.line-blk_source=mix8
outputs.line-blk_mute=off
inputs.line-blk=85,85
outputs.line-blk_dir=output
outputs.line-blk_boost=off
outputs.line-in_source=mix5
outputs.line-in_mute=off
inputs.line-in=85,85
outputs.line-in_dir=input
outputs.line-in_boost=off
outputs.mic2_source=mix8
outputs.mic2_mute=off
inputs.mic2=85,85
outputs.mic2_dir=input-vr80
outputs.mic2_boost=off
outputs.SPDIF2_source=dig-dac-0:1
record.adc-4:5_source=mic,line-blk,line-in,mic2,line-grn,hp,line-org,mix
record.adc-0:1_source=mic,line-blk,line-in,mic2,line-grn,hp,line-org,mix
record.adc-2:3_source=mic
outputs.mix8=126,126
inputs.mix8_source=dac-4:5,mix
outputs.line-grn_sense=plugged
outputs.hp_sense=unplugged
outputs.line-org_sense=unplugged
outputs.mic_sense=unplugged
outputs.line-blk_sense=unplugged
outputs.line-in_sense=unplugged
outputs.mic2_sense=unplugged
outputs.master=250,250
outputs.master.mute=off
outputs.master.slaves=mix2,mix3,line-grn,hp
record.volume=125,125
record.volume.mute=off
record.volume.slaves=adc-2:3,adc-0:1,adc-4:5
outputs.mode=digital
record.enable=sysctl
dmesg:
Code:
OpenBSD 6.4 (GENERIC.MP) #9: Tue Mar 26 19:21:43 CET 2019
    root@syspatch-64-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8562843648 (8166MB)
avail mem = 8294060032 (7909MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xcf49d000 (27 entries)
bios0: vendor Intel Corp. version "SOX5810J.86A.5600.2013.0729.2250" date 07/29/2013
bios0: Viglen DX58SO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC WDDT MCFG ASF! HPET SLIC SSDT DMAR WDTT ASPT
acpi0: wakeup devices SLPB(S4) P32_(S4) ILAN(S4) PEG1(S4) PEG3(S4) PEG7(S4) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, 2838.13 MHz, 06-1a-05
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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 135MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, 2837.69 MHz, 06-1a-05
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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, 2837.69 MHz, 06-1a-05
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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, 2837.69 MHz, 06-1a-05
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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, 2837.69 MHz, 06-1a-05
cpu4: 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN
cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, 2837.69 MHz, 06-1a-05
cpu5: 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN
cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, 2837.69 MHz, 06-1a-05
cpu6: 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN
cpu6: 256KB 64b/line 8-way L2 cache
cpu6: smt 1, core 2, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, 2837.69 MHz, 06-1a-05
cpu7: 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN
cpu7: 256KB 64b/line 8-way L2 cache
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
acpimadt0: unknown apic structure type 7f
acpimcfg0 at acpi0
acpimcfg0: addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 7 (P32_)
acpiprt2 at acpi0: bus 1 (PEG1)
acpiprt3 at acpi0: bus 2 (PEG3)
acpiprt4 at acpi0: bus 3 (PEG7)
acpiprt5 at acpi0: bus 4 (PEX0)
acpiprt6 at acpi0: bus 5 (PEX1)
acpiprt7 at acpi0: bus -1 (PEX3)
acpiprt8 at acpi0: bus 6 (PEX4)
acpicpu0 at acpi0: !C3(350@128 mwait.3@0x20), C1(1000@32 mwait.1), PSS
acpicpu1 at acpi0: !C3(350@128 mwait.3@0x20), C1(1000@32 mwait.1), PSS
acpicpu2 at acpi0: !C3(350@128 mwait.3@0x20), C1(1000@32 mwait.1), PSS
acpicpu3 at acpi0: !C3(350@128 mwait.3@0x20), C1(1000@32 mwait.1), PSS
acpicpu4 at acpi0: !C3(350@128 mwait.3@0x20), C1(1000@32 mwait.1), PSS
acpicpu5 at acpi0: !C3(350@128 mwait.3@0x20), C1(1000@32 mwait.1), PSS
acpicpu6 at acpi0: !C3(350@128 mwait.3@0x20), C1(1000@32 mwait.1), PSS
acpicpu7 at acpi0: !C3(350@128 mwait.3@0x20), C1(1000@32 mwait.1), PSS
acpibtn0 at acpi0: SLPB
acpicmos0 at acpi0
"PNP0003" at acpi0 not configured
"pnp0c14" at acpi0 not configured
cpu0: Enhanced SpeedStep 2838 MHz: speeds: 2794, 2793, 2660, 2527, 2394, 2261, 2128, 1995, 1862, 1729, 1596 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel X58 Host" rev 0x13
ppb0 at pci0 dev 1 function 0 "Intel X58 PCIE" rev 0x13: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 "Intel X58 PCIE" rev 0x13: msi
pci2 at ppb1 bus 2
2:0:0: mem address conflict 0xfffe0000/0x20000
radeondrm0 at pci2 dev 0 function 0 "ATI Radeon HD 6570" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci2 dev 0 function 1 "ATI Radeon HD 6670 Audio" rev 0x00: msi
azalia0: no supported codecs
ppb2 at pci0 dev 7 function 0 "Intel X58 PCIE" rev 0x13: msi
pci3 at ppb2 bus 3
"Intel X58 QuickPath" rev 0x13 at pci0 dev 16 function 0 not configured
"Intel X58 QuickPath" rev 0x13 at pci0 dev 16 function 1 not configured
"Intel X58 Misc" rev 0x13 at pci0 dev 20 function 0 not configured
"Intel X58 GPIO" rev 0x13 at pci0 dev 20 function 1 not configured
"Intel X58 RAS" rev 0x13 at pci0 dev 20 function 2 not configured
"Intel X58 Throttle" rev 0x13 at pci0 dev 20 function 3 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801JI USB" rev 0x00: apic 8 int 16
uhci1 at pci0 dev 26 function 1 "Intel 82801JI USB" rev 0x00: apic 8 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801JI USB" rev 0x00: apic 8 int 19
ehci0 at pci0 dev 26 function 7 "Intel 82801JI USB" rev 0x00: apic 8 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 "Intel 82801JI HD Audio" rev 0x00: msi
azalia1: codecs: Realtek/0x0889
audio0 at azalia1
ppb3 at pci0 dev 28 function 0 "Intel 82801JI PCIE" rev 0x00
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 1 "Intel 82801JI PCIE" rev 0x00
pci5 at ppb4 bus 5
ppb5 at pci0 dev 28 function 4 "Intel 82801JI PCIE" rev 0x00
pci6 at ppb5 bus 6
pciide0 at pci6 dev 0 function 0 "Marvell 88SE6121 SATA" rev 0xb2: DMA (unsupported), channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 8 int 16 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
uhci3 at pci0 dev 29 function 0 "Intel 82801JI USB" rev 0x00: apic 8 int 23
uhci4 at pci0 dev 29 function 1 "Intel 82801JI USB" rev 0x00: apic 8 int 19
uhci5 at pci0 dev 29 function 2 "Intel 82801JI USB" rev 0x00: apic 8 int 18
ehci1 at pci0 dev 29 function 7 "Intel 82801JI USB" rev 0x00: apic 8 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x90
pci7 at ppb6 bus 7
em0 at pci7 dev 2 function 0 "Intel 82541GI" rev 0x05: apic 8 int 18, address 00:0e:0c:d0:df:03
"TI TSB43AB22 FireWire" rev 0x00 at pci7 dev 3 function 0 not configured
pcib0 at pci0 dev 31 function 0 "Intel 82801JIR LPC" rev 0x00
ahci0 at pci0 dev 31 function 2 "Intel 82801JI AHCI" rev 0x00: msi, AHCI 1.2
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 1.5Gb/s
ahci0: port 3: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 840, EXT0> SCSI3 0/direct fixed naa.50025388a0804117
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
sd1 at scsibus1 targ 1 lun 0: <ATA, HITACHI HUA72201, JP4O> SCSI3 0/direct fixed naa.5000cca39aea1d01
sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
cd0 at scsibus1 targ 3 lun 0: <hp, DVD A DH16AAL, LHDJ> ATAPI 5/cdrom removable
ichiic0 at pci0 dev 31 function 3 "Intel 82801JI SMBus" rev 0x00: apic 8 int 18
iic0 at ichiic0
iic0: addr 0x18 21=ff 22=ff 23=ff 24=ff 25=ff 26=ff 27=ff 28=ff 29=ff 2a=ff 2b=ff 2c=ff 2d=ff 2e=ff 2f=ff 30=0f 31=ff 32=ff 33=ff 34=ff 35=ff 36=ff 37=ff 38=ff 39=ff 3a=ff 3b=ff 3c=ff 3d=ff 3e=81 3f=43 40=00 41=00 42=00 43=00 44=00 45=00 46=00 47=00 48=00 49=00 4b=00 4c=00 4d=00 4e=43 4f=00 50=00 51=00 52=00 53=00 54=00 55=00 56=00 57=00 58=00 59=00 5a=00 5b=00 5c=00 5d=00 5e=00 5f=00 60=00 61=00 62=00 63=00 64=00 65=00 66=00 67=00 68=00 69=00 6a=00 6b=00 6c=00 6d=00 6e=00 6f=00 70=00 71=00 72=00 73=00 74=00 75=00 76=00 77=00 78=00 79=00 7a=00 7b=00 7c=00 7d=00 7e=00 7f=00 words 00=b0b0 01=b0b0 02=b0b0 03=b0b0 04=b0b0 05=b0b0 06=b0b0 07=b0b0
iic0: addr 0x1a 21=ff 22=ff 23=ff 24=ff 25=ff 26=ff 27=ff 28=ff 29=ff 2a=ff 2b=ff 2c=ff 2d=ff 2e=ff 2f=ff 30=0f 31=ff 32=ff 33=ff 34=ff 35=ff 36=ff 37=ff 38=ff 39=ff 3a=ff 3b=ff 3c=ff 3d=ff 3e=80 3f=c1 40=00 41=00 42=00 43=00 44=00 45=00 46=00 47=00 48=00 49=00 4b=00 4c=00 4d=00 4e=c1 4f=00 50=00 51=00 52=00 53=00 54=00 55=00 56=00 57=00 58=00 59=00 5a=00 5b=00 5c=00 5d=00 5e=00 5f=00 60=00 61=00 62=00 63=00 64=00 65=00 66=00 67=00 68=00 69=00 6a=00 6b=00 6c=00 6d=00 6e=00 6f=00 70=00 71=00 72=00 73=00 74=00 75=00 76=00 77=00 78=00 79=00 7a=00 7b=00 7c=00 7d=00 7e=00 7f=00 words 00=d6d6 01=d6d6 02=d6d6 03=d6d6 04=d6d6 05=d6d6 06=d6d6 07=d6d6
iic0: addr 0x2e 1a=80 1b=80 1c=80 1d=04 1e=86 20=55 21=67 22=bf 23=c1 24=c5 25=49 26=39 27=3d 28=15 29=18 2a=ff 2b=ff 2c=ff 2d=ff 2e=ff 2f=ff 30=5e 31=ec 32=ec 33=ed 34=81 36=c3 38=ff 39=ff 3a=ff 3b=e2 3c=7a 3d=f9 3e=41 3f=6f 40=35 45=ff 47=ff 49=ff 4b=ff 4d=ff 4e=81 4f=7f 50=81 51=7f 52=81 53=7f 54=ff 55=ff 56=ff 57=ff 58=ff 59=ff 5a=ff 5b=ff 5c=0a 5d=22 5e=22 5f=7a 60=8a 61=8a 62=e8 63=aa 64=33 65=80 66=80 67=55 68=2d 69=2d 6a=67 6b=41 6c=41 6d=04 6e=42 76=53 77=80 78=f0 7b=55 7c=01 7f=01 86=ff 87=ff 8a=fb 8b=64 8c=64 8d=64 91=5d 92=5d 93=5d words 00=00e5 01=00e5 02=00e5 03=00e5 04=00e5 05=00e5 06=00e5 07=00e5
iic0: addr 0x4e 21=ff 22=ff 23=ff 24=ff 25=ff 26=ff 27=ff 28=ff 29=ff 2a=ff 2b=ff 2c=ff 2d=ff 2e=ff 2f=ff 30=0f 31=ff 32=ff 33=ff 34=ff 35=ff 36=ff 37=ff 38=ff 39=ff 3a=ff 3b=ff 3c=ff 3d=ff 3e=80 3f=e4 40=00 41=00 42=00 43=00 44=00 45=00 46=00 47=00 48=00 49=00 4b=00 4c=00 4d=00 4e=e4 4f=00 50=00 51=00 52=00 53=00 54=00 55=00 56=00 57=00 58=00 59=00 5a=00 5b=00 5c=00 5d=00 5e=00 5f=00 60=00 61=00 62=00 63=00 64=00 65=00 66=00 67=00 68=00 69=00 6a=00 6b=00 6c=00 6d=00 6e=00 6f=00 70=00 71=00 72=00 73=00 74=00 75=00 76=00 77=00 78=00 79=00 7a=00 7b=00 7c=00 7d=00 7e=00 7f=00 words 00=9090 01=9090 02=9090 03=9090 04=9090 05=9090 06=9090 07=9090
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-8500
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-8500
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
umass0 at uhub1 port 1 configuration 1 interface 0 "SanDisk Cruzer Force" rev 2.10/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd2 at scsibus2 targ 1 lun 0: <SanDisk, Cruzer Force, 1.00> SCSI4 0/direct removable serial.0781557d921021101541
sd2: 7632MB, 512 bytes/sector, 15630336 sectors
uhidev0 at uhub3 port 1 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/24.07 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev1 at uhub3 port 1 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/24.07 addr 2
uhidev1: iclass 3/1, 8 report ids
ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0
uhidev2 at uhub3 port 1 configuration 1 interface 2 "Logitech USB Receiver" rev 2.00/24.07 addr 2
uhidev2: iclass 3/0, 33 report ids
uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0
uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0
uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0
uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0
uhidev3 at uhub7 port 1 configuration 1 interface 0 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev3: iclass 3/1
ukbd1 at uhidev3: 8 variable keys, 6 key codes
wskbd2 at ukbd1 mux 1
uhidev4 at uhub7 port 1 configuration 1 interface 1 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev4: iclass 3/0
uhid7 at uhidev4: input=64, output=64, feature=0
uhidev5 at uhub7 port 1 configuration 1 interface 2 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev5: iclass 3/0, 5 report ids
ums1 at uhidev5 reportid 1: 5 buttons, Z and W dir
wsmouse1 at ums1 mux 0
uhid8 at uhidev5 reportid 2: input=1, output=0, feature=0
uhid9 at uhidev5 reportid 3: input=2, output=0, feature=0
uhid10 at uhidev5 reportid 4: input=3, output=0, feature=0
ukbd2 at uhidev5 reportid 5: no usable key codes array
uhidev6 at uhub7 port 1 configuration 1 interface 3 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev6: iclass 3/0
uhid11 at uhidev6: input=64, output=64, feature=8
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (01585ead761bf23c.a) swap on sd0b dump on sd0b
initializing kernel modesetting (TURKS 0x1002:0x6759 0x1043:0x0403).
radeondrm0: 1920x1080, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wskbd2: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
uhub2 detached
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev0 detached
wsmouse0 detached
ums0 detached
uhid0 detached
uhid1 detached
uhid2 detached
uhidev1 detached
uhid3 detached
uhid4 detached
uhid5 detached
uhid6 detached
uhidev2 detached
uhub3 detached
uhub4 detached
uhub0 detached
uhub5 detached
uhub6 detached
wskbd2: disconnecting from wsdisplay0
wskbd2 detached
ukbd1 detached
uhidev3 detached
uhid7 detached
uhidev4 detached
wsmouse1 detached
ums1 detached
uhid8 detached
uhid9 detached
uhid10 detached
ukbd2 detached
uhidev5 detached
uhid11 detached
uhidev6 detached
uhub7 detached
sd2 detached
scsibus2 detached
umass0 detached
uhub1 detached
uhub0 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub1 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub2 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub3 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub4 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub5 at usb6 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub6 at usb7 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub7 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
umass0 at uhub7 port 1 configuration 1 interface 0 "SanDisk Cruzer Force" rev 2.10/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd2 at scsibus2 targ 1 lun 0: <SanDisk, Cruzer Force, 1.00> SCSI4 0/direct removable serial.0781557d921021101541
sd2: 7632MB, 512 bytes/sector, 15630336 sectors
uhidev0 at uhub1 port 1 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/24.07 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub1 port 1 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/24.07 addr 2
uhidev1: iclass 3/1, 8 report ids
ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0
uhidev2 at uhub1 port 1 configuration 1 interface 2 "Logitech USB Receiver" rev 2.00/24.07 addr 2
uhidev2: iclass 3/0, 33 report ids
uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0
uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0
uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0
uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0
uhidev3 at uhub6 port 1 configuration 1 interface 0 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev3: iclass 3/1
ukbd1 at uhidev3: 8 variable keys, 6 key codes
wskbd2 at ukbd1 mux 1
wskbd2: connecting to wsdisplay0
uhidev4 at uhub6 port 1 configuration 1 interface 1 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev4: iclass 3/0
uhid7 at uhidev4: input=64, output=64, feature=0
uhidev5 at uhub6 port 1 configuration 1 interface 2 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev5: iclass 3/0, 5 report ids
ums1 at uhidev5 reportid 1: 5 buttons, Z and W dir
wsmouse1 at ums1 mux 0
uhid8 at uhidev5 reportid 2: input=1, output=0, feature=0
uhid9 at uhidev5 reportid 3: input=2, output=0, feature=0
uhid10 at uhidev5 reportid 4: input=3, output=0, feature=0
ukbd2 at uhidev5 reportid 5: no usable key codes array
uhidev6 at uhub6 port 1 configuration 1 interface 3 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev6: iclass 3/0
uhid11 at uhidev6: input=64, output=64, feature=8
uhub0 detached
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev0 detached
wsmouse0 detached
ums0 detached
uhid0 detached
uhid1 detached
uhid2 detached
uhidev1 detached
uhid3 detached
uhid4 detached
uhid5 detached
uhid6 detached
uhidev2 detached
uhub1 detached
uhub2 detached
uhub3 detached
uhub4 detached
uhub5 detached
wskbd2: disconnecting from wsdisplay0
wskbd2 detached
ukbd1 detached
uhidev3 detached
uhid7 detached
uhidev4 detached
wsmouse1 detached
ums1 detached
uhid8 detached
uhid9 detached
uhid10 detached
ukbd2 detached
uhidev5 detached
uhid11 detached
uhidev6 detached
uhub6 detached
sd2 detached
scsibus2 detached
umass0 detached
uhub7 detached
uhub0 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub1 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub2 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub3 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub4 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub5 at usb6 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub6 at usb7 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhub7 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
umass0 at uhub7 port 1 configuration 1 interface 0 "SanDisk Cruzer Force" rev 2.10/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd2 at scsibus2 targ 1 lun 0: <SanDisk, Cruzer Force, 1.00> SCSI4 0/direct removable serial.0781557d921021101541
sd2: 7632MB, 512 bytes/sector, 15630336 sectors
uhidev0 at uhub1 port 1 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/24.07 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub1 port 1 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/24.07 addr 2
uhidev1: iclass 3/1, 8 report ids
ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0
uhidev2 at uhub1 port 1 configuration 1 interface 2 "Logitech USB Receiver" rev 2.00/24.07 addr 2
uhidev2: iclass 3/0, 33 report ids
uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0
uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0
uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0
uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0
uhidev3 at uhub6 port 1 configuration 1 interface 0 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev3: iclass 3/1
ukbd1 at uhidev3: 8 variable keys, 6 key codes
wskbd2 at ukbd1 mux 1
wskbd2: connecting to wsdisplay0
uhidev4 at uhub6 port 1 configuration 1 interface 1 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev4: iclass 3/0
uhid7 at uhidev4: input=64, output=64, feature=0
uhidev5 at uhub6 port 1 configuration 1 interface 2 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev5: iclass 3/0, 5 report ids
ums1 at uhidev5 reportid 1: 5 buttons, Z and W dir
wsmouse1 at ums1 mux 0
uhid8 at uhidev5 reportid 2: input=1, output=0, feature=0
uhid9 at uhidev5 reportid 3: input=2, output=0, feature=0
uhid10 at uhidev5 reportid 4: input=3, output=0, feature=0
ukbd2 at uhidev5 reportid 5: no usable key codes array
uhidev6 at uhub6 port 1 configuration 1 interface 3 "HOLTEK USB-HID Keyboard" rev 1.10/1.06 addr 2
uhidev6: iclass 3/0
uhid11 at uhidev6: input=64, output=64, feature=8
Reply With Quote
  #2   (View Single Post)  
Old 8th April 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,627
Default

It looks like you've done what you can with mixerctl(1) settings. All I can see of note in your dmesg is:
Code:
azalia0 at pci2 dev 0 function 1 "ATI Radeon HD 6670 Audio" rev 0x00: msi
azalia0: no supported codecs
You might want to try a -current snapshot, and see if you get different results. -current is now pretty close to what will be -release 6.5 soon.
Reply With Quote
  #3   (View Single Post)  
Old 8th April 2019
mafkees1233 mafkees1233 is offline
Eager student
 
Join Date: Apr 2019
Location: Cove, Scotland
Posts: 45
Default

azalia0 is the graphics card, the audio for hdmi, which is not supported.
It's azalia1 that I'm trying to get going.

dmesg | grep azalia:

Code:
azalia0 at pci2 dev 0 function 1 "ATI Radeon HD 6670 Audio" rev 0x00: msi
azalia0: no supported codecs
azalia1 at pci0 dev 27 function 0 "Intel 82801JI HD Audio" rev 0x00: msi
azalia1: codecs: Realtek/0x0889
audio0 at azalia1

Last edited by mafkees1233; 8th April 2019 at 11:17 AM. Reason: typo
Reply With Quote
  #4   (View Single Post)  
Old 8th April 2019
johnR johnR is offline
Port Guard
 
Join Date: Nov 2017
Posts: 37
Default

The computer I'm posting from has an azalia(4) audio interface, but unfortunately I don't have any optical S/PDIF devices to test it with. You're correct that azalia1 is the relevant device. I notice the following two lines in your mixerctl output:
Code:
outputs.SPDIF_source=dig-dac-2:3
...
outputs.SPDIF2_source=dig-dac-0:1
Could it be a signal routing problem? (I'm also fairly new to OpenBSD after ~20 years on Linux, so treat my comments accordingly).
Reply With Quote
  #5   (View Single Post)  
Old 8th April 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,627
Default

Quote:
Originally Posted by mafkees1233 View Post
azalia0 is the graphics card, the audio for hdmi, which is not supported.
It's azalia1 that I'm trying to get going.
Ooooooops. My error.
Reply With Quote
  #6   (View Single Post)  
Old 8th April 2019
mafkees1233 mafkees1233 is offline
Eager student
 
Join Date: Apr 2019
Location: Cove, Scotland
Posts: 45
Default

Quote:
Originally Posted by johnR View Post
The computer I'm posting from has an azalia(4) audio interface, but unfortunately I don't have any optical S/PDIF devices to test it with. You're correct that azalia1 is the relevant device. I notice the following two lines in your mixerctl output:
Code:
outputs.SPDIF_source=dig-dac-2:3
...
outputs.SPDIF2_source=dig-dac-0:1
Could it be a signal routing problem? (I'm also fairly new to OpenBSD after ~20 years on Linux, so treat my comments accordingly).
I tried switching it around but it won't let me (or I'm doing it wrong

Code:
mixerctl outputs.SPDIF_source=dig-dac-0:1                             
mixerctl: Bad enum value dig-dac-0:1
Maybe there is way to turn azalia0 off somehow?
Reply With Quote
  #7   (View Single Post)  
Old 8th April 2019
mafkees1233 mafkees1233 is offline
Eager student
 
Join Date: Apr 2019
Location: Cove, Scotland
Posts: 45
Default

Quote:
Originally Posted by jggimi View Post
Ooooooops. My error.
Thanks for trying to help
Reply With Quote
  #8   (View Single Post)  
Old 8th April 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,627
Default

Quote:
Originally Posted by mafkees1233 View Post
Maybe there is way to turn azalia0 off somehow?
I believe there is. See the KERNEL MODIFICATION section of the config(8) man page, and create a test kernel you can then boot, or disable during boot with boot -c.

Last edited by jggimi; 8th April 2019 at 02:21 PM. Reason: added boot -c. I can't believe I forgot about it.
Reply With Quote
  #9   (View Single Post)  
Old 8th April 2019
mafkees1233 mafkees1233 is offline
Eager student
 
Join Date: Apr 2019
Location: Cove, Scotland
Posts: 45
Default

I tried boot -c but I'm not sure what to disable. I tried looking for azalia but there are no separate devices so when I disable it I have no sound at all.
Reply With Quote
Old 8th April 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,627
Default

The azalia(4) driver dynamically allocates instances on discovery. It is possible to use the UKC add command to manually define azalia0 and azalia1 per the attachments in your dmesg(8). For example, using add, change, and disable, I was able to create the following azalia driver instances, though I cannot test the resulting kernel for function:
Code:
ukc> find azalia
89 azalia0 at pci* disable dev 0 function 1 flags 0x0
90 azalia1 at pci* dev 0x1b function 0 flag 0x0
91 azalia* at pci* dev -1 function -1 flags 0x0
More details on using UKC can be found in boot_config(8).
Reply With Quote
Old 8th April 2019
mafkees1233 mafkees1233 is offline
Eager student
 
Join Date: Apr 2019
Location: Cove, Scotland
Posts: 45
Default

If I add devices at boot (boot -c) then the graphics card and soundcard just get a different number ( 1 and 2 instead of 0 and 1)
If I use config on a running kernel it doesn't see two devices but still just azalia. Am I suppose to create the devices? I assume they were already there on a booted system
Reply With Quote
Old 8th April 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,627
Default

When you use boot -c, it runs the UKC interactive utility *before* scanning for devices on your hardware. Changes are to the kernel's standard configuration of drivers, and it is similar to using # config -o /test.bsd -e /bsd, followed by booting the test kernel.


My workstation has an azalia driver active, but only one, so I'm not going to be able to test a kernel on running hardware with two azalia peripherals.
Reply With Quote
Old 13th April 2019
mafkees1233 mafkees1233 is offline
Eager student
 
Join Date: Apr 2019
Location: Cove, Scotland
Posts: 45
Default

I've given up. I think the digital output on my soundcard just isn't supported yet or I need to reroute the audio. Since I'm a openbsd noob I probably have a lot of reading to do.
For now I settle for analog
Reply With Quote
Old 21st April 2019
mafkees1233 mafkees1233 is offline
Eager student
 
Join Date: Apr 2019
Location: Cove, Scotland
Posts: 45
Default

Problem solved!
After reading loads of man pages I had a lightbulb moment.
In mixerctl it says 'outputs.SPDIF_source=dig-dac-2:3'
In the sndiod man page I read that you can route any channel to any connection, so setting sndiod with flag -c2:3 sound came out my digital output
Hooray
Reply With Quote
Old 21st April 2019
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,545
Default

With "a lightbulb moment", you mean an "AHA Erlebnis ;-).
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 21st April 2019
mafkees1233 mafkees1233 is offline
Eager student
 
Join Date: Apr 2019
Location: Cove, Scotland
Posts: 45
Default

Quote:
Originally Posted by J65nko View Post
With "a lightbulb moment", you mean an "AHA Erlebnis ;-).
It's my first step in not feeling too stupid to run OpenBSD
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get optical spdif sound output psypro OpenBSD General 0 21st December 2016 10:58 AM
Working on TTY sML OpenBSD Packages and Ports 1 27th December 2015 08:17 PM
Mouse:X (not-working) and tty-Console (working), in 8.0 ykt FreeBSD General 1 22nd December 2009 12:26 PM
Working with CVS? Zmyrgel OpenBSD General 15 6th October 2009 01:32 PM
iwn0 not working gosha OpenBSD General 5 14th July 2009 01:46 PM


All times are GMT. The time now is 02:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick