On Tue, May 30, 2023 at 12:13:19PM +0200, Christian Schaubschläger wrote: > Hi, > > >> # echo 81920 > /sys/kernel/debug/tracing/buffer_size_kb > >> # echo 1 > /sys/kernel/debug/tracing/events/xhci-hcd/enable > >> > >> Trace buffer is /sys/kernel/debug/tracing/trace. > > Can I enable this on the command line? Because I guess I need traces from startup when the dock is connected already. I think you can add "trace_event=xhci-hcd" in the kernel command line to get it enabled boot time. See: https://docs.kernel.org/trace/events.html#boot-option