> From: Jacob Meuser <jake...@sdf.lonestar.org> > Subject: Re: How to test if sound is working? > To: misc@openbsd.org > Date: Saturday, November 6, 2010, 7:14 PM > On Sat, Nov 06, 2010 at 10:48:52AM > -0700, James Hozier wrote: > > I've been trying to get my sound working and tried > playing an audio file with mplayer, > > xmms, and vlc, and it seems like it's playing fine (I > can even see the visual bars > > moving in xmms) but I get no sound at all with my > speakers up all the way. Here is > > what I have done so far: > > > > As per the FAQ's instructions: > > > > $ cat > /dev/audio < /dev/zero & > > [1] 6310 > > $ audioctl play.{seek,samples,errors} > > play.seek=48000 > > play.samples=1833600 > > play.errors=0 > > $ audioctl play.{seek,samples,errors} > > play.seek=57600 > > play.samples=4089600 > > play.errors=0 > > $ audioctl play.{seek,samples,errors} > > play.seek=57600 > > play.samples=5299200 > > play.errors=0 > > $ kill %1 > > $ fg %1 > > cat > /dev/audio < /dev/zero > > Terminated > > > > It seems as if it's okay with the samples increasing > each time, > > > > mixer settings: > > > > $ mixerctl > > inputs.dac-0:1_mute=off > > inputs.dac-0:1=200,200 > > inputs.dac-2:3_mute=off > > inputs.dac-2:3=126,126 > > record.adc-0:1_source=mic > > record.adc-0:1_mute=off > > record.adc-0:1=124,124 > > outputs.hp_source=dac-0:1 > > outputs.hp_boost=off > > outputs.spkr_source= > > outputs.spkr2_source=dac-2:3 > > inputs.mic=85,85 > > outputs.mic_dir=input-vr80 > > outputs.SPDIF_source=dig-dac-0:1 > > outputs.hp_sense=plugged > > outputs.spkr2_muters=hp > > outputs.master=200,200 > > outputs.master.mute=off > > outputs.master.slaves=dac-0:1,dac-2:3 > > record.volume=124,124 > > record.volume.mute=off > > record.volume.slaves=adc-0:1 > > outputs.mode=analog > > > > Everything seems to be at a reasonable volume and > nothing is muted, > > > > And I'm not sure how to figure out what kind of audio > hardware I have, so I just > > tried this: > > > > $ dmesg | grep audio > > audio0 at azalia0 > > > > What else can I try? > > full dmesg and mixerctl -v output. > > -- > jake...@sdf.lonestar.org > SDF Public Access UNIX System - http://sdf.lonestar.org > >
mixerctl -v: $ mixerctl -v inputs.dac-0:1_mute=off [ off on ] inputs.dac-0:1=200,200 inputs.dac-2:3_mute=off [ off on ] inputs.dac-2:3=254,254 record.adc-0:1_source=mic [ mic ] record.adc-0:1_mute=off [ off on ] record.adc-0:1=0,0 outputs.hp_source=dac-0:1 [ dac-0:1 ] outputs.hp_boost=off [ off on ] outputs.spkr_source= [ ] outputs.spkr2_source=dac-2:3 [ dac-2:3 ] inputs.mic=85,85 outputs.mic_dir=input-vr80 [ none input input-vr0 input-vr50 input-vr80 ] outputs.SPDIF_source=dig-dac-0:1 [ dig-dac-0:1 ] outputs.hp_sense=plugged [ unplugged plugged ] outputs.spkr2_muters=hp { hp } outputs.master=200,200 outputs.master.mute=off [ off on ] outputs.master.slaves=dac-0:1,dac-2:3 { dac-0:1 dac-2:3 } record.volume=0,0 record.volume.mute=on [ off on ] record.volume.slaves=adc-0:1 { adc-0:1 mic } outputs.mode=analog [ analog digital ] full dmesg: $ dmesg OpenBSD 4.8 (GENERIC.MP) #359: Mon Aug 16 09:16:26 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error f7<clock_battery,ROM_cksum,config_unit,memory_size,invalid_time> cpu0: Intel(R) Core(TM)2 Duo CPU P7550 @ 2.26GHz ("GenuineIntel" 686-class) 2.26 GHz cpu0: FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE real mem = 2926321664 (2790MB) avail mem = 2868469760 (2735MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @ 0xe0000 (42 entries) bios0: vendor Apple Inc. version "MBP55.88Z.00AC.B03.0906151708" date 06/15/09 bios0: Apple Inc. MacBookPro5,5 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT acpi0: wakeup devices ADP1(S3) LID0(S3) EC__(S3) OHC1(S3) EHC1(S3) OHC2(S3) EHC2(S3) GIGE(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 25000000 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 265MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU P7550 @ 2.26GHz ("GenuineIntel" 686-class) 2.26 GHz cpu1: FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (IXVE) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "3545797981023400290" type 3545797981528607052 oem "3545797981528673619" bios0: ROM list: 0xc0000/0xe800 cpu0: Enhanced SpeedStep 2256 MHz: speeds: 2261, 2128, 1862, 1596, 798 MHz memory map conflict 0xffc00000/0x400000 pci0 at mainbus0 bus 0: configuration mode 1 (bios) mem address conflict 0xd3400000/0x80000 pchb0 at pci0 dev 0 function 0 "NVIDIA MCP79 Host" rev 0xb1 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 0 function 1 not configured pcib0 at pci0 dev 3 function 0 "NVIDIA MCP79 ISA" rev 0xb3 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 3 function 1 not configured nviic0 at pci0 dev 3 function 2 "NVIDIA MCP79 SMBus" rev 0xb1 iic0 at nviic0 sdtemp0 at iic0 addr 0x18: stts424e02 sdtemp1 at iic0 addr 0x19: stts424e02 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM with thermal sensor spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-8500 SO-DIMM with thermal sensor iic1 at nviic0 iic1: addr 0x2c 00=ff 02=08 03=f9 07=60 0d=74 71=06 86=48 90=71 91=61 92=a4 93=79 94=31 95=3c 96=7c 97=92 9f=0c a0=3d a1=3d a2=3d a3=3d a4=3f a5=3d a6=3d a7=3d a8=2d a9=3d aa=3d ab=3d ac=3d ad=3d ae=3d af=3d b0=3d b1=bd b2=3d b3=3d b4=3d b5=3d b6=3d b7=3d b8=3d b9=3d ba=3d bb=3d bc=3d bd=3d be=3d bf=3d words 00=ff00 01=0008 02=08f9 03=f900 04=0000 05=0000 06=0060 07=6000 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 3 function 3 not configured vendor "NVIDIA", unknown product 0x0a98 (class memory subclass RAM, rev 0xb1) at pci0 dev 3 function 4 not configured "NVIDIA MCP79 Co-processor" rev 0xb1 at pci0 dev 3 function 5 not configured ohci0 at pci0 dev 4 function 0 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 11 (irq 11), version 1.0, legacy support ehci0 at pci0 dev 4 function 1 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 10 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 6 function 0 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 7 (irq 7), version 1.0, legacy support ehci1 at pci0 dev 6 function 1 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 5 (irq 5) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 8 function 0 "NVIDIA MCP79 HD Audio" rev 0xb1: apic 1 int 15 (irq 15) azalia0: codecs: Cirrus Logic/0x4206 audio0 at azalia0 ppb0 at pci0 dev 9 function 0 "NVIDIA MCP79 PCIE" rev 0xb1 pci1 at ppb0 bus 1 nfe0 at pci0 dev 10 function 0 "NVIDIA MCP79 LAN" rev 0xb1: apic 1 int 14 (irq 14), address 00:26:b0:da:a3:86 rgephy0 at nfe0 phy 1: RTL8169S/8110S PHY, rev. 2 pciide0 at pci0 dev 11 function 0 "NVIDIA MCP79 SATA" rev 0xb1: DMA pciide0: using apic 1 int 11 (irq 11) for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: <FUJITSU MJA2160BH FFS G1> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRW GS23N, SB00> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6 ppb1 at pci0 dev 16 function 0 "NVIDIA MCP79 PCIE" rev 0xb1 pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "NVIDIA GeForce 9400m" rev 0xb1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb2 at pci0 dev 21 function 0 "NVIDIA MCP79 PCIE" rev 0xb1: apic 1 int 10 (irq 255) pci3 at ppb2 bus 3 "Broadcom BCM4322" rev 0x01 at pci3 dev 0 function 0 not configured ppb3 at pci0 dev 22 function 0 "NVIDIA MCP79 PCIE" rev 0xb1: apic 1 int 7 (irq 255) pci4 at ppb3 bus 4 "AT&T/Lucent FW643 1394" rev 0x07 at pci4 dev 0 function 0 not configured isa0 at pcib0 isadma0 at isa0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb2 at ohci0: USB revision 1.0 uhub2 at usb2 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 usb3 at ohci1: USB revision 1.0 uhub3 at usb3 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 mtrr: Pentium Pro MTRR support uvideo0 at uhub0 port 4 configuration 1 interface 0 "Apple Inc. Built-in iSight" rev 2.00/4.19 addr 2 video0 at uvideo0 umass0 at uhub1 port 5 configuration 1 interface 0 "Apple Card Reader" rev 2.00/98.33 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <APPLE, SD Card Reader, 1.00> SCSI0 0/direct removable sd0: drive offline uhub4 at uhub3 port 1 "Apple Inc. BRCM2046 Hub" rev 2.00/1.00 addr 2 uhidev0 at uhub2 port 5 configuration 1 interface 0 "Apple Computer, Inc. IR Receiver" rev 2.00/0.16 addr 2 uhidev0: iclass 3/0, 38 report ids uhid0 at uhidev0 reportid 36: input=4, output=0, feature=0 uhid1 at uhidev0 reportid 37: input=4, output=0, feature=0 uhid2 at uhidev0 reportid 38: input=4, output=0, feature=0 ubt0 at uhub4 port 1 "Apple Inc. Bluetooth USB Host Controller" rev 2.00/1.80 addr 3 uhidev1 at uhub2 port 6 configuration 1 interface 0 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/0.81 addr 3 uhidev1: iclass 3/1, 9 report ids ukbd0 at uhidev1 reportid 1: 8 modifier keys, 6 key codes, country code 33 wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhid3 at uhidev1 reportid 9: input=0, output=0, feature=3 uhidev2 at uhub2 port 6 configuration 1 interface 1 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/0.81 addr 3 uhidev2: iclass 3/0, 68 report ids uhid4 at uhidev2 reportid 68: input=511, output=0, feature=0 uhidev3 at uhub2 port 6 configuration 1 interface 2 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/0.81 addr 3 uhidev3: iclass 3/1, 2 report ids ums0 at uhidev3 reportid 2: 3 buttons wsmouse0 at ums0 mux 0 uhidev4 at uhub4 port 2 configuration 1 interface 0 "Apple Computer product 0x820a" rev 2.00/1.00 addr 4 uhidev4: iclass 3/1, 1 report id ukbd1 at uhidev4 reportid 1: 8 modifier keys, 6 key codes wskbd1 at ukbd1 mux 1 wskbd1: connecting to wsdisplay0 uhidev5 at uhub4 port 3 configuration 1 interface 0 "Apple Computer product 0x820b" rev 2.00/1.00 addr 5 uhidev5: iclass 3/1, 2 report ids ums1 at uhidev5 reportid 2: 3 buttons wsmouse1 at ums1 mux 0 uhidev6 at uhub3 port 2 configuration 1 interface 0 "Logitech USB Laser Mouse" rev 2.00/56.01 addr 6 uhidev6: iclass 3/1 ums2 at uhidev6: 8 buttons, Z dir wsmouse2 at ums2 mux 0 softraid0 at root root on wd0a swap on wd0b dump on wd0b