Report descriptor is printed partially

From: Andrea G. Monaco <hidden>
Date: 2021-06-07 15:03:52

Hello everyone,


while investigating a problem with my touchpad in i2c_hid, I found out that the
%*ph specifier in printk only prints 64 bytes at most
(https://www.kernel.org/doc/html/latest/core-api/printk-formats.html).
That means the line


	i2c_hid_dbg(ihid, "Report Descriptor: %*ph\n", rsize, rdesc);


in i2c_parse only prints the beginning of the report descriptor. My
touchpad declares a 665 bytes long descriptor, so I guess it is usually
much bigger than 64. 


Perhaps we could dump the full descriptor, or at least make this limit
clear.



Andrea Monaco
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help