On Mar 15 17:36:04, [email protected] wrote:
> Hi!
>
> I have had very weak sound from my mic, which is plugged into
> the pink hole on the back of an ASUS A7N8X-XE.
>
> This is my dmesg:
>
> OpenBSD 5.0 (GENERIC) #43: Wed Aug 17 10:10:52 MDT 2011
> [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Athlon(tm) XP 3200+ ("AuthenticAMD" 686-class, 512KB L2 cache)
> 2.21 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
> XSR,SSE
> real mem = 2146824192 (2047MB)
> avail mem = 2101649408 (2004MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 09/09/05, BIOS32 rev. 0 @ 0xf0010,
> SMBIOS rev. 2.3 @ 0xf0650 (51 entries)
> bios0: vendor American Megatrends Inc. version "080012" date 09/09/2005
> bios0: ASUSTeK Computer INC. A7N8X-XE
> apm0 at bios0: Power Management spec V1.2
> acpi at bios0 function 0x0 not configured
> pcibios0 at bios0: rev 3.0 @ 0xf0000/0x10000
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf8af0/224 (12 entries)
> pcibios0: no compatible PCI ICU found: ICU vendor 0x10de product 0x0080
> pcibios0: Warning, unable to fix up PCI interrupt routing
> pcibios0: PCI bus #2 is the last bus
> bios0: ROM list: 0xc0000/0xf000
> cpu0 at mainbus0: (uniprocessor)
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "NVIDIA nForce2 PCI" rev 0xc1
> agp at pchb0 not configured
> "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 1 not configured
> "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 2 not configured
> "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 3 not configured
> "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 4 not configured
> "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 5 not configured
> pcib0 at pci0 dev 1 function 0 "NVIDIA nForce2 400 ISA" rev 0xa3
> nviic0 at pci0 dev 1 function 1 "NVIDIA nForce2 400 SMBus" rev 0xa1
> iic0 at nviic0
> spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL2.5
> spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC3200CL2.5
> spdmem2 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
> iic1 at nviic0
> ohci0 at pci0 dev 2 function 0 "NVIDIA nForce2 400 USB" rev 0xa1: irq 5,
> version 1.0, legacy support
> ohci1 at pci0 dev 2 function 1 "NVIDIA nForce2 400 USB" rev 0xa1: irq 5,
> version 1.0, legacy support
> ehci0 at pci0 dev 2 function 2 "NVIDIA nForce2 400 USB" rev 0xa2: irq 5
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
> nfe0 at pci0 dev 4 function 0 "NVIDIA nForce3 LAN" rev 0xa3: irq 3,
> address 00:15:f2:7c:ea:4a
> rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1
> auich0 at pci0 dev 6 function 0 "NVIDIA nForce2 400 AC97" rev 0xa1: irq
> 5, nForce2 AC97
> ac97: codec id 0x434d4983 (C-Media Electronics CMI9761A+)
> audio0 at auich0
> ppb0 at pci0 dev 8 function 0 "NVIDIA nForce2 400 PCI-PCI" rev 0xa3
> pci1 at ppb0 bus 2
> cmpci0 at pci1 dev 8 function 0 "C-Media Electronics CMI8738/C3DX Audio"
> rev 0x10: irq 5
> audio1 at cmpci0
> opl at cmpci0 not configured
> mpu at cmpci0 not configured
> pciide0 at pci0 dev 9 function 0 "NVIDIA nForce2 400 IDE" rev 0xa3: DMA,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> atapiscsi0 at pciide0 channel 0 drive 1
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CDDVDW SH-S202J, SB02> ATAPI
> 5/cdrom removable
> cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
> wd0 at pciide0 channel 1 drive 0: <Maxtor 6Y080P0>
> wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors
> wd1 at pciide0 channel 1 drive 1: <WDC WD2500AAJB-00WGA0>
> wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
> wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
> wd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
> pciide1 at pci0 dev 11 function 0 "NVIDIA nForce2 400 SATA" rev 0xa3: DMA
> pciide1: using irq 11 for native-PCI interrupt
> ppb1 at pci0 dev 30 function 0 "NVIDIA nForce2 AGP" rev 0xc1
> pci2 at ppb1 bus 1
> vga1 at pci2 dev 0 function 0 "NVIDIA GeForce FX 5200" rev 0xa1
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41
> lm1 at wbsio0 port 0x290/8: W83627HF
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
> usb2 at ohci1: USB revision 1.0
> uhub2 at usb2 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
> mtrr: Pentium Pro MTRR support
> uaudio0 at uhub2 port 1 configuration 1 interface 1 "Logitech product
> 0x08d8" rev 1.10/1.00 addr 2
> uaudio0: audio rev 1.00, 3 mixer controls
> audio2 at uaudio0
> ugen0 at uhub2 port 1 configuration 1 "Logitech product 0x08d8" rev
> 1.10/1.00 addr 2
> uhidev0 at uhub2 port 2 configuration 1 interface 0 "CHICONY HP Basic USB
> Keyboard" rev 1.10/3.00 addr 3
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on wd1a (831ded7021142917.a) swap on wd1b dump on wd1b
>
> The mixer settings I am trying right now:
>
> 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
> outputs.center=255
> outputs.center.mute=off
> outputs.lfe=255
> outputs.lfe.mute=off
> inputs.spkr=255
> inputs.spkr.mute=off
> inputs.phone=255
> inputs.phone.mute=off
> inputs.mic=255
> inputs.mic.mute=off
> inputs.mic.preamp=on
> inputs.mic.source=mic0
And there are no {input,outputs}.mic0_* variables?
> inputs.line=255,255
> inputs.line.mute=off
> inputs.cd=255,255
> inputs.cd.mute=off
> inputs.video=255,255
> inputs.video.mute=off
> inputs.aux=255,255
> inputs.aux.mute=off
> inputs.dac=191,191
> inputs.dac.mute=off
> record.source=mic
> record.volume=255,255
> record.volume.mute=off
> outputs.extamp=off
> outputs.spdif=off
>
> The audio settings:
>
> name=nForce2 AC97
> version=0xa1
> config=auich0
> encodings=ulinear:8:1:1,mulaw:8:1:1*,alaw:8:1:1*,slinear:8:1:1*,slinear_le:16
> :2:1,ulinear_le:16:2:1*,slinear_be:16:2:1*,ulinear_be:16:2:1*
> properties=full_duplex,mmap,independent
> full_duplex=1
> fullduplex=1
> blocksize=12800
> hiwat=4
> lowat=3
> output_muted=0
> monitor_gain=0
> mode=play,record
> play.rate=48000
> play.sample_rate=48000
> play.channels=2
> play.precision=16
> play.bps=2
> play.msb=1
> play.encoding=slinear_le
> play.gain=255
> play.balance=32
> play.port=0x0
> play.avail_ports=0x0
> play.seek=51200
> play.samples=384230400
> play.eof=0
> play.pause=0
> play.error=0
> play.waiting=0
> play.open=1
> play.active=1
> play.buffer_size=65536
> play.block_size=12800
> play.errors=0
> record.rate=48000
> record.sample_rate=48000
> record.channels=2
> record.precision=16
> record.bps=2
> record.msb=1
> record.encoding=slinear_le
> record.gain=255
> record.balance=32
> record.port=0x1
> record.avail_ports=0x7
> record.seek=0
> record.samples=384230400
> record.eof=0
> record.pause=0
> record.error=0
> record.waiting=0
> record.open=1
> record.active=1
> record.buffer_size=65536
> record.block_size=12800
> record.errors=0
>
>
> $ dir /dev/sound*
> lrwxr-xr-x 1 root wheel 11 Mar 7 23:05 /dev/sound@ ->
> /dev/sound0
> crw-rw-rw- 1 root wheel 42, 0 Mar 14 22:00 /dev/sound0
> crw-rw-rw- 1 root wheel 42, 1 Mar 14 22:00 /dev/sound1
> crw-rw-rw- 1 root wheel 42, 2 Mar 14 22:00 /dev/sound2
>
> $ dir /dev/audio*
> lrwxr-xr-x 1 root wheel 11 Mar 7 23:07 /dev/audio@ ->
> /dev/audio0
> crw-rw-rw- 1 root wheel 42, 128 Mar 15 17:22 /dev/audio0
> crw-rw-rw- 1 root wheel 42, 129 Mar 15 17:22 /dev/audio1
> crw-rw-rw- 1 root wheel 42, 130 Mar 14 22:00 /dev/audio2
> lrwxr-xr-x 1 root wheel 14 Mar 7 23:06 /dev/audioctl@ ->
> /dev/audioctl0
> crw-rw-rw- 1 root wheel 42, 192 Mar 14 22:00 /dev/audioctl0
> crw-rw-rw- 1 root wheel 42, 193 Mar 14 22:00 /dev/audioctl1
> crw-rw-rw- 1 root wheel 42, 194 Mar 14 22:00 /dev/audioctl2
>
> $ dir /dev/mixer*
> lrwxr-xr-x 1 root wheel 11 Mar 7 23:06 /dev/mixer@ ->
> /dev/mixer0
> crw-rw-rw- 1 root wheel 42, 16 Mar 14 22:00 /dev/mixer0
> crw-rw-rw- 1 root wheel 42, 17 Mar 14 22:00 /dev/mixer1
> crw-rw-rw- 1 root wheel 42, 18 Mar 14 22:00 /dev/mixer2