From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7976A33D6DF for ; Wed, 26 Nov 2025 16:01:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764172890; cv=none; b=be/IdkhWAt7UefcR8InAnGoUFRB1uJkvPbQpFYpF58BEHyxUMyR3x3JKLj7qT4ZoEvcihdhDdEh7xgvsy5Se8JfNxetcYi7aEd9mLgsDT4REyfd3WncxPKvAcsxY4PlrQkpBoeAzU7AGKQqpSgDeeinakq1rzcF6yhc74NN3v38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764172890; c=relaxed/simple; bh=HB/iirJfHXffxJDYaT3WZaPa82woLJ25lnUyQdf4HTY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=I6hldaLlvJHc8zVQYlweBhN8/U8hHmx/Ux4RROatxM93wlTK9W+j7onBVZqdYRn6XLSjvmfIG9kR1I17wbK4aJtEIbmtZmlUYH7RfqGzPcX/zqYFc5j6FEBPFcYm0mLuM6bnbgifXxR/21ZRbeIha5af47A1bAdaUKMW3MFlJG8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gIr5Knqn; arc=none smtp.client-ip=209.85.219.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gIr5Knqn" Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-88057f5d041so65875476d6.1 for ; Wed, 26 Nov 2025 08:01:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764172887; x=1764777687; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GxrQYfGA1fnrMN+etK1Uo3AT+Xg8uJW+sQ3pVDZGfXc=; b=gIr5KnqncLBJHAFVjGDKnmgqUhrnSBkNerXRHKdyG87gEDTAn9gKIhZJESXrGadJWu if2yyw4MfSfu+S5z9AUJZS3gnguAHiQQ0EiCQ50/Un9ByucdqbTY4Y2bOLF5QqjXZk45 tmRXrwMqACU/oWFY3zzx5EnXYVhYO+mv1OuybIk7MlS1wnjVbWRadYV2xhmKXuUM633v yjgwYtDZ6K8ahIIndXOVgBpz5qgoG47KzxQpVXCW0FhQuO20BI4mVgXYnpZgu4Y6cIDU ekt2uOTS/shZisuPYHAyQsgr+EJ554RPDwnI2/r2PCiDFIAd0siNkNX1PRLH0330Mnc4 7Kxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764172887; x=1764777687; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GxrQYfGA1fnrMN+etK1Uo3AT+Xg8uJW+sQ3pVDZGfXc=; b=mQol/pHQRm/PVSzhbnrrUPP2QhgovQ/ILUIDl6O92Otl7W1qjLAkOKyARDUXw6jSYe IO1WabDafBaKr1b03MjIfgP51o4qIraL5k6Mk+rt5xowRk0pzcKdbdoIzBYEmShPSl5+ txh2SosVtQUIrRqhyOvBAH7lAKfpJ5s+MzXG6b1AXoGyBjEI8usZKShzeRcjMDl0lUYs freB2fJYPpZFdaId0HkLy1kQPItbt5hUUS3ZrqEwuJ/NMDMsLttX4N2UN0xVv+/S4Rag a+uzj/Q2DbTV+PeKS2K/fdD2dmxq4MtcO1WoZdoPjWj3YBRmEZERaJzUnLqTxATa+FpC IfAA== X-Forwarded-Encrypted: i=1; AJvYcCUbt/TjHGpRjql/PKFyiBveKaSA1Bavdxx9YsVP9SdamwBVmvqBp2+CdOmFlkCK/Saocn9Hkz9+HRd3yt0=@vger.kernel.org X-Gm-Message-State: AOJu0YzKp8fTA+yzT2xzgsGKwjRqjj76oMCSGUpz99gsNYjcORxIsPyh PeVM7GGKEL09NXW7zaGXWwQi6tSUz6SUw9v290yKt2qvieseXiwcIUxgx1PM0EGHjFg= X-Gm-Gg: ASbGncueOwZIRcvKyvbvS9LE8s9fzBvp+t/RRGPy4FunYjk6DmmKYI4BDse3qc/G1kq oXHaG/ZHUCt850fcBdkUsrc7hb6D+7s6T1vHbpj5//6gzU+iaDxokCOu+zcm4VMXYZLImlGDt3t bOJBt9tljs35dciaVzU4101H2E5RvTG2vH+Rn48yMYGvth9Fp0TJi5kSxHHJb1/yn38xodExN0F Lazg3t9Oj4XfzcItJRgrptVOHy4FPiAP5qJEe5Z5aimrg/CfAVv1NkyRBBzsiZIkGHkwse0BLWm AaLNpSGTQDTn38d2nSACNB6AVgq1QTQkjMv1imzzsJkHUJ6lAVR7U9m86O+NVA9TLq81WY/7/GE phOQlwMiEOtt38yo0c3Qi8kN9tl4//7SlHY7pO/gCB01ZRjum3llnCf1j5RkXKQAiu21e8LIBrt SeK8EM9+syNviZPw== X-Google-Smtp-Source: AGHT+IG8VRLPr05jJp14RGD8t25qoc5E9hJ87oARQwpotIymU3oTsuVxTaScnc7cj2IGiDRol56fDw== X-Received: by 2002:a05:620a:c55:b0:8b1:f2cd:76ba with SMTP id af79cd13be357-8b4ebd53c18mr973891985a.1.1764172885593; Wed, 26 Nov 2025 08:01:25 -0800 (PST) Received: from arborvitaetree.localnet ([2600:4041:3a6:c00::15]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8b329532770sm1403859685a.22.2025.11.26.08.01.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Nov 2025 08:01:25 -0800 (PST) From: Stephanie Gawroriski To: Heikki Krogerus Cc: Linus Torvalds , Linux Kernel Mailing List , Greg Kroah-Hartman Subject: Re: Linux 6.18-rc6 Date: Wed, 26 Nov 2025 11:01:24 -0500 Message-ID: <2167318.tdWV9SEqCh@arborvitaetree> In-Reply-To: References: <5065280.31r3eYUQgx@arborvitaetree> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" 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 -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