Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2016 19:31:37 +0000
From:      Malcolm Matalka <mmatalka@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Sound from laptop headphones quiet and distorted
Message-ID:  <867fcghzs6.fsf@gmail.com>

next in thread | raw e-mail | index | archive | help
I'm on an Asus ZenBook UX305CA and I am experiencing oddness in the
quality of music with headphones.  Some sounds are quite loud and clear,
and other sounds are kind of distorted or it sounds like the sound is
recorded really far away from the microphone.  Things sound fine through
the speakers.  On top of that, in general sounds are not as loud as they
should be.  I have to run at near 100% sound (putting it to 100% makes
it sound distorted like a if you max out a speaker, even though the
actual sound is not loud).

The only thing I've done is I have the following in my device.hints so
that pcm0 is both speakers and headphones and it mutes the speakers when
I plug in the the headphones:

hint.hdaa.0.nid33.config="as=1 seq=15"

I also turned the equalizer on for pcm0 in hopes that would help me fix
the issue, but no dice:

hint.pcm.0.eq="1"

The output of a verbose boot is below.  This is from a verbose boot
prior to modifying device.hints, but the situation was no better.

Anyone have any suggestions on where to go next?

Thanks,
/Malcolm

hdacc0: <Realtek (0x0255) HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek (0x0255) Audio Function Group> at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x10431cfd
hdaa0: NumGPIO=3 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color
misc
hdaa0: 18 90a60130 3  0  Mic           Fixed Digital Internal   Unknown
1
hdaa0: 20 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown
1
hdaa0: 23 40000000 0  0  Line-out      None  Unknown 0x00       Unknown
0
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black
1
hdaa0: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black
1
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black
1
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black
1
hdaa0: 29 40479b45 4  5  SPDIF-out     None  Analog  0x00       Pink
11
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black
1
hdaa0: 33 04211020 2  0  Headphones    Jack  1/8     Right      Black
0
hdaa0: Patching widget caps nid=29 0x00400400 -> 0x00700400
hdaa0: Patching pin config nid=20 0x90170110 -> 0x9027011f
hdaa0: Patching pin config nid=25 0x411111f0 -> 0x41111140
hdaa0: Patching pin config nid=27 0x411111f0 -> 0x41111120
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color
misc
hdaa0: 18 90a60130 3  0  Mic           Fixed Digital Internal   Unknown
1
hdaa0: 20 9027011f 1  15 Headphones    Fixed Analog  Internal   Unknown
1
hdaa0: 23 40000000 0  0  Line-out      None  Unknown 0x00       Unknown
0 DISA
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black
1 DISA
hdaa0: 25 41111140 4  0  Speaker       None  1/8     Rear       Black
1 DISA
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black
1 DISA
hdaa0: 27 41111120 2  0  Speaker       None  1/8     Rear       Black
1 DISA
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black
1 DISA
hdaa0: 33 04211020 2  0  Headphones    Jack  1/8     Right      Black
0
hdaa0: 3 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=20 seq=15
hdaa0: Association 1 (2) out:
hdaa0:  Pin nid=33 seq=0
hdaa0: Association 2 (3) in:
hdaa0:  Pin nid=18 seq=0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 20 traced to DAC 2
hdaa0: Association 0 (1) trace succeeded
hdaa0: Tracing association 1 (2)
hdaa0:  Pin 33 traced to DAC 3
hdaa0: Association 1 (2) trace succeeded
hdaa0: Tracing association 2 (3)
hdaa0:  Pin 18 traced to ADC 8
hdaa0: Association 2 (3) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Looking for additional DAC for association 1 (2)
hdaa0: Looking for additional ADC for association 2 (3)
hdaa0: Tracing input monitor
hdaa0:  Tracing nid 35 to out
hdaa0: Tracing other input monitors
hdaa0:  Tracing nid 18 to out
hdaa0: Tracing beeper
hdaa0:  nid 29 traced to out
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0: <Realtek (0x0255) (Internal Analog)> at nid 20 and 18 on hdaa0
pcm0: Playback:
pcm0:      Stream cap: 0x00000001 PCM
pcm0:         PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
pcm0:             DAC: 2
pcm0:
pcm0:     nid=20 [pin: Headphones (Fixed)]
pcm0:       + <- nid=12 [audio mixer] [src: pcm, speaker]
pcm0:              + <- nid=2 [audio output] [src: pcm]
pcm0:              + <- nid=11 [audio mixer] [src: speaker]
pcm0:                     + <- nid=29 [beep widget] [src: speaker]
pcm0:
pcm0: Record:
pcm0:      Stream cap: 0x00000001 PCM
pcm0:         PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
pcm0:             ADC: 8
pcm0:
pcm0:     nid=8 [audio input]
pcm0:       + <- nid=35 [audio mixer] [src: speaker, monitor]
pcm0:              + <- nid=29 [beep widget] [src: speaker]
pcm0:              + <- nid=11 [audio mixer] [src: speaker]
pcm0:                     + <- nid=29 [beep widget] [src: speaker]
pcm0:              + <- nid=18 [pin: Mic (Fixed)] [src: monitor]
pcm0:
pcm0: Master Volume (OSS: vol): -65/0dB
pcm0:    +- ctl  1 (nid   2 out):    -65/0dB (88 steps)
pcm0:    +- ctl 10 (nid  12 in   0): mute
pcm0:    +- ctl 11 (nid  12 in   1): mute
pcm0:    +- ctl 16 (nid  20 in ):    mute
pcm0:
pcm0: PCM Volume (OSS: pcm): -65/0dB
pcm0:    +- ctl  1 (nid   2 out):    -65/0dB (88 steps)
pcm0:    +- ctl 10 (nid  12 in   0): mute
pcm0:
pcm0: Microphone2 Volume (OSS: monitor): 0/30dB
pcm0:    +- ctl 15 (nid  18 out):    0/30dB (4 steps)
pcm0:    +- ctl 36 (nid  35 in   6): mute
pcm0:
pcm0: Speaker/Beep Volume (OSS: speaker): -34/12dB
pcm0:    +- ctl  9 (nid  11 in   4): -34/12dB (32 steps) + mute
pcm0:    +- ctl 11 (nid  12 in   1): mute
pcm0:    +- ctl 34 (nid  35 in   4): mute
pcm0:    +- ctl 35 (nid  35 in   5): mute
pcm0:
pcm0: Recording Level (OSS: rec): -17/30dB
pcm0:    +- ctl  3 (nid   8 in   0): -17/30dB (64 steps) + mute
pcm0:    +- ctl 15 (nid  18 out):    0/30dB (4 steps)
pcm0:    +- ctl 34 (nid  35 in   4): mute
pcm0:    +- ctl 35 (nid  35 in   5): mute
pcm0:    +- ctl 36 (nid  35 in   6): mute
pcm0:
pcm0: Input Monitoring Level (OSS: igain): 0/0dB
pcm0:    +- ctl 11 (nid  12 in   1): mute
pcm0:
pcm0: Mixer "vol":
pcm0: Mixer "pcm":
pcm0: Mixer "speaker":
pcm0: Mixer "rec":
pcm0: Mixer "igain":
pcm0: Mixer "ogain":
pcm0: Mixer "monitor":
pcm0: Playback channel matrix is: unknown, assuming 2.0 (unknown)
pcm0: Automatically set rec source to: monitor
pcm0: Recording channel set is: Front Left, Front Right,
pcm0: Recording channel matrix is: 2.0 (unknown)
pcm1: <Realtek (0x0255) (Right Analog Headphones)> at nid 33 on hdaa0
pcm1: Playback:
pcm1:      Stream cap: 0x00000001 PCM
pcm1:         PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
pcm1:             DAC: 3
pcm1:
pcm1:     nid=33 [pin: Headphones (Black Jack)]
pcm1:       + <- nid=13 [audio mixer] [src: pcm, speaker]
pcm1:              + <- nid=3 [audio output] [src: pcm]
pcm1:              + <- nid=11 [audio mixer] [src: speaker]
pcm1:                     + <- nid=29 [beep widget] [src: speaker]
pcm1:
pcm1: Master Volume (OSS: vol): -65/0dB
pcm1:    +- ctl  2 (nid   3 out):    -65/0dB (88 steps)
pcm1:    +- ctl 12 (nid  13 in   0): mute
pcm1:    +- ctl 13 (nid  13 in   1): mute
pcm1:    +- ctl 23 (nid  33 in ):    mute
pcm1:
pcm1: PCM Volume (OSS: pcm): -65/0dB
pcm1:    +- ctl  2 (nid   3 out):    -65/0dB (88 steps)
pcm1:    +- ctl 12 (nid  13 in   0): mute
pcm1:
pcm1: Speaker/Beep Volume (OSS: speaker)
pcm1:    +- ctl 13 (nid  13 in   1): mute
pcm1:
pcm1: Input Monitoring Level (OSS: igain): 0/0dB
pcm1:    +- ctl 13 (nid  13 in   1): mute
pcm1:
pcm1: Mixer "vol":
pcm1: Mixer "pcm":
pcm1: Mixer "igain":
pcm1: Mixer "ogain":
pcm1: Playback channel set is: Front Left, Front Right,
pcm1: Playback channel matrix is: 2.0 (disconnected)
hdacc1: <Intel (0x2809) HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel (0x2809) Audio Function Group> at nid 1 on hdacc1
hdaa1: Subsystem ID: 0x80860101
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa1: Original pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color
misc
hdaa1:  3 58560010 1  0  Digital-out   None  Digital 0x18       Unknown
0
hdaa1: Patched pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color
misc
hdaa1:  3 58560010 1  0  Digital-out   None  Digital 0x18       Unknown
0 DISA
hdaa1: Tracing input monitor
hdaa1: Tracing other input monitors
hdaa1: Tracing beeper
hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867fcghzs6.fsf>