From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB785329C40 for ; Thu, 27 Nov 2025 09:53:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764237232; cv=none; b=p/tgq07Q+MWDgK0IBGWtJtLfE3WWu42jUYLej+Z/xiqFOa3p4MVPW8qmI8tOVNWYJObo2/1grftjd4aboyf494+FJrYFN8qxGvIgmQ5PRC3tmkvZFlxlTZbMfKfCxEwGn1dD4Go8i3FmZ/P8MajT5u46mDJ6aYbhRfAHeRwW/fg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764237232; c=relaxed/simple; bh=DNECekVpB72Tp4pBOqhYB+8eT1/86+k18zKSYeGw1jA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CCJiiPMGd2707IkD/Du2IIXbjWVEVpCL7P/tLwfGfIVvl92JpkZhJw5bpx0YFTB4xqO3pdZJzE0IB9iV6lcTR9jg4VJv7XoM5QEF7io/iwnbJFt9ThdXnp2cXnSPqgTGBmBEYD6+wjcgI/2o3/7LuxoNfesUTVsdGRTfACLCdpM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=EY+rveqU; arc=none smtp.client-ip=192.198.163.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="EY+rveqU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1764237229; x=1795773229; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=DNECekVpB72Tp4pBOqhYB+8eT1/86+k18zKSYeGw1jA=; b=EY+rveqU7E1Nw+xIVdaAB0GATCDQkV5+zvzajIWW/hDtfEZV5NER4hFO TvOcbGXyyCWHPBv+rP5KlWGhskRleu3Pg0//eiW49Dt6Hbq5pPmNiyQgc ceHge1wD9FsuZJJkD+y3hfW91/ixanv7lHFFTJiHPPEFlFHUZ9vRCAoVv 99++ZfuBpFNM5o6GFRC+jDMGBolLpf32rJnm9sBJx85lwcR+OuJ0Nqf9X 9gQjofUd/yTUZgvDKPKvjqEPY5V0PwHpC+jPFiVDejdhcpLpJW92zwOqb M4mVMm5q6fBs9YDxzEYKjMAvmcc/cSJh5elhUgXwThtWQX9FpaA2IDXRJ w==; X-CSE-ConnectionGUID: DB9TXUK4TgCNaP9O5QnZVA== X-CSE-MsgGUID: E7eQk19lS2GK88IHJHpcuQ== X-IronPort-AV: E=McAfee;i="6800,10657,11625"; a="76972097" X-IronPort-AV: E=Sophos;i="6.20,230,1758610800"; d="scan'208";a="76972097" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2025 01:53:47 -0800 X-CSE-ConnectionGUID: WuqIH1bvRZWpS1Sr442e2A== X-CSE-MsgGUID: zlP2+lhHT+Ottihb8jjFrw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,230,1758610800"; d="scan'208";a="192852866" Received: from aschofie-mobl2.amr.corp.intel.com (HELO kuha) ([10.124.223.92]) by fmviesa007.fm.intel.com with SMTP; 27 Nov 2025 01:53:44 -0800 Received: by kuha (sSMTP sendmail emulation); Thu, 27 Nov 2025 11:53:38 +0200 Date: Thu, 27 Nov 2025 11:53:38 +0200 From: Heikki Krogerus To: Stephanie Gawroriski Cc: Linus Torvalds , Linux Kernel Mailing List , Greg Kroah-Hartman Subject: Re: Linux 6.18-rc6 Message-ID: References: <5065280.31r3eYUQgx@arborvitaetree> <2167318.tdWV9SEqCh@arborvitaetree> Precedence: bulk X-Mailing-List: linux-kernel@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: <2167318.tdWV9SEqCh@arborvitaetree> Hi, Wed, Nov 26, 2025 at 11:01:24AM -0500, Stephanie Gawroriski kirjoitti: > Hi! > > On Monday, 24 November 2025 04:50:03 EST Heikki Krogerus wrote: > > I'm still trying to figure this out, but let's rule out one of my > > concerns.. > > > > Can you check are the symlinks pointing to the correct USB devices > > under /sys/class/typec ? > > > > It's probable easiest with just one USB device connected to the > > system. With one USB device connected to the system there should be > > only one partner under /sys/class/typec (for example port0-partner), > > so it should be easy to check if the symlink under that partner > > device is pointing to the correct USB device. > > > > % ls -la /sys/class/typec/port-partner/ > > > > You should see a symlink to an USB device under it. Can you check if > > it's the correct USB device? > > > > If it's not the correct USB device, then the ACPI table may have wrong > > _PLD (Physical Location of Device) objects for these USB port or USB > > Type-C connector device nodes. The code uses the _PLD to link the > > correct USB port to the USB Type-C connector. > > > > thanks, > > The USB-C cable is plugged into the connector that is furthest to the back of > the device. Bus 2 and Bus 3 are connected to the same port, the ethernet > controller is connected to the dock, so I am guessing that it is using the > USB-only interface of the USB-C port, not sure why it would be not under Bus > 3? > > These are the outputs along with the USB and PCI tree: > > stephanie@arborvitaetree:~$ ls -la /sys/class/typec/port1-partner/ > total 0 > drwxr-xr-x 4 root root 0 Nov 26 10:30 . > drwxr-xr-x 8 root root 0 Nov 24 15:14 .. > lrwxrwxrwx 1 root root 0 Nov 26 10:30 2-3 -> ../../../../../ > pci0000:00/0000:00:0d.0/usb2/2-3 > lrwxrwxrwx 1 root root 0 Nov 26 10:30 3-3 -> ../../../../../ > pci0000:00/0000:00:14.0/usb3/3-3 These look correct to me, which is a relief. At this point can I ask you to report this in bugzilla.kernel.org? thanks, > -r--r--r-- 1 root root 4096 Nov 26 10:30 accessory_mode > lrwxrwxrwx 1 root root 0 Nov 25 23:42 device -> ../../port1 > -r--r--r-- 1 root root 4096 Nov 26 10:30 number_of_alternate_modes > drwxr-xr-x 5 root root 0 Nov 25 23:42 pd2 > drwxr-xr-x 2 root root 0 Nov 26 10:29 power > lrwxrwxrwx 1 root root 0 Nov 25 23:42 subsystem -> ../../../../../../class/ > typec > -r--r--r-- 1 root root 4096 Nov 26 10:30 supports_usb_power_delivery > -rw-r--r-- 1 root root 4096 Nov 25 23:42 uevent > -r--r--r-- 1 root root 4096 Nov 26 10:30 usb_mode > lrwxrwxrwx 1 root root 0 Nov 26 10:30 usb_power_delivery -> pd2 > -r--r--r-- 1 root root 4096 Nov 26 10:30 usb_power_delivery_revision > > stephanie@arborvitaetree:/sys/class/typec$ lsusb -tv > /: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M > ID 1d6b:0002 Linux Foundation 2.0 root hub > /: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 20000M/x2 > ID 1d6b:0003 Linux Foundation 3.0 root hub > |__ Port 003: Dev 005, If 0, Class=Hub, Driver=hub/4p, 10000M > ID 8087:0b40 Intel Corp. > |__ Port 004: Dev 006, If 0, Class=Hub, Driver=hub/4p, 10000M > ID 2109:0822 VIA Labs, Inc. > |__ Port 002: Dev 007, If 0, Class=Communications, Driver=cdc_ncm, > 5000M > ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet > |__ Port 002: Dev 007, If 1, Class=CDC Data, Driver=cdc_ncm, 5000M > ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet > /: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M > ID 1d6b:0002 Linux Foundation 2.0 root hub > |__ Port 003: Dev 023, If 0, Class=Hub, Driver=hub/6p, 480M > ID 1d5c:5801 Fresco Logic > |__ Port 001: Dev 024, If 0, Class=Billboard, Driver=[none], 1.5M > ID 291a:87e0 > |__ Port 004: Dev 025, If 0, Class=Hub, Driver=hub/4p, 480M > ID 2109:2822 VIA Labs, Inc. > |__ Port 001: Dev 027, If 0, Class=Hub, Driver=hub/4p, 480M > ID 1a40:0101 Terminus Technology Inc. Hub > |__ Port 001: Dev 028, If 0, Class=Human Interface Device, > Driver=usbhid, 1.5M > ID 17ef:608d Lenovo Optical Mouse > |__ Port 002: Dev 029, If 0, Class=Human Interface Device, > Driver=usbhid, 12M > ID 0c45:7692 Microdia > |__ Port 002: Dev 029, If 1, Class=Human Interface Device, > Driver=usbhid, 12M > ID 0c45:7692 Microdia > |__ Port 004: Dev 030, If 0, Class=Video, Driver=uvcvideo, > 480M > ID 17ef:4836 Lenovo > |__ Port 004: Dev 030, If 1, Class=Video, Driver=uvcvideo, > 480M > ID 17ef:4836 Lenovo > |__ Port 004: Dev 030, If 2, Class=Audio, Driver=snd-usb- > audio, 480M > ID 17ef:4836 Lenovo > |__ Port 004: Dev 030, If 3, Class=Audio, Driver=snd-usb- > audio, 480M > ID 17ef:4836 Lenovo > |__ Port 005: Dev 026, If 0, Class=Billboard, Driver=[none], 12M > ID 2eb9:0123 > |__ Port 005: Dev 026, If 1, Class=Vendor Specific Class, > Driver=[none], 12M > ID 2eb9:0123 > |__ Port 006: Dev 022, If 0, Class=Vendor Specific Class, Driver=[none], > 12M > ID 06cb:00fc Synaptics, Inc. Prometheus Fingerprint Reader > |__ Port 008: Dev 003, If 0, Class=Video, Driver=uvcvideo, 480M > ID 30c9:0051 Luxvisions Innotech Limited > |__ Port 008: Dev 003, If 1, Class=Video, Driver=uvcvideo, 480M > ID 30c9:0051 Luxvisions Innotech Limited > |__ Port 008: Dev 003, If 2, Class=Application Specific Interface, > Driver=[none], 480M > ID 30c9:0051 Luxvisions Innotech Limited > |__ Port 010: Dev 004, If 0, Class=Wireless, Driver=btusb, 12M > ID 8087:0033 Intel Corp. AX211 Bluetooth > |__ Port 010: Dev 004, If 1, Class=Wireless, Driver=btusb, 12M > ID 8087:0033 Intel Corp. AX211 Bluetooth > /: Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M > ID 1d6b:0003 Linux Foundation 3.0 root hub > > stephanie@arborvitaetree:/sys/class/typec$ lspci -tv -nn > -[0000:00]-+-00.0 Intel Corporation Raptor Lake-P 6p+8e cores Host Bridge/ > DRAM Controller [8086:a706] > +-02.0 Intel Corporation Raptor Lake-P [Iris Xe Graphics] > [8086:a7a0] > +-04.0 Intel Corporation Raptor Lake Dynamic Platform and Thermal > Framework Processor Participant [8086:a71d] > +-06.0-[04]----00.0 Sandisk Corp WD Blue SN5000 NVMe SSD (DRAM- > less) [15b7:504a] > +-07.0-[20-49]-- > +-07.2-[50-79]----00.0-[51-79]--+-00.0-[52]-- > | +-01.0-[53-5f]-- > | +-02.0-[60-6c]-- > | +-03.0-[6d-78]-- > | \-04.0-[79]-- > +-08.0 Intel Corporation GNA Scoring Accelerator module > [8086:a74f] > +-0a.0 Intel Corporation Raptor Lake Crashlog and Telemetry > [8086:a77d] > +-0d.0 Intel Corporation Raptor Lake-P Thunderbolt 4 USB > Controller [8086:a71e] > +-0d.2 Intel Corporation Raptor Lake-P Thunderbolt 4 NHI #0 > [8086:a73e] > +-0d.3 Intel Corporation Raptor Lake-P Thunderbolt 4 NHI #1 > [8086:a76d] > +-12.0 Intel Corporation Alder Lake-P Integrated Sensor Hub > [8086:51fc] > +-14.0 Intel Corporation Alder Lake PCH USB 3.2 xHCI Host > Controller [8086:51ed] > +-14.2 Intel Corporation Alder Lake PCH Shared SRAM [8086:51ef] > +-14.3 Intel Corporation Raptor Lake PCH CNVi WiFi [8086:51f1] > +-15.0 Intel Corporation Alder Lake PCH Serial IO I2C Controller > #0 [8086:51e8] > +-15.1 Intel Corporation Alder Lake PCH Serial IO I2C Controller > #1 [8086:51e9] > +-16.0 Intel Corporation Alder Lake PCH HECI Controller > [8086:51e0] > +-1c.0-[08]----00.0 Intel Corporation XMM7560 LTE Advanced Pro > Modem [8086:7560] > +-1f.0 Intel Corporation Raptor Lake LPC/eSPI Controller > [8086:519d] > +-1f.3 Intel Corporation Raptor Lake-P/U/H cAVS [8086:51ca] > +-1f.4 Intel Corporation Alder Lake PCH-P SMBus Host Controller > [8086:51a3] > \-1f.5 Intel Corporation Alder Lake-P PCH SPI Controller > [8086:51a4] > > stephanie@arborvitaetree:/sys/class/typec$ ls -w 1 port0/ > data_role > device > firmware_node > physical_location > port0.0 > port0.1 > port0.2 > power > power_operation_mode > power_role > preferred_role > subsystem > supported_accessory_modes > uevent > usb2-port1 > usb3-port1 > usb4_port1 > usb_capability > usb_power_delivery > usb_power_delivery_revision > usb_typec_revision > vconn_source > waiting_for_supplier > > stephanie@arborvitaetree:/sys/class/typec$ ls -w 1 port1/ > data_role > device > firmware_node > physical_location > port1.0 > port1.1 > port1.2 > port1-partner > power > power_operation_mode > power_role > preferred_role > subsystem > supported_accessory_modes > uevent > usb2-port3 > usb3-port3 > usb4_port7 > usb_capability > usb_power_delivery > usb_power_delivery_revision > usb_typec_revision > vconn_source > waiting_for_supplier > > > > > -- heikki