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 27th June 2017
stefand stefand is offline
New User
 
Join Date: Feb 2017
Posts: 7
Default No audio on emu rear output

Hi

I am currently trying to get my first OpenBSD desktop system running and I am struggling with some audio issues: My machine has a PCI sound card with an emu(4) chip, headphones connected to the headphones output and speakers connected to the other (black, typically called rear) jack. Audio on the headphones works fine but I don't get any sound on the speakers.

I am using sndiod with these parameters as suggested in the man page:

Code:
sndiod -mplay -s default -c 2:3 -s rear
To play audio I use aucat:

Code:
aucat -i music.wav -c 2:3 -f snd/0.rear
The hardware setup works nicely on FreeBSD where I get an additional sound device (dsp1) for the rear ports whereas I seem to remember that on Linux there was just one sound device and the ports were controlled through the audio mixer.

Anyway, I was wondering whether anyone had any insights into how to get the additional speakers running on OpenBSD.

Last edited by stefand; 27th June 2017 at 03:24 PM. Reason: Typo
Reply With Quote
  #2   (View Single Post)  
Old 27th June 2017
stefand stefand is offline
New User
 
Join Date: Feb 2017
Posts: 7
Default

Ah btw, this is what my audioctl and mixerctl look like:

Quote:
$ mixerctl
outputs.master=255,255
outputs.master.mute=off
outputs.mono=255
outputs.mono.mute=off
outputs.mono.source=mixerout
outputs.surround=255,255
outputs.surround.mute=off
inputs.spkr=255
inputs.spkr.mute=off
inputs.phone=191
inputs.phone.mute=on
inputs.mic=191
inputs.mic.mute=on
inputs.mic.preamp=off
inputs.mic.source=mic0
inputs.line=191,191
inputs.line.mute=on
inputs.cd=191,191
inputs.cd.mute=on
inputs.video=191,191
inputs.video.mute=on
inputs.aux=191,191
inputs.aux.mute=on
inputs.dac=191,191
inputs.dac.mute=off
record.source=mic
record.volume=255,255
record.volume.mute=off
outputs.spatial=on
outputs.spatial.center=0
outputs.spatial.depth=0
outputs.extamp=off
$ audioctl
name=emu0
mode=
pause=1
active=0
nblks=8
blksz=960
rate=48000
encoding=s16le
play.channels=2
play.bytes=0
play.errors=0
record.channels=2
record.bytes=0
record.errors=0
Reply With Quote
  #3   (View Single Post)  
Old 27th June 2017
stefand stefand is offline
New User
 
Join Date: Feb 2017
Posts: 7
Default

For completeness' sake I checked Linux (ALSA), there the rear output channel is called "Wave Surround" and only works if "SB Live Analog/Digital Output Jack" is turned off.
Reply With Quote
  #4   (View Single Post)  
Old 30th June 2017
ibara's Avatar
ibara ibara is offline
WR Slowest SNOBOL4 laptop
 
Join Date: Jan 2014
Posts: 514
Default

Can you post your dmesg?
Reply With Quote
  #5   (View Single Post)  
Old 30th June 2017
stefand stefand is offline
New User
 
Join Date: Feb 2017
Posts: 7
Default

Sure, here we go:

