https://bugzilla.kernel.org/show_bug.cgi?id=219055

--- Comment #8 from Bill McDonough (wil...@gmail.com) ---
(In reply to En-Wei Wu from comment #7)
> Hi @Bill,
> 
> It seems like the problem is strongly related to the error message in:
> 
> [    5.860144] ucsi_acpi USBC000:00: failed to reset PPM!
> [    5.860150] ucsi_acpi USBC000:00: error -ETIMEDOUT: PPM init failed
> 
> However, the clue is not that clear. Could you please try the following
> steps to help us get more debug info:
> 1. Blacklist the ucsi_acpi.ko and boot
> 2. Login as root, then $ echo 'file ucsi.c +p' >
> /sys/kernel/debug/dynamic_debug/control
> 3. Load the ucsi_acpi.ko
> 4. Dump the dmesg here
> 
> En-Wei.


En-Wei, 

First, I dropped to root

$ sudo su -

I was unable to echo to /sys/kernel/debug

# echo 'file ucsi.c +p' > /sys/kernel/debug/dynamic_debug/control
-bash: /sys/kernel/debug/dynamic_debug/control: Operation not permitted

so I tried /proc instead:

# cat /proc/dynamic_debug/control|egrep ucsi
drivers/usb/typec/ucsi/ucsi.c:978 [typec_ucsi]ucsi_connector_change =_ "Bogus
connector change event\n"
drivers/usb/typec/ucsi/ucsi.c:1616 [typec_ucsi]ucsi_register =_ "Registered
UCSI interface with version %x.%x.%x"

# echo 'file ucsi.c +p' > /proc/dynamic_debug/control

# cat /proc/dynamic_debug/control|egrep ucsi
drivers/usb/typec/ucsi/ucsi.c:978 [typec_ucsi]ucsi_connector_change =p "Bogus
connector change event\n"
drivers/usb/typec/ucsi/ucsi.c:1616 [typec_ucsi]ucsi_register =p "Registered
UCSI interface with version %x.%x.%x"

# modprobe ucsi_acpi
# dmesg|egrep ucsi
[  874.792132] ucsi_acpi USBC000:00: Registered UCSI interface with version
1.0.0
[  879.815432] ucsi_acpi USBC000:00: failed to reset PPM!
[  879.815437] ucsi_acpi USBC000:00: error -ETIMEDOUT: PPM init failed

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to