From owner-freebsd-current@freebsd.org Mon Oct 1 16:58:47 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1148810A3FB6 for ; Mon, 1 Oct 2018 16:58:47 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6544B8244E for ; Mon, 1 Oct 2018 16:58:46 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x435.google.com with SMTP id y16so6542496wrw.3 for ; Mon, 01 Oct 2018 09:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t8NmHOkHre3Ekms0YdBCIsRgDyypvo09NALPcKgPhWo=; b=KIc+6HGc2Px6lPdc5vRlUHOmGVak3IYOPYdy1Mf9UEJJ6Q6KIbQCu+nVSCRjtid6F7 FmkQ/tzPV/jlJEg6E2Pu5rBXpoXz8slV2Gloudrr5ZpM2wYkRbk4+f1txYsHfLXTVSvI 36UGF4Mg+JSoMbPzO9Hy2TTs5leUzYQ/hPju94oh2iUZ9nHAy1l+aqDrekMxRxScV3oS fnsHBSG992BToKBdBNy7m2IWs1SsfpKUDOYD/GXr1eH9TIxF05C/hz3vF4dzn72CANEc OVyj5IIKIbGONgMPTUd6D9DoYZQehOdvQHza+dyNpbs3lwopMFBWB2CIOCqhnaJb4FgY ixzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t8NmHOkHre3Ekms0YdBCIsRgDyypvo09NALPcKgPhWo=; b=q6YoyGYU7VKQ/pQztc7JSWNEEoPnbMYQvN0I+USn7R7UnYvwxb4P85LPk1sOTMN/Nl 4qERnhquVj6GbflV2d9o8AaOa4EEugIJWv3HedUSomekxBkMYAzIJIiciYeJ18YuDwci Pk31EVQJuu9tiBnP129yRJPzcAnm5TQtLScnqpvtHOJetwRZZ2haDyUrvCPmymrXtIvf IBR7hgNNdTi3z+cCbZReFyhk2xLpACEUlFiDpgbz8L1OTAg0m7F/PwqrtAZIiww9wpoj jhwOZVvzsOnfuYi3fTSJHubWR7WBUljLxuTvjaFAFRWk1UqgGZ8Vvo4F17IPcCdydaiI pdBw== X-Gm-Message-State: ABuFfoiortfppxtYeinT6W2YiFJBeS+syjgG/FDbFIOomaNn9Gt0eBKS esKH/Efmcs5v/5ClIdiSXqVA56ktPk7chmLDeyqB1A== X-Google-Smtp-Source: ACcGV63QEiQU3uI18nRbJs5nIBqUoy20BhjCkNXjQ2KZpC5X1fakfhlqXhv9kMTR5xY8yX5IDLAp1J3aVmwO7oPMDvs= X-Received: by 2002:adf:f701:: with SMTP id r1-v6mr7740025wrp.85.1538413125124; Mon, 01 Oct 2018 09:58:45 -0700 (PDT) MIME-Version: 1.0 References: <201810011643.w91Gh2VH092607@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <201810011643.w91Gh2VH092607@pdx.rh.CN85.dnsmgr.net> From: Johannes Lundberg Date: Mon, 1 Oct 2018 17:58:07 +0100 Message-ID: Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) To: freebsd-rwg@pdx.rh.cn85.dnsmgr.net Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 16:58:47 -0000 On Mon, Oct 1, 2018 at 5:43 PM Rodney W. Grimes < freebsd-rwg@pdx.rh.cn85.dnsmgr.net> wrote: > > Hi > > > > While sound work out of the box (with headphone switching) on the 1-2 > year > > older Latitude 7270, it does not on my new machine. > > > > The internal speaker works fine. If I plug in external speakers in the > > headphone jack, sound still goes to the internal speaker while a very > load > > buzz comes from the external speakers. > > > > Do we have a solution for this? > > I do not believe we have anything that detects stuff plugged into > and removed from the newer sound stuff that needs switching to > change from internal to external speakers. > > I think you need to do what I have to do when I plug in external > speakers on my thinkpad x230: > sysctl hw.snd.default_unit=1 > > And when I unplug them I have to do: > sysctl hw.snd.default_unit=0 > > to switch back to the internal speakers. > > Thanks for the tips. I will try that. But, I think there is also something more serious with this. While pulse audio clients (firefox) seem to play fine, Minecraft which uses OpenAL, produces crackling noises and eventually crash Minecraft with OpenAL being the culprit... > > > # cat /dev/sndstat > > Installed devices: > > pcm0: (play/rec) default > > pcm1: (play) > > pcm2: (play) > > No devices installed from userspace. > > > > # sysctl hw.snd > > hw.snd.maxautovchans: 16 > > hw.snd.default_unit: 0 > > hw.snd.version: 2009061500/amd64 > > hw.snd.default_auto: 1 > > hw.snd.verbose: 0 > > hw.snd.vpc_mixer_bypass: 1 > > hw.snd.feeder_rate_quality: 1 > > hw.snd.feeder_rate_round: 25 > > hw.snd.feeder_rate_max: 2016000 > > hw.snd.feeder_rate_min: 1 > > hw.snd.feeder_rate_polyphase_max: 183040 > > hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 > > hw.snd.feeder_eq_exact_rate: 0 > > hw.snd.feeder_eq_presets: > > PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000 > > hw.snd.basename_clone: 1 > > hw.snd.compat_linux_mmap: 0 > > hw.snd.syncdelay: -1 > > hw.snd.usefrags: 0 > > hw.snd.vpc_reset: 0 > > hw.snd.vpc_0db: 45 > > hw.snd.vpc_autoreset: 1 > > hw.snd.timeout: 5 > > hw.snd.latency_profile: 1 > > hw.snd.latency: 5 > > hw.snd.report_soft_matrix: 1 > > hw.snd.report_soft_formats: 1 > > > > # sysctl dev.pcm > > dev.pcm.2.bitperfect: 0 > > dev.pcm.2.buffersize: 65536 > > dev.pcm.2.play.vchanformat: s16le:2.0 > > dev.pcm.2.play.vchanrate: 48000 > > dev.pcm.2.play.vchanmode: passthrough > > dev.pcm.2.play.vchans: 1 > > dev.pcm.2.play.32bit: 24 > > dev.pcm.2.%parent: hdaa1 > > dev.pcm.2.%pnpinfo: > > dev.pcm.2.%location: nid=3 > > dev.pcm.2.%driver: pcm > > dev.pcm.2.%desc: Intel Kabylake (HDMI/DP 8ch) > > dev.pcm.1.bitperfect: 0 > > dev.pcm.1.buffersize: 65536 > > dev.pcm.1.play.vchanformat: s16le:2.0 > > dev.pcm.1.play.vchanrate: 48000 > > dev.pcm.1.play.vchanmode: fixed > > dev.pcm.1.play.vchans: 1 > > dev.pcm.1.play.32bit: 24 > > dev.pcm.1.%parent: hdaa0 > > dev.pcm.1.%pnpinfo: > > dev.pcm.1.%location: nid=33 > > dev.pcm.1.%driver: pcm > > dev.pcm.1.%desc: Realtek ALC256 (Front Analog Headphones) > > dev.pcm.0.bitperfect: 0 > > dev.pcm.0.buffersize: 65536 > > dev.pcm.0.rec.vchanformat: s16le:2.0 > > dev.pcm.0.rec.vchanrate: 48000 > > dev.pcm.0.rec.vchanmode: fixed > > dev.pcm.0.rec.vchans: 1 > > dev.pcm.0.rec.autosrc: 2 > > dev.pcm.0.rec.32bit: 24 > > dev.pcm.0.play.vchanformat: s16le:2.0 > > dev.pcm.0.play.vchanrate: 48000 > > dev.pcm.0.play.vchanmode: fixed > > dev.pcm.0.play.vchans: 2 > > dev.pcm.0.play.32bit: 24 > > dev.pcm.0.%parent: hdaa0 > > dev.pcm.0.%pnpinfo: > > dev.pcm.0.%location: nid=20,18 > > dev.pcm.0.%driver: pcm > > dev.pcm.0.%desc: Realtek ALC256 (Internal Analog) > > dev.pcm.%parent: > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > > > > -- > Rod Grimes > rgrimes@freebsd.org >