hid-debug: Show application usage for each collection.
PATCH 1/1 hid-debug: Show application usage for each collection.
From: Jeff Brown <[email protected]>
--- drivers/hid/hid-debug.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/hid/hid-debug.c +5 -0
@@ -450,6 +450,11 @@ void hid_dump_field(struct hid_field *field, int n, struct seq_file *f) {seq_printf (f,"Logical(" );hid_resolv_usage (field->logical, f);seq_printf (f,")\n" ); } +if (field->application) { +tab (n, f); +seq_printf (f,"Application(" ); +hid_resolv_usage (field->application, f);seq_printf (f,")\n" ); + }tab (n, f);seq_printf (f,"Usage(%d)\n" , field->maxusage);for (j =0 ; j < field->maxusage; j++) {tab (n+2 , f);hid_resolv_usage (field->usage[j].hid, f);seq_printf (f,"\n" );
Signature · 1 line
1.7.0.4
Quoted 1 line · On Tue, Aug 16, 2011 at 01:39, <[email protected]> wrote:
From: Jeff Brown <[email protected]>
Quoted 25 lines
Signed-off-by [email protected]---
drivers/hid/hid-debug.c | 5 +++++1 files changed, 5 insertions(+), 0 deletions(-)drivers/hid/hid-debug.c +5
-1@@ -450,6 +450,11 @@ void hid_dump_field(struct hid_field *field, int n, struct seq_file *f) { seq_printf(f, "Logical("); hid_resolv_usage(field->logical, f); seq_printf(f, ")\n"); } + if (field->application) { + tab(n, f); + seq_printf(f, "Application("); + hid_resolv_usage(field->application, f); seq_printf(f, ")\n"); + } tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); for (j = 0; j < field->maxusage; j++) { tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n"); --1.7.0.4
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Jiri Kosina
AppliedQuoted 3 lines · Benjamin Tissoires
Quoted 1 line
From: Jeff Brown <[email protected]>
Reviewed-by Benjamin Tissoires <[email protected]>
Applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 4 lines · Benjamin Tissoires
Quoted 1 line · On Tue, Aug 16, 2011 at 01:39, <[email protected]> wrote:
From: Jeff Brown <[email protected]>
Reviewed-by Benjamin Tissoires <[email protected]>
Just a friendly ping.
Do I need to do anything more on this, or on the other patch to hid-multitouch?
Quoted 24 lines
Quoted 24 lines
Signed-off-by [email protected]---
drivers/hid/hid-debug.c | 5 +++++1 files changed, 5 insertions(+), 0 deletions(-)drivers/hid/hid-debug.c +5
-1@@ -450,6 +450,11 @@ void hid_dump_field(struct hid_field *field, int n, struct seq_file *f) { seq_printf(f, "Logical("); hid_resolv_usage(field->logical, f); seq_printf(f, ")\n"); } + if (field->application) { + tab(n, f); + seq_printf(f, "Application("); + hid_resolv_usage(field->application, f); seq_printf(f, ")\n"); + } tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); for (j = 0; j < field->maxusage; j++) { tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n"); --1.7.0.4
Quoted 1 line
Quoted 1 line
--
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Jeffrey Brown
Quoted 3 lines
Quoted 1 line
From: Jeff Brown <[email protected]>
Reviewed-by Benjamin Tissoires <[email protected]>Just a friendly ping.
Do I need to do anything more on this, or on the other patch to hid-multitouch?
Hi Jeffrey,
it's queued in my tree, 'upstream' branch.
[1] http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git;a=summary
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 5 lines · Jiri Kosina
Hi Jeffrey,
it's queued in my tree, 'upstream' branch.
[1] http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git;a=summary
Great! Thanks.
Jeff.