On Tue, 2013-02-26 at 23:36 +0100, Jan Stary wrote: > On Feb 26 23:25:17, martijn...@gmail.com wrote: > > Hello misc, > > > > I'm having troubles setting up my sound system on my openbsd-current > > laptop, a quite old Sony Vaio PCG-7H2M. If anyone has any idea of > > what the problem could be and has tips on how to solve it, it would > > be highly appreciated. > > What problem are you actually seeing? > How exactly are you trying to play/record > and what exactly is happening?
As the subject says, I have no sound what so ever. I tried playing back a couple of songxx.ogg files via the ogg123 command as suggested per faq/faq13.html. The program seems to run fine, I just can't seem to put it through to my laptop speakers. I can't test for external atm since I have a temporary lack of cable. > > My audioctl: > > name=HD-Audio > > version=1.0 > > config=azalia0 > > encodings=slinear_le:16:2:1,slinear_le:20:4:1,slinear_le:24:4:1 > > properties=full_duplex,independent > > full_duplex=0 > > fullduplex=0 > > blocksize=3840 > > hiwat=9 > > lowat=1 > > output_muted=0 > > monitor_gain=0 > > mode= > > play.rate=48000 > > play.channels=2 > > play.precision=16 > > play.bps=2 > > play.msb=1 > > play.encoding=slinear_le > > play.gain=232 > > play.balance=32 > > play.port=0x0 > > play.avail_ports=0x0 > > play.seek=0 > > play.samples=0 > > play.eof=0 > > play.pause=1 > > play.error=0 > > play.waiting=0 > > play.open=0 > > play.active=0 > > play.buffer_size=65536 > > play.block_size=3840 > > play.errors=0 > > record.rate=48000 > > record.channels=2 > > record.precision=16 > > record.bps=2 > > record.msb=1 > > record.encoding=slinear_le > > record.gain=127 > > record.balance=32 > > record.port=0x0 > > record.avail_ports=0x0 > > record.seek=0 > > record.samples=0 > > record.eof=0 > > record.pause=1 > > record.error=0 > > record.waiting=0 > > record.open=0 > > record.active=0 > > record.buffer_size=65536 > > record.block_size=3840 > > record.errors=0 > > > > My mixerctl -va: > > inputs.dac-4:5_mute=off [ off on ] > > inputs.dac-4:5=126,126 > > inputs.dac-0:1_mute=off [ off on ] > > inputs.dac-0:1=232,232 > > inputs.dac-2:3_mute=off [ off on ] > > inputs.dac-2:3=126,126 > > inputs.sel_source=cd [ cd ] > > inputs.sel_mute=off [ off on ] > > inputs.sel_cd=119,119 > > record.adc-0:1_source=sel3 [ sel3 ] > > record.adc-0:1_mute=off [ off on ] > > record.adc-0:1_sel3=119,119 > > outputs.hp_source=dac-4:5 [ dac-4:5 ] > > outputs.hp_dir=output [ none output input input-vr0 input-vr50 input-vr80 ] > > outputs.hp_boost=off [ off on ] > > outputs.line_source=dac-0:1 [ dac-0:1 ] > > outputs.line2_source=dac-2:3 [ dac-2:3 ] > > outputs.SPDIF_source=dig-dac-0:1 [ dig-dac-0:1 adc-0:1 ] > > inputs.sel3_source=mic [ hp mic dac-4:5 ] > > outputs.sel3_mute=off [ off on ] > > outputs.sel3=126,126 > > inputs.beep=85 > > outputs.hp_sense=unplugged [ unplugged plugged ] > > outputs.line_sense=unplugged [ unplugged plugged ] > > outputs.master=232,232 > > outputs.master.mute=off [ off on ] > > outputs.master.slaves=dac-0:1 { dac-4:5 dac-0:1 dac-2:3 sel3 beep } > > outputs.mode=analog [ analog digital ] > > > > my dmesg.boot: > > OpenBSD 5.3 (GENERIC.MP) #45: Thu Feb 21 23:15:34 MST 2013 > > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP > > cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" > > 686-class) 1.83 GHz > > cpu0: > > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF > > real mem = 2145513472 (2046MB) > > avail mem = 2099458048 (2002MB) > > mainbus0 at root > > bios0 at mainbus0: AT/286+ BIOS, date 02/17/06, BIOS32 rev. 0 @ > > 0xfd5f0, SMBIOS rev. 2.40 @ 0xdc010 (20 entries) > > bios0: vendor Phoenix Technologies LTD version "R0070J3" date 02/17/2006 > > bios0: Sony Corporation VGN-FE11S > > acpi0 at bios0: rev 0 > > acpi0: sleep states S0 S3 S4 S5 > > acpi0: tables DSDT FACP APIC BOOT MCFG APIC SSDT SSDT SSDT > > acpi0: wakeup devices PWRB(S4) PXS1(S3) PXS2(S4) PXS3(S3) PXS4(S4) > > PXS5(S4) PXS6(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB7(S3) > > LANC(S3) > > acpitimer0 at acpi0: 3579545 Hz, 24 bits > > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > > cpu0 at mainbus0: apid 0 (boot processor) > > cpu0: apic clock running at 166MHz > > cpu1 at mainbus0: apid 1 (application processor) > > cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" > > 686-class) 1.83 GHz > > cpu1: > > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF > > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins > > ioapic0: misconfigured as apic 2, remapped to apid 1 > > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > > acpiprt0 at acpi0: bus 0 (PCI0) > > acpiprt1 at acpi0: bus 1 (PEGP) > > acpiprt2 at acpi0: bus 2 (RP01) > > acpiprt3 at acpi0: bus 4 (RP02) > > acpiprt4 at acpi0: bus 6 (RP03) > > acpiprt5 at acpi0: bus 8 (RP04) > > acpiprt6 at acpi0: bus -1 (RP05) > > acpiprt7 at acpi0: bus -1 (RP06) > > acpiprt8 at acpi0: bus 10 (PCIB) > > acpiec0 at acpi0 > > acpicpu0 at acpi0: C2, C1, PSS > > acpicpu1 at acpi0: C2, C1, PSS > > acpitz0 at acpi0: critical temperature is 105 degC > > acpitz1 at acpi0: critical temperature is 105 degC > > acpiac0 at acpi0: AC unit online > > acpibat0 at acpi0: BAT0 not present > > acpibtn0 at acpi0: LID0 > > acpibtn1 at acpi0: PWRB > > acpidock0 at acpi0: DOCK not docked (0) > > acpisony0 at acpi0: SNC_ > > acpivideo0 at acpi0: GFX0 > > bios0: ROM list: 0xc0000/0xf000 0xdc000/0x4000! 0xe0000/0x1800! > > cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz > > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > > pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 > > ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16 > > pci1 at ppb0 bus 1 > > vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7400 Go" rev 0xa1 > > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > > azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi > > azalia0: codecs: Sigmatel STAC9225, Conexant/0x2bfa, using Sigmatel STAC9225 > > audio0 at azalia0 > > ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 17 > > pci2 at ppb1 bus 2 > > ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 16 > > pci3 at ppb2 bus 4 > > ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 18 > > pci4 at ppb3 bus 6 > > wpi0 at pci4 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: > > msi, MoW2, address 00:13:02:0c:4c:9d > > ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21 > > pci5 at ppb4 bus 8 > > uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 23 > > uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17 > > uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18 > > uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 16 > > ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 23 > > usb0 at ehci0: USB revision 2.0 > > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > > ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 > > pci6 at ppb5 bus 10 > > cbb0 at pci6 dev 3 function 0 "TI PCIXX12 CardBus" rev 0x00: apic 1 > > int 16, CardBus support disabled > > "TI PCIXX12 FireWire" rev 0x00 at pci6 dev 3 function 1 not configured > > "TI PCIXX12 Multimedia Card Reader" rev 0x00 at pci6 dev 3 function > > 2 not configured > > fxp0 at pci6 dev 8 function 0 "Intel PRO/100 VM" rev 0x02, i82562: > > apic 1 int 20, address 00:13:a9:0f:1e:71 > > inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 > > cardslot0 at cbb0 slot 0 flags 0 > > pcmcia0 at cardslot0 > > ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM > > disabled > > pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, > > channel 0 configured to compatibility, channel 1 configured to > > compatibility > > atapiscsi0 at pciide0 channel 0 drive 0 > > scsibus0 at atapiscsi0: 2 targets > > cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-RAM UJ-841S, 1.10> > > ATAPI 5/cdrom removable > > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > > pciide0: channel 1 ignored (disabled) > > pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: > > DMA, channel 0 configured to native-PCI, channel 1 configured to > > native-PCI > > pciide1: using apic 1 int 19 for native-PCI interrupt > > wd0 at pciide1 channel 0 drive 0: <FUJITSU MHV2160BT> > > wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > > wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 > > ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: > > apic 1 int 19 > > iic0 at ichiic0 > > spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-4200CL5 SO-DIMM > > spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-4200CL5 SO-DIMM > > usb1 at uhci0: USB revision 1.0 > > uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb2 at uhci1: USB revision 1.0 > > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb3 at uhci2: USB revision 1.0 > > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb4 at uhci3: USB revision 1.0 > > uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > isa0 at ichpcib0 > > isadma0 at isa0 > > pckbc0 at isa0 port 0x60/5 > > pckbd0 at pckbc0 (kbd slot) > > pckbc0: using irq 1 for kbd slot > > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > > pms0 at pckbc0 (aux slot) > > pckbc0: using irq 12 for aux slot > > wsmouse0 at pms0 mux 0 > > pms0: ALPS Glidepoint, version 0x7321 > > pcppi0 at isa0 port 0x61 > > spkr0 at pcppi0 > > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > > mtrr: Pentium Pro MTRR support > > ugen0 at uhub0 port 8 "Vimicro Corp. USB2.0 Web Camera" rev 2.00/1.00 addr 2 > > vscsi0 at root > > scsibus1 at vscsi0: 256 targets > > softraid0 at root > > scsibus2 at softraid0: 256 targets > > root on wd0a (e1e7fe654ec4e6c9.a) swap on wd0b dump on wd0b