-
Notifications
You must be signed in to change notification settings - Fork 0
Cros-usbpd-charger error -71 in journal #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Additional information snipped from e-mails:
diff --git a/common/ec_features.c b/common/ec_features.c
index b7e16ec6ba..781094a884 100644
--- a/common/ec_features.c
+++ b/common/ec_features.c
@@ -82,7 +82,7 @@ uint32_t get_feature_flags0(void)
#ifdef CONFIG_HOSTCMD_PD
| EC_FEATURE_MASK_0(EC_FEATURE_SUB_MCU)
#endif
-#ifdef CONFIG_CHARGE_MANAGER
+#ifdef CONFIG_USB_POWER_DELIVERY
| EC_FEATURE_MASK_0(EC_FEATURE_USB_PD)
#endif
#ifdef CONFIG_ACCEL_FIFO |
I am seeing the same error in the journalctl logs of my Framework 16. What is the impact of this issue on the operation of the laptop? |
This does not impact the functioning of the laptop. |
The linux kernel driver cros-usbpd-charger uses host commands and events commands from both configurations. Currently it fails on all our platforms with the dmesg log: [ 24.706760] cros-usbpd-charger cros-usbpd-charger.7.auto: No USB PD charging ports found See Linux kernel sources: - drivers/power/supply/cros_usbpd-charger.c - EC_CMD_CHARGE_PORT_COUNT - EC_CMD_USB_PD_PORTS - EC_CMD_USB_PD_DISCOVERY - EC_CMD_USB_PD_POWER_INFO - EC_CMD_EXTERNAL_POWER_LIMIT - drivers/platform/chrome/cros_usbpd_notify.c - EC_CMD_PD_HOST_EVENT_STATUS - drivers/mfd/cros_ec_dev.c - EC_FEATURE_USB_PD EC_FEATURE_USB_PD is bit 22. ``` ec:~> feat 0-31: 0x0247e6ae 32-63: 0x00000207 ec:~> feat 0-31: 0x0207e6ae 32-63: 0x00000207 ``` BUG=FrameworkComputer/SoftwareFirmwareIssueTracker#2 BRANCH=fwk-main TEST=Check feat command on EC console to check bit 22 is 0. And check dmesg on Linux for cros-usbpd-charger error message Signed-off-by: Daniel Schaefer <dhs@frame.work>
The code has been merged. Will be released in the future release. |
The linux kernel driver cros-usbpd-charger uses host commands and events commands from both configurations. Currently it fails on all our platforms with the dmesg log: [ 24.706760] cros-usbpd-charger cros-usbpd-charger.7.auto: No USB PD charging ports found See Linux kernel sources: - drivers/power/supply/cros_usbpd-charger.c - EC_CMD_CHARGE_PORT_COUNT - EC_CMD_USB_PD_PORTS - EC_CMD_USB_PD_DISCOVERY - EC_CMD_USB_PD_POWER_INFO - EC_CMD_EXTERNAL_POWER_LIMIT - drivers/platform/chrome/cros_usbpd_notify.c - EC_CMD_PD_HOST_EVENT_STATUS - drivers/mfd/cros_ec_dev.c - EC_FEATURE_USB_PD EC_FEATURE_USB_PD is bit 22. ``` ec:~> feat 0-31: 0x0247e6ae 32-63: 0x00000207 ec:~> feat 0-31: 0x0207e6ae 32-63: 0x00000207 ``` BUG=FrameworkComputer/SoftwareFirmwareIssueTracker#2 BRANCH=fwk-main TEST=Check feat command on EC console to check bit 22 is 0. And check dmesg on Linux for cros-usbpd-charger error message Signed-off-by: Daniel Schaefer <dhs@frame.work> (cherry picked from commit e444bed03ed90106577207fd1837a8a07aa6ba67)
The linux kernel driver cros-usbpd-charger uses host commands and events commands from both configurations. Currently it fails on all our platforms with the dmesg log: [ 24.706760] cros-usbpd-charger cros-usbpd-charger.7.auto: No USB PD charging ports found See Linux kernel sources: - drivers/power/supply/cros_usbpd-charger.c - EC_CMD_CHARGE_PORT_COUNT - EC_CMD_USB_PD_PORTS - EC_CMD_USB_PD_DISCOVERY - EC_CMD_USB_PD_POWER_INFO - EC_CMD_EXTERNAL_POWER_LIMIT - drivers/platform/chrome/cros_usbpd_notify.c - EC_CMD_PD_HOST_EVENT_STATUS - drivers/mfd/cros_ec_dev.c - EC_FEATURE_USB_PD EC_FEATURE_USB_PD is bit 22. ``` ec:~> feat 0-31: 0x0247e6ae 32-63: 0x00000207 ec:~> feat 0-31: 0x0207e6ae 32-63: 0x00000207 ``` BUG=FrameworkComputer/SoftwareFirmwareIssueTracker#2 BRANCH=fwk-main TEST=Check feat command on EC console to check bit 22 is 0. And check dmesg on Linux for cros-usbpd-charger error message Signed-off-by: Daniel Schaefer <dhs@frame.work> (cherry picked from commit e444bed03ed90106577207fd1837a8a07aa6ba67)
Public commits:
All new platforms in 2025 will ship with this change already included. |
Device Information
System Model or SKU
Please select one of the following
BIOS VERSION
03.05
DIY Edition information
If you are experiencing an issue on a DIY system, Please also fill out the memory and storage devices you are using.
Memory: Manufacture and SKU
Crucial DDR5-5600 CT16G56C46S5.M8G1 (https://www.amazon.it/Crucial-5600MHz-5200MHz-Portatile-CT16G56C46S5/dp/B0BLTDRRLF?__mk_it_IT=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dib=eyJ2IjoiMSJ9.UCVENdfzRFgchPDy2Umg6UgjMdbodZ0myHJ2sYl3iW_GjHj071QN20LucGBJIEps.L3stUHcSAdXgi6Am_DrgDlfB7wl1qKTtllpubnJqHXU&dib_tag=se&keywords=CT16G56C46S5&qid=1730880495&sr=8-1&th=1)
Storage: Manufacture and SKU
Lexar NM790 1TB
Port/Peripheral information
I'm using a USB-C 7 (or 8)-in-1 dongle by ANKER. It's plugged into one of the USB-C adapters at the back of my FW 13 and acts as a charging bypass as well as expansion hub allowing me to plug an HDMI external monitor and two USB-A radio receivers (for wireless mouse and keyboard).
Standalone Operation
Are you running your mainboard as a standalone device. Is standalone mode enabled in the BIOS?
Describe the bug
A clear and concise description of what the bug is.
Steps To Reproduce
journalctl -b -k
logs and look forcros-
Expected behavior
No errors in the logs
Screenshots
N/A
Operating System (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: