From owner-freebsd-questions@freebsd.org Wed Jul 20 19:31:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB069B9E428 for ; Wed, 20 Jul 2016 19:31:41 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 680831C0E for ; Wed, 20 Jul 2016 19:31:41 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-wm0-x243.google.com with SMTP id i5so8408436wmg.2 for ; Wed, 20 Jul 2016 12:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version; bh=CeSaPtJFIxbEh4rcP5UsURwDvg21HEghaB3J6TfWfNg=; b=rWs/e1UOufsr63IsXg59hazetjEWMK9qkxb+gOd7V7lTgSBmjLEWbHb6NPa/syZYP1 odnBM1pIt0CJemteIP8iPHtJFBc+IyUSJJ3xBuhdhSOIaoc+LIYoMZSAxQ4nZn009fOS ETB5a9DHF4LkzS0Mij0NqGaViKpCVoArjxaJwNYtP8O+IZpR7sFEZRZL9xlliB+E0Qz+ LXTAqZDSgdPkRsWuvLO7MVlQHTiQUHyQcSB5TSpD4MTi1lwJ7GaYTWIvEst4UqmYYaCN 2G8BaUc0Xwv95PGgZnpvpDs1ggSGCipSQ1wcfqZl9qFrlIBweIbtoYss3WnjmML+BFjJ pAxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=CeSaPtJFIxbEh4rcP5UsURwDvg21HEghaB3J6TfWfNg=; b=kcvv94VOFF45WoZBPiX9mTvJrc2nmo4U9bd3hjrVQipLaHmlBUaVraesAXZfeQ2quO nZvhvlCHjv3HV+CEVOqnTQcMTehiGherNcMFwvLy0SvM2MeALx62PceWS+4x75KLl6e/ zBu7R5WLzVJXWV9eI1YH53ZAh08vdSbBOmKj4U3oGBzVOjSPJOM6Ethaf9FwdeO4SjIt Uw5Zo6gMHegobIHMcSF2Y9IA0/x183uTVuJ+pb29TRfCUrWB/OUTSdIZfQD0Mcx3iGWx VJ11s9kWzbj+Zf+IIlQ5kqJVBsNDDbfQR+jt8L6HdoI2iCV7hPaUb1LFhQbWrQ2VZxiM mKtw== X-Gm-Message-State: ALyK8tJv92y3znT3BUgX1rwSwmcZ3Hp0pK1/3afR/+njTfEjYRKAxquZ8bPmZYNcZCVyZw== X-Received: by 10.194.71.104 with SMTP id t8mr3062684wju.128.1469043099529; Wed, 20 Jul 2016 12:31:39 -0700 (PDT) Received: from localhost ([37.153.108.22]) by smtp.gmail.com with ESMTPSA id a2sm32994064wma.2.2016.07.20.12.31.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jul 2016 12:31:38 -0700 (PDT) From: Malcolm Matalka To: freebsd-questions@freebsd.org Subject: Sound from laptop headphones quiet and distorted Date: Wed, 20 Jul 2016 19:31:37 +0000 Message-ID: <867fcghzs6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 19:31:42 -0000 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: at cad 0 on hdac0 hdaa0: 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: 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: 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: at cad 2 on hdac0 hdaa1: 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