From: "Andrea G. Monaco" <andrea.monaco@autistici.org>
To: linux-input@vger.kernel.org
Subject: Report descriptor is printed partially
Date: Mon, 07 Jun 2021 16:56:33 +0200 [thread overview]
Message-ID: <87pmwxwwny.fsf@autistici.org> (raw)
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
reply other threads:[~2021-06-07 15:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pmwxwwny.fsf@autistici.org \
--to=andrea.monaco@autistici.org \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.