With default settings, no sound using builtin speaker/headphones
adding:
iI have sound using headphones.
Log insert headphone jack:
Log remove headphone jack:
Full dmesg: http://lissyara.su/patch/dmesg.boot.hp2133.txt
iI think, problem with mute=1
How I can change to mute=0?
adding:
Code:
hp2133$ grep hint.hdac /boot/loader.conf
hint.hdac.0.cad0.nid17.config="as=1 seq=15"
hint.hdac.0.cad0.nid22.config="as=1 seq=0"
hp2133$
Log insert headphone jack:
Code:
Nov 10 14:38:41 hp2133 kernel: hdaa0: Unsolicited response 44000000
Nov 10 14:38:41 hp2133 kernel: hdaa0: Pin sense: nid=17 sense=0xffffffff (connected)
Nov 10 14:38:41 hp2133 kernel: pcm0: Redirect output to: headphones
Nov 10 14:38:41 hp2133 kernel: hdaa0: Setting amplifier nid=17 index=0 out mute=0/0 vol=0/0
Nov 10 14:38:41 hp2133 kernel: hdaa0: Setting amplifier nid=22 index=0 out mute=1/1 vol=0/0
Nov 10 14:38:41 hp2133 kernel: pcm0: Playback channel set is: Front Left, Front Right,
Nov 10 14:38:41 hp2133 kernel: pcm0: Playback channel matrix is: 2.0 (connected)
Log remove headphone jack:
Code:
Nov 10 14:38:52 hp2133 kernel: hdaa0: Unsolicited response 44000000
Nov 10 14:38:52 hp2133 kernel: hdaa0: Pin sense: nid=17 sense=0x7fffffff (disconnected)
Nov 10 14:38:52 hp2133 kernel: pcm0: Redirect output to: main
Nov 10 14:38:52 hp2133 kernel: hdaa0: Setting amplifier nid=17 index=0 out mute=1/1 vol=0/0
Nov 10 14:38:52 hp2133 kernel: hdaa0: Setting amplifier nid=22 index=0 out mute=0/0 vol=0/0
Nov 10 14:38:52 hp2133 kernel: pcm0: Playback channel set is: Front Left, Front Right,
Nov 10 14:38:52 hp2133 kernel: pcm0: Playback channel matrix is: 2.0 (unknown)
Full dmesg: http://lissyara.su/patch/dmesg.boot.hp2133.txt
Code:
hp2133$ cat /dev/sndstat
FreeBSD Audio Driver (32bit 2009061500/i386)
Installed devices:
pcm0: <Analog Devices AD1984A (Analog 2.0+HP/2.0)> on hdaa0 (1p:1v/1r:1v) default
snddev flags=0x2e2<AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC>
[pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004
interrupts 25936, underruns 0, feed 25936, ready 0 [b:4096/2048/2|bs:4096/2048/2]
channel flags=0x2100<BUSY,HAS_VCHAN>
{userland} -> feeder_mixer(0x00200010) -> {hardware}
pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:65536/2048/32]
channel flags=0x10000000<VIRTUAL>
{userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware}
[pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005
interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 [b:4096/2048/2|bs:4096/2048/2]
channel flags=0x2100<BUSY,HAS_VCHAN>
{hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland}
pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000
interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]
channel flags=0x10000000<VIRTUAL>
{hardware} -> feeder_root(0x00000000) -> {userland}
pcm1: <Analog Devices AD1984A (Front Analog Mic)> on hdaa0 (0p:0v/1r:1v)
snddev flags=0x2e3<SIMPLEX,AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC>
[pcm1:record:dsp1.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005
interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 [b:4096/2048/2|bs:4096/2048/2]
channel flags=0x2100<BUSY,HAS_VCHAN>
{hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland}
pcm1:record:dsp1.r0[pcm1:virtual:dsp1.vr0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000
interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]
channel flags=0x10000000<VIRTUAL>
{hardware} -> feeder_root(0x00000000) -> {userland}
File Versions:
$FreeBSD: releng/10.2/sys/dev/sound/pcm/vchan.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/sound.c 243459 2012-11-23 15:31:00Z mav $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/sndstat.c 248381 2013-03-16 17:57:00Z joel $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/mixer.c 271193 2014-09-06 15:24:48Z mav $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/feeder_volume.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/feeder_rate.c 209193 2010-06-15 07:06:54Z avg $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/feeder_mixer.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/feeder_matrix.c 243138 2012-11-16 07:05:57Z mav $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/feeder_format.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/feeder_eq.c 209193 2010-06-15 07:06:54Z avg $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/feeder_chain.c 283950 2015-06-03 15:32:43Z hselasky $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/feeder.c 227293 2011-11-07 06:44:47Z ed $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/dsp.c 283192 2015-05-21 07:48:06Z hselasky $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/channel.c 283950 2015-06-03 15:32:43Z hselasky $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/buffer.c 243450 2012-11-23 13:43:51Z mav $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/ac97_patch.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.2/sys/dev/sound/pcm/ac97.c 227293 2011-11-07 06:44:47Z ed $
$FreeBSD: releng/10.2/sys/dev/sound/pci/hda/hdacc.c 281963 2015-04-25 01:11:33Z rpaulo $
$FreeBSD: releng/10.2/sys/dev/sound/pci/hda/hdac.c 281963 2015-04-25 01:11:33Z rpaulo $
$FreeBSD: releng/10.2/sys/dev/sound/pci/hda/hdaa_patches.c 281963 2015-04-25 01:11:33Z rpaulo $
$FreeBSD: releng/10.2/sys/dev/sound/pci/hda/hdaa.c 283609 2015-05-27 13:23:02Z hselasky $
$FreeBSD: releng/10.2/sys/dev/sound/pci/via8233.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.2/sys/dev/sound/pci/ich.c 216518 2010-12-18 14:21:28Z tijl $
$FreeBSD: releng/10.2/sys/dev/sound/pci/es137x.c 254263 2013-08-12 23:30:01Z scottl $
$FreeBSD: releng/10.2/sys/dev/sound/pci/csapcm.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.2/sys/dev/sound/pci/csa.c 254263 2013-08-12 23:30:01Z scottl $
$FreeBSD: releng/10.2/sys/dev/sound/pci/cmi.c 254263 2013-08-12 23:30:01Z scottl $
$FreeBSD: releng/10.2/sys/dev/sound/isa/sndbuf_dma.c 193640 2009-06-07 19:12:08Z ariff $
Code:
hdaa0: nid: 22
hdaa0: Name: pin: Speaker (Fixed)
hdaa0: Widget cap: 0x0040058d PWR UNSOL STEREO
hdaa0: Association: 0 (0x0001)
hdaa0: Pin cap: 0x00010037 ISC TRQD PDC OUT IN EAPD
hdaa0: Pin config: 0x92174110
hdaa0: Pin control: 0x00000040 OUT
hdaa0: EAPD: 0x00000002
hdaa0: Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
hdaa0: Connections: 1
hdaa0: + <- nid=11 [audio mixer]
How I can change to mute=0?