Code:
OpenBSD 6.1 (GENERIC.MP) #20: Sat Apr  1 13:45:56 MDT 2017
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8572567552 (8175MB)
avail mem = 8308084736 (7923MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0740 (70 entries)
bios0: vendor American Megatrends Inc. version "2209" date 03/11/2010
bios0: ASUSTeK Computer INC. P5Q
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET OSFR SSDT
acpi0: wakeup devices P0P2(S4) P0P3(S4) P0P1(S4) UAR1(S4) EUSB(S4) USBE(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) GBEC(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) [...]
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)2 Duo CPU E7400 @ 2.80GHz, 2800.44 MHz
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,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 3MB 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 272MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz, 2856.10 MHz
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,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 3MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P2)
acpiprt2 at acpi0: bus -1 (P0P3)
acpiprt3 at acpi0: bus 4 (P0P1)
acpiprt4 at acpi0: bus -1 (P0P5)
acpiprt5 at acpi0: bus -1 (P0P6)
acpiprt6 at acpi0: bus -1 (P0P7)
acpiprt7 at acpi0: bus -1 (P0P8)
acpiprt8 at acpi0: bus 2 (P0P9)
acpiprt9 at acpi0: bus 3 (P0P4)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
aibs0 at acpi0 RTMP RVLT RFAN GGRP GITM SITM
"PNP0501" at acpi0 not configured
acpibtn0 at acpi0: PWRB
cpu0: Enhanced SpeedStep 2800 MHz: speeds: 2800, 2403, 2136, 1870, 1603 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel G45 Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel G45 PCIE" rev 0x03: msi
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Pitcairn" rev 0x81
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci1 dev 0 function 1 vendor "ATI", unknown product 0xaab0 rev 0x00: msi
azalia0: no supported codecs
uhci0 at pci0 dev 26 function 0 "Intel 82801JI USB" rev 0x00: apic 2 int 16
uhci1 at pci0 dev 26 function 1 "Intel 82801JI USB" rev 0x00: apic 2 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801JI USB" rev 0x00: apic 2 int 18
ehci0 at pci0 dev 26 function 7 "Intel 82801JI USB" rev 0x00: apic 2 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
ppb1 at pci0 dev 28 function 0 "Intel 82801JI PCIE" rev 0x00: msi
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 5 "Intel 82801JI PCIE" rev 0x00: msi
pci3 at ppb2 bus 2
ale0 at pci3 dev 0 function 0 "Attansic Technology L1E" rev 0xb0: AR8121, msi, address 00:22:15:fa:eb:01
atphy0 at ale0 phy 0: F1 10/100/1000 PHY, rev. 9
uhci3 at pci0 dev 29 function 0 "Intel 82801JI USB" rev 0x00: apic 2 int 23
uhci4 at pci0 dev 29 function 1 "Intel 82801JI USB" rev 0x00: apic 2 int 19
uhci5 at pci0 dev 29 function 2 "Intel 82801JI USB" rev 0x00: apic 2 int 18
ehci1 at pci0 dev 29 function 7 "Intel 82801JI USB" rev 0x00: apic 2 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
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x90
pci4 at ppb3 bus 4
ahc0 at pci4 dev 0 function 0 "Adaptec AIC-7850" rev 0x03: apic 2 int 16
ahc0: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus1 at ahc0: 8 targets, initiator 7
emu0 at pci4 dev 2 function 0 "Creative Labs SoundBlaster Live" rev 0x08: apic 2 int 18
ac97: codec id 0x83847608 (SigmaTel STAC9708/11)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at emu0
"Creative Labs PCI Gameport Joystick" rev 0x08 at pci4 dev 2 function 1 not configured
"AT&T/Lucent FW322 1394" rev 0x70 at pci4 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 5: 1.5Gb/s
scsibus2 at ahci0: 32 targets
sd0 at scsibus2 targ 5 lun 0: <ATA, WDC WD3200BEKT-0, 02.0> SCSI3 0/direct fixed naa.50014ee206c16fb6
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 82801JI SMBus" rev 0x00: apic 2 int 18
iic0 at ichiic0
iic0: addr 0x1e 01=01 02=01 11=01 12=01 20=05 21=01 22=01 23=05 31=01 32=01 words 00=0001 01=0101 02=0100 03=0000 04=0000 05=0000 06=0000 07=0000
iic0: addr 0x20 01=80 02=17 03=7f 10=00 19=b0 20=20 21=00 25=20 26=b2 38=74 39=03 4a=64 6a=2c 78=02 79=08 7a=00 7b=00 7e=82 80=00 8b=3a 8c=e7 96=9c 99=41 9a=98 9b=01 d0=00 d1=03 d2=72 d3=72 d4=03 d5=02 d6=01 d7=7d d8=66 d9=00 da=00 db=00 dc=00 dd=00 de=00 df=19 e0=00 e1=00 e2=10 e3=10 e4=10 e5=10 e6=10 e7=10 e8=10 e9=10 ea=10 ec=07 ee=00 f1=09 f5=02 f6=02 f9=00 fa=00 fb=50 words 00=ffff 01=8037 02=1766 03=7fff 04=ffff 05=ffff 06=ffff 07=ffff
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem1 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem2 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem3 at iic0 addr 0x53: 2GB DDR2 SDRAM non-parity PC2-6400CL5
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
com0 at isa0 port 0x3f8/8 irq 4: 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
lm0 at isa0 port 0x290/8: W83627DHG
uhub8 at uhub1 port 2 configuration 1 interface 0 "Genesys Logic USB2.0 Hub Charger" rev 2.00/1.97 addr 2
uhidev0 at uhub8 port 3 configuration 1 interface 0 "Matias Ergo Pro Keyboard" rev 2.00/2.10 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev1 at uhub8 port 3 configuration 1 interface 1 "Matias Ergo Pro Keyboard" rev 2.00/2.10 addr 3
uhidev1: iclass 3/1, 2 report ids
uhid0 at uhidev1 reportid 1: input=3, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhidev2 at uhub3 port 2 configuration 1 interface 0 "Logitech G9 Laser Mouse" rev 2.00/50.00 addr 2
uhidev2: iclass 3/1
ums0 at uhidev2: 16 buttons, Z and W dir
wsmouse0 at ums0 mux 0
uhidev3 at uhub3 port 2 configuration 1 interface 1 "Logitech G9 Laser Mouse" rev 2.00/50.00 addr 2
uhidev3: iclass 3/0, 17 report ids
ukbd1 at uhidev3 reportid 1: 8 variable keys, 5 key codes
wskbd2 at ukbd1 mux 1
uhid2 at uhidev3 reportid 3: input=4, output=0, feature=0
uhid3 at uhidev3 reportid 16: input=6, output=6, feature=0
uhid4 at uhidev3 reportid 17: input=19, output=19, feature=0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd1 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd1: 305242MB, 512 bytes/sector, 625136753 sectors
root on sd1a (b1b8968eaa5baf8c.a) swap on sd1b dump on sd1b
radeondrm0: 1600x1200, 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)
Reply With Quote
  #6   (View Single Post)  
