From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="VOS1oT+A" Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 438EA10C1; Tue, 21 Nov 2023 06:09:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700575740; x=1732111740; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=S7FWmcXN79Vx+j4cixX7ygbYhrBJf1bmjbAASxLRWaA=; b=VOS1oT+AvYN/oyzLTQ65zmwmD7T4jnfU6j1oqG49nU2SEeUhiHwQ1xqT Kd/0cKMt8HVt0ccs1uJu1qi1D9h+DnHmoNKiq24kjZcRN/rdTGT1xtl6V Ew9K8oevx+nWo6EEtVoP/24ewcPHbvmFYSwG6oyRiqIuQPAoxvi6x6yC+ Q9gAMyIOcNDoKthF4/mvAuHWeHGSGXTH6dGRlWuzr0vQkzqjvZTtbLb1X bpstuLXAw1zXzyhjKmy7LHvm2vXQG3NXu3MTy/OBArTGVdeKuxY8ej3aM UwHTQnw1teMFTGrUqPeSZ95BFczekpjJEv83KxxVc+y2ROsamxcxGocNK g==; X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="382242013" X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="382242013" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2023 06:08:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="766660042" X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="766660042" Received: from kuha.fi.intel.com ([10.237.72.185]) by orsmga002.jf.intel.com with SMTP; 21 Nov 2023 06:08:57 -0800 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Tue, 21 Nov 2023 16:08:56 +0200 Date: Tue, 21 Nov 2023 16:08:56 +0200 From: Heikki Krogerus To: Paul Menzel Cc: linux-usb@vger.kernel.org, LKML , Hans de Goede Subject: Re: Unplugging USB-C charger cable causes `ucsi_acpi USBC000:00: ucsi_handle_connector_change: ACK failed (-110)` Message-ID: References: Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Nov 21, 2023 at 12:50:43PM +0100, Paul Menzel wrote: > Dear Linux folks, > > > On the Dell XPS 13, BIOS 2.21.0 06/02/2022, with Debian sid/unstable and > Linux 6.5.10, when unplugging the (Dell) USB Type-C charger cable, Linux > logs the error below: > > ucsi_acpi USBC000:00: ucsi_handle_connector_change: ACK failed (-110) > > As this is logged with level error, can this be somehow fixed? > > drivers/usb/typec/ucsi/ucsi.c: dev_err(ucsi->dev, "%s: ACK failed (%d)", > __func__, ret); > > Please find the output of `dmesg` attached. Thanks. The firmware not reacting to the ACK command is weird, but I'm not sure if it's critical. Does the interface continue working after that? Do you see the partner devices appearing under /sys/class/typec/ when you plug them, and disappearing when you unplug them? thanks, -- heikki