Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp389943imm; Thu, 5 Jul 2018 02:02:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcz/xJHI9fAACDAWLA7sl429XH6oUmpDbahQpuD2QH9/8TZjxN0Nbhj8OLE2oCZ9CrEBYOq X-Received: by 2002:a63:8f03:: with SMTP id n3-v6mr4848320pgd.166.1530781320566; Thu, 05 Jul 2018 02:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530781320; cv=none; d=google.com; s=arc-20160816; b=IyXVJEtesmngS3M6Bc1ECZEcSD6x0zHbxudLl9Ixrvl8xqTTPK5fup54v0Ycrb7ORK yyypDXgWFltriyC6TD0fVcOZHR/ACK/7nL/rvroSOrrc05a23UUwUqLTQmaDBvGk1rpv 4a3P8e3nPRTEKgS6adcTyBvwgRjre+OwTLPiX0wKrvPOzO6j3wPZFpxOrjkYx/OktZKZ 8u7BbcmJTjbKVdXMVfe2ecIimKBp812hnpbYiCxNUue+cVNRTomUna/tpKan3J69UyM1 PvvAyQH+iYTKIr5D7s7i5mOFxfVUlSy4/oH2Y2xHtcrnowErPtH9AGW5aqDtHNOxgqNF enQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from :arc-authentication-results; bh=fSdha0y1OLVZAJZgrjeEC+4pmzOikCojdELEEhIO5Nw=; b=fBcEk1yI72OuxOM9jccaoE4t9xbs2WaKlgsPKWZ1TXi6WZdJMPb+mukCZF8Y6ELisU j5OOSWRcOClIrdGeqoTkGW2EM962JoEpC11POqnxVh1TLhlZl6Q3lzahuypKaOv2dcr5 dr++kdinlIsQjKj+1zyvZF6C+UubspMW6CJa+DGb7mC7GfaJoH2ujq3mNZAU/DWvVXof NDykvTgLPLtuPCEMT6Sar9wNL/sMLHAi7MD3pggX1iHo2gIVnNBYifZ/gFoy34qU76dh Y9VbK+Pm2z/JxtNBz1sRBqC9Fj9dFgh1u+ZK1rU2EgKEUNg0PCcw2xPPJAZUgSeLERiJ XpMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3-v6si5611534plt.71.2018.07.05.02.01.44; Thu, 05 Jul 2018 02:02:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753510AbeGEI7P (ORCPT + 99 others); Thu, 5 Jul 2018 04:59:15 -0400 Received: from mga14.intel.com ([192.55.52.115]:61946 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753357AbeGEI7P (ORCPT ); Thu, 5 Jul 2018 04:59:15 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jul 2018 01:59:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,311,1526367600"; d="scan'208";a="69805136" Received: from jnikula-mobl2.fi.intel.com (HELO localhost) ([10.237.72.62]) by fmsmga001.fm.intel.com with ESMTP; 05 Jul 2018 01:59:12 -0700 From: Jani Nikula To: Chris Chiu , joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, David Airlie Cc: intel-gfx@lists.freedesktop.org, dri-devel , Linux Kernel , Linux Upstreaming Team Subject: Re: [BUG] i915 HDMI connector status is connected after disconnection In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: Date: Thu, 05 Jul 2018 11:58:57 +0300 Message-ID: <87efgioy7i.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 05 Jul 2018, Chris Chiu wrote: > Hi, > We have few ASUS laptops X705FD (The new WiskyLake), X560UD (intel > i5-8250U), X530UN (intel i7-8550U) share the same problem, which is > the HDMI connector status stays connected even the HDMI cable has been > unplugged. Look into the "/sys/class/drm/card0-HDMI-A-1/status" for > checking the status while plug/unplug the HDMI, it shows > "disconnected" before plug in HDMI cable, then switch to "connected" > after plugin, and still stay "connected" after unplug. This would > cause the audio output path cannot correctly switch from HDMI to > internal speaker after unplugging the HDMI. > > I then try to verify with the latest kernel 4.18.0-rc3+, the bug still > present. The full "dmesg" log is here. > https://gist.github.com/mschiu77/d761d7c5cf191b7868d4d7788ae087f1 > > The HDMI cable is plugged in at ~26th second. > "[ 26.214371] [drm:drm_detect_monitor_audio [drm]] Monitor has basic > audio support" > then unplug the HDMI at ~73th second. > "[ 73.328361] [drm:drm_detect_monitor_audio [drm]] Monitor has basic > audio support" > > Please advise what I can do to fix this. Thanks Seems rather odd. Please file a bug report at [1]. Attach the dmesg on the bug. Please attach 'xrandr --verbose' output before and after unplugging on the bug. Please also try drm-tip branch of [2]. BR, Jani. [1] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel [2] https://cgit.freedesktop.org/drm/drm-tip -- Jani Nikula, Intel Open Source Graphics Center