Old 30th June 2017
ibara's Avatar
ibara ibara is offline
WR Slowest SNOBOL4 laptop
 
Join Date: Jan 2014
Posts: 514
Default

This might sound silly, but are your headphones connected? OpenBSD will mute your rear speakers if it detects headphones. I was kinda hoping to see an audio1 device in your dmesg then I could just tell you to use that device but no such luck.

In any event, this concerns me:
Code:
azalia0 at pci1 dev 0 function 1 vendor "ATI", unknown product 0xaab0 rev 0x00: msi
azalia0: no supported codecs
It looks like your machine is trying to get your motherboard audio working and it's not supported.
Reply With Quote
  #7   (View Single Post)  
Old 1st July 2017
stefand stefand is offline
New User
 
Join Date: Feb 2017
Posts: 7
Default

Heh, interesting idea and indeed the headphones are connected. I tried disconnecting them but that didn't seem to make a difference.

As for that other audio device, I don't think that's the onboard stuff (I disabled that), it's probably my GPU's HDMI port.
Reply With Quote
  #8   (View Single Post)  
Old 1st July 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,937
Default

You also have an emu(4) device. Is that possibly interfering?
Reply With Quote
  #9   (View Single Post)  
Old 1st July 2017
stefand stefand is offline
New User
 
Join Date: Feb 2017
Posts: 7
Default

Quote:
Originally Posted by jggimi View Post
You also have an emu(4) device. Is that possibly interfering?
The emu(4) device is the one that I'm trying to get to run correctly. Since the headphone output works fine I don't think that another audio device is interfering with it, it's just that I can't figure out how to get audio on the "rear" output.
Reply With Quote
Old 1st July 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,937
Default

Sorry, my comment was Before Coffee. I had confused the azalia(4) device with the emu(4) device. Sorry for the noise.
Reply With Quote
Old 1st July 2017
stefand stefand is offline
New User
 
Join Date: Feb 2017
Posts: 7
Default



Thanks anyway.
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
azalia Intel SCH HD Audio strange audio issues tehsean OpenBSD General 3 26th August 2012 12:21 AM
DVI output in X backrow OpenBSD General 5 14th April 2011 04:39 AM
netstat -s -p ip output meaning putrycy FreeBSD General 3 20th August 2010 08:29 AM
output to a file in java c0mrade Programming 4 15th October 2009 07:55 AM
dwm status bar won't display apm output asemisldkfj General software and network 6 16th August 2009 11:07 PM


All times are GMT. The time now is 08:58 PM.


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