Jacob Meuser wrote:
On Fri, Dec 25, 2009 at 08:26:42PM -0600, Chris Bennett wrote:
Jacob Meuser wrote:
On Thu, Dec 24, 2009 at 04:02:58PM -0600, Chris Bennett wrote:
Well, you are right about front jack sense not working.
I didn't have the front jacks (only speaker and mic) connected until now.
However, I have now discovered that only the front panel mic jack works.
There is a spkr, line-in and mic jack built-in to the motherboard.
Only spkr works as far as I can tell.
I tested with aucat recording and mplayer playing back wav
Front panel mic and spkr, ok
built-in, only spkr works
strange. is there perhaps a switch/jumper on the board or bios option to
choose front or rear audio?
I could find no jumpers or bios options for switching front/rear.
There was a bios setting for legacy setting for front panel connections.
I set this correctly (was wrong) but this had no effect on my rear problems.
sounds like the connector data for the front and built-in connectors
got swapped somewhere and now the codec is giving incorrect info. can
you build and boot a kernel with 'option AZALIA_DEBUG' and send me the
resulting dmesg?
OpenBSD 4.6-current (GENERIC.MP) #0: Sat Dec 26 08:31:33 CST 2009
r...@guat.my.domain:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz ("GenuineIntel" 686-class) 3.20 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,CNXT-ID,xTPR
real mem = 517361664 (493MB)
avail mem = 492625920 (469MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/16/06, SMBIOS rev. 2.4 @
0xe4410 (32 entries)
bios0: vendor Intel Corp. version "MQ96510J.86A.0816.2006.0716.2308"
date 07/16/2006
bios0: Intel Corporation DQ963FX
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC WDDT MCFG ASF!
acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S4) UAR2(S4) ILAN(S4)
PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) UHC1(S3) UHC2(S3)
UHC3(S3) UHC4(S3) EHCI(S3) EHC2(S3) UH42(S3) UHC5(S3) AZAL(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 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) 4 CPU 3.20GHz ("GenuineIntel" 686-class) 3.20 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,CNXT-ID,xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 6 (P32_)
acpiprt2 at acpi0: bus 1 (PEX0)
acpiprt3 at acpi0: bus 2 (PEX1)
acpiprt4 at acpi0: bus 3 (PEX2)
acpiprt5 at acpi0: bus 4 (PEX3)
acpiprt6 at acpi0: bus 5 (PEX4)
acpiprt7 at acpi0: bus -1 (PEX5)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibtn0 at acpi0: SLPB
bios0: ROM list: 0xc0000/0xb000! 0xcb000/0x1000 0xcc000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0x20000000, size 0x10000000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
"Intel 82Q965 HECI" rev 0x02 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel ICH8 IGP C" rev 0x02: apic 2 int 20
(irq 9), address 00:16:76:d5:c8:08
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 2 int
16 (irq 11)
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 2 int
21 (irq 10)
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 2 int
18 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: apic
2 int 22 (irq 9)
azalia_reset: resetting
azalia_reset: reset counter = 5000
azalia_reset: reset counter = 4984
azalia0: host: High Definition Audio rev. 1.0
azalia0: host: 4 output, 4 input, and 0 bidi streams
azalia0: found a codec at #2
azalia_init_corb: CORB allocation succeeded.
azalia_init_corb: CORBWP=0; size=256
azalia_init_rirb: RIRB allocation succeeded.
azalia_init_rirb: RIRBRP=0, size=256
azalia0: codec[2] vid 0x83847618, subid 0x20048086, rev. 2.1, HDA
version 1.0
azalia0: nidstart=1 #functions=1
azalia_codec_init: FTYPE result = 0x00000101
azalia_codec_init: There are 35 widgets in the audio function.
encodings=1<PCM>
PCM
formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
inamp: mute=0 size=5 steps=14 offset=0
outamp: mute=1 size=2 steps=127 offset=127
gpio: wake=1 unsol=1 gpis=0 gpos=0 gpios=3
azalia0: dac02 wcap=d0c05<LRSWAP,POWER,OUTAMP,STEREO>
azalia0: dac03 wcap=d0c05<LRSWAP,POWER,OUTAMP,STEREO>
azalia0: dac04 wcap=d0c05<LRSWAP,POWER,OUTAMP,STEREO>
azalia0: dac05 wcap=d0c05<LRSWAP,POWER,OUTAMP,STEREO>
azalia0: vendor06 wcap=fd0c05<LRSWAP,POWER,OUTAMP,STEREO>
azalia0: adc07 wcap=1d0541<POWER,CONNLIST,PROC,STEREO>
connections=0x1b; selected=0x1b
azalia0: adc08 wcap=1d0541<POWER,CONNLIST,PROC,STEREO>
connections=0x1c; selected=0x1c
azalia0: adc09 wcap=1d0541<POWER,CONNLIST,PROC,STEREO>
connections=0x1d; selected=0x1d
azalia0: green0a wcap=400181<CONNLIST,UNSOL,STEREO>
cap=173f<VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER,IMPEDANCE>
[01/15] color=green device=hp conn=jack conntype=1/8
location=front chassis=external special=none
connections=0x2,0x3; selected=0x2
azalia0: pink0b wcap=400181<CONNLIST,UNSOL,STEREO>
cap=173f<VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER,IMPEDANCE>
[02/03] color=pink device=mic conn=jack conntype=1/8
location=rear chassis=external special=none
connections=0x2,0x3; selected=0x2
azalia0: blue0c wcap=400181<CONNLIST,UNSOL,STEREO>
cap=1737<VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE>
[02/01] color=blue device=line-in conn=jack conntype=1/8
location=rear chassis=external special=none
connections=0x3; selected=0x3
azalia0: green0d wcap=400181<CONNLIST,UNSOL,STEREO>
cap=173f<VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER,IMPEDANCE>
[01/00] color=green device=spkr conn=jack conntype=1/8
location=rear chassis=external special=none
connections=0x2; selected=0x2
azalia0: other0e wcap=400181<CONNLIST,UNSOL,STEREO>
cap=1737<VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE>
[15/00] color=other device=other conn=none conntype=unknown
location=n/a chassis=external special=none
connections=0x4; selected=0x4
azalia0: other0f wcap=400181<CONNLIST,UNSOL,STEREO>
cap=1737<VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE>
[15/01] color=other device=other conn=none conntype=unknown
location=n/a chassis=external special=none
connections=0x5; selected=0x5
azalia0: other10 wcap=400181<CONNLIST,UNSOL,STEREO>
cap=37<INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE>
[15/02] color=other device=other conn=none conntype=unknown
location=n/a chassis=external special=none
connections=0x4; selected=0x4
azalia0: other11 wcap=400181<CONNLIST,UNSOL,STEREO>
cap=37<INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE>
[15/03] color=other device=other conn=none conntype=unknown
location=n/a chassis=external special=none
connections=0x3; selected=0x3
azalia0: unknown12 wcap=400001<STEREO>
cap=20<INPUT>
[15/00] color=unknown device=cd conn=none conntype=atapi
location=n/a chassis=internal special=none
azalia0: vendor13 wcap=f00001<STEREO>
azalia0: vendor14 wcap=f00001<STEREO>
azalia0: sel15 wcap=30010d<CONNLIST,AMPOV,OUTAMP,STEREO>
outamp: mute=0 size=39 steps=4 offset=0
connections=0xe,0x12,0xf,0xb,0xc,0xd,0xa,0x10,0x11; selected=0xe
azalia0: sel16 wcap=30010d<CONNLIST,AMPOV,OUTAMP,STEREO>
outamp: mute=0 size=39 steps=4 offset=0
connections=0xe,0x12,0xf,0xb,0xc,0xd,0xa,0x10,0x11; selected=0xe
azalia0: sel17 wcap=30010d<CONNLIST,AMPOV,OUTAMP,STEREO>
outamp: mute=0 size=39 steps=4 offset=0
connections=0xe,0x12,0xf,0xb,0xc,0xd,0xa,0x10,0x11; selected=0xe
azalia0: sel18 wcap=300103<CONNLIST,INAMP,STEREO>
connections=0x15; selected=0x15
azalia0: sel19 wcap=300103<CONNLIST,INAMP,STEREO>
connections=0x16; selected=0x16
azalia0: sel1a wcap=300103<CONNLIST,INAMP,STEREO>
connections=0x17; selected=0x17
azalia0: sel1b wcap=30090d<LRSWAP,CONNLIST,AMPOV,OUTAMP,STEREO>
outamp: mute=1 size=0 steps=0 offset=0
connections=0x18; selected=0x18
azalia0: sel1c wcap=30090d<LRSWAP,CONNLIST,AMPOV,OUTAMP,STEREO>
outamp: mute=1 size=0 steps=0 offset=0
connections=0x19; selected=0x19
azalia0: sel1d wcap=30090d<LRSWAP,CONNLIST,AMPOV,OUTAMP,STEREO>
outamp: mute=1 size=0 steps=0 offset=0
connections=0x1a; selected=0x1a
azalia0: dac1e wcap=40211<DIGITAL,FORMATOV,STEREO>
encodings=5<AC3,PCM>
PCM
formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
azalia0: vendor1f wcap=f30201<DIGITAL,STEREO>
azalia0: adc20 wcap=140311<DIGITAL,CONNLIST,FORMATOV,STEREO>
encodings=5<AC3,PCM>
PCM formats=e0160<24bit,20bit,16bit,96kHz,48kHz,44.1kHz>
connections=0x22; selected=0x22
azalia0: gray21 wcap=400301<DIGITAL,CONNLIST,STEREO>
cap=10<OUTPUT>
[07/00] color=gray device=SPDIF conn=jack conntype=rca
location=rear chassis=external special=none
connections=0x1e,0x1f,0x1b,0x1c,0x1d; selected=0x1e
azalia0: gray22 wcap=430681<POWER,DIGITAL,UNSOL,STEREO>
cap=10024<EAPD,INPUT,PRESENCE>
[09/00] color=gray device=SPDIF-in conn=fixed conntype=rca
location=rear chassis=external special=none
azalia0: beep23 wcap=70000c<AMPOV,OUTAMP>
outamp: mute=0 size=23 steps=3 offset=3
azalia0: volume24 wcap=600000
delta=1 steps=127
azalia_codec_sort_pins: analog out pins: 0x0d->0x02 0x0c->0x03
0x0b->0x02 0x0a->0x02
azalia_codec_sort_pins: digital out pins: 0x21->0x1e
azalia_codec_sort_pins: analog in pins: 0x0d->0xffffffff
0x0c->0xffffffff 0x0b->0xffffffff 0x0a->0xffffffff
azalia_codec_sort_pins: digital in pins: 0x22->0xffffffff
azalia0: dacgroup[0]: 02 03
azalia0: dacgroup[1]: 1e
azalia0: adcgroup[0]: 07 08 09
azalia0: adcgroup[1]: 20
azalia0: codecs: Sigmatel STAC9227X
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02: apic 2 int
17 (irq 255)
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02: apic 2 int
16 (irq 255)
pci2 at ppb1 bus 2
pciide0 at pci2 dev 0 function 0 "Marvell 88SE6101 IDE" rev 0xb1: DMA
(unsupported), channel 0 configured to native-PCI, channel 1 configured
to native-PCI
pciide0: using apic 2 int 17 (irq 10) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x02: apic 2 int
18 (irq 255)
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x02: apic 2 int
19 (irq 255)
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x02: apic 2 int
17 (irq 255)
pci5 at ppb4 bus 5
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 2 int
23 (irq 11)
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 2 int
19 (irq 11)
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: apic 2 int
18 (irq 11)
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 2 int
23 (irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xf2
pci6 at ppb5 bus 6
ichpcib0 at pci0 dev 31 function 0 "Intel 82801H LPC" rev 0x02: PM disabled
pciide1 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 19 (irq 11) for native-PCI interrupt
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <ATAPI, iHAS324 Y, BL1X> ATAPI 5/cdrom
removable
cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x02: apic 2
int 21 (irq 10)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-4200CL3
pciide2 at pci0 dev 31 function 5 "Intel 82801H SATA" rev 0x02: DMA,
channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide2: using apic 2 int 19 (irq 11) for native-PCI interrupt
wd0 at pciide2 channel 0 drive 0: <Hitachi HDS721050CLA362>
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 6
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
uhub7 at uhub5 port 2 "ALCOR Generic USB Hub" rev 1.10/3.12 addr 2
uhidev0 at uhub7 port 1 configuration 1 interface 0 "Microsoft
Natural\M-. Ergonomic Keyboard 4000" rev 2.00/1.73 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub7 port 1 configuration 1 interface 1 "Microsoft
Natural\M-. Ergonomic Keyboard 4000" rev 2.00/1.73 addr 3
uhidev1: iclass 3/0, 1 report id
uhid0 at uhidev1 reportid 1: input=7, output=0, feature=0
uhidev2 at uhub7 port 2 configuration 1 interface 0 "Logitech USB
Receiver" rev 1.10/25.00 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 16 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev3 at uhub7 port 3 configuration 1 interface 0 "No brand HA2 1.0"
rev 1.10/1.00 addr 5
uhidev3: iclass 3/0
ukbd1 at uhidev3: 8 modifier keys, 6 key codes
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhidev4 at uhub7 port 3 configuration 1 interface 1 "No brand HA2 1.0"
rev 1.10/1.00 addr 5
uhidev4: no input interrupt endpoint
ukbd0: was console keyboard
wskbd0 detached
ukbd0 detached
uhidev0 detached
uhid0 detached
uhidev1 detached
wsmouse0 detached
ums0 detached
uhidev2 detached
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd1 detached
uhidev3 detached
uhidev4 detached
uhub7 detached
--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
-- Robert Heinlein