Re: [patch] hid: only dump report traffic with debug level 2
From: Jiri Kosina <hidden>
Date: 2008-03-22 21:50:43
From: Jiri Kosina <hidden>
Date: 2008-03-22 21:50:43
On Fri, 21 Mar 2008, Anssi Hannula wrote:
Currently using debug=1 with hid module prints out all sent and received reports to the kernel log, while in many cases we only want to see the report descriptors and hid-input mappings that are printed when a device is probed.
Hi Anssi, thanks for your patch, I agree that making this more configurable makes sense. But I would propose staying backwards compatible, i.e. debug=1 does the whole dump, debug=2 excludes the individual reports but still dumps the report descriptor and mappings etc. What do you think? Thanks, -- Jiri Kosina SUSE Labs