Hello list,

The headphone and mic 3.5mm jacks on my Thinkpad X41 Tablet are
quirky.  I want to throw it all out there for reference to others, and
in case the quirks are actually bugs. I'm using a cheap analog
headset.

(I can record & play audio fine with the right mixerctl settings.
There isn't a "problem" here except odd behavior for some of the
knobs.)

I have to toggle the bluetooth softswitch (Fn+F5 on my laptop) the
first time in order to use the headphone jack.  Otherwise it just
outputs to speakers no matter the mixerctl settings or plug state.
Subsequent plug changes are detected ok.

The outputs.hp and outputs.hp.mute mixerctl settings have no effect on
the sound volume out the headset jack.  (Are they supposed to?)

The inputs.mic and inputs.mic.mute mixerctl settings have no
discernible effect on the sound volume/quality of a recorded sample
(Are they supposed to?).  A recording at inputs.mic=0/muted sounds the
same as one at inputs.mic=255/unmuted.  The two settings do however
affect the level of buzz/feedback I hear through the headphones from
the mic when they are plugged in (in the expected way--larger volume =
louder buzz; mute on silences the buzz).

The inputs.mic.preamp both increases the volume of the recorded audio
(significantly) and increases mic buzz, as expected.

The record.volume has an effect on recorded volume, but it is the
opposite of intuition (record.volume=0 causes the loudest recording;
record.volume=255 causes a recording so quiet it can barely be heard).
 The record.volume.mute does mute/unmute the mic as expected.

Cheers,
Anders.

dmesg:
OpenBSD 4.8-current (GENERIC) #429: Tue Oct 12 17:46:32 MDT 2010
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel" 686-class) 599 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 1600614400 (1526MB)
avail mem = 1564430336 (1491MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/19/06, BIOS32 rev. 0 @
0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (59 entries)
bios0: vendor IBM version "75ET60WW (2.06 )" date 12/19/2006
bios0: IBM 1866EG3
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 22%
apm0: AC off, battery charge high, estimated 0:35 hours
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0xf600! 0xcf800/0x1600 0xd1000/0x1000
0xdc000/0x4000! 0xe0000/0x10000
cpu0 at mainbus0: (uniprocessor)
cpu0: Enhanced SpeedStep 599 MHz: speeds: 1600, 1500, 1400, 1300,
1200, 1100, 1000, 900, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0x5f700000/0x80000
io address conflict 0x5800/0x8
io address conflict 0x5808/0x4
io address conflict 0x5810/0x8
io address conflict 0x580c/0x4
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x03
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 0xc0000000, size 0x10000000
inteldrm0 at vga1: no ifp : irq 11
drm0 at inteldrm0
"Intel 82915GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03: irq 11
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1
(0x4101): irq 11, address 00:16:d3:28:a2:ca
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 11
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 11
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3
pci2 at ppb1 bus 4
cbb0 at pci2 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11
sdhc0 at pci2 dev 0 function 1 "Ricoh 5C822 SD/MMC" rev 0x13: irq 11
sdmmc0 at sdhc0
iwi0 at pci2 dev 2 function 0 "Intel PRO/Wireless 2915ABG" rev 0x05:
irq 11, address 00:16:6f:92:21:b5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 5, ICH6 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x03: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <HTC426060G9AT00>
wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 11
iic0 at ichiic0
spdmem0 at iic0 addr 0x51: 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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask efdd netmask efdd ttymask ffdf
mtrr: Pentium Pro MTRR support
ugen0 at uhub3 port 2 "STMicroelectronics Biometric Coprocessor" rev
1.00/0.01 addr 2
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

mixerctl -v:
outputs.master=255,255 volume
outputs.master.mute=off  [ off on ]
outputs.mono=255 volume
outputs.mono.mute=on  [ off on ]
outputs.mono.source=mixerout  [ mixerout mic ]
outputs.hp=255,255 volume
outputs.hp.mute=on  [ off on ]
inputs.spkr=255 volume
inputs.spkr.mute=off  [ off on ]
inputs.phone=191 volume
inputs.phone.mute=on  [ off on ]
inputs.mic=7 volume
inputs.mic.mute=off  [ off on ]
inputs.mic.preamp=on  [ off on ]
inputs.mic.source=mic0  [ mic0 mic1 ]
inputs.line=191,191 volume
inputs.line.mute=on  [ off on ]
inputs.cd=191,191 volume
inputs.cd.mute=on  [ off on ]
inputs.video=255,255 volume
inputs.video.mute=off  [ off on ]
inputs.aux=191,191 volume
inputs.aux.mute=on  [ off on ]
inputs.dac=151,151 volume
inputs.dac.mute=off  [ off on ]
record.source=mic  [ mic cd video aux line mixerout mixeroutmono phone ]
record.volume=15,15 volume
record.volume.mute=off  [ off on ]
outputs.extamp=off  [ off on ]

Reply via email to