Re: [PATCH 0/1] HID: Report Descriptor in Sysfs

From: Jiri Kosina
Date: Fri Jan 21 2011 - 10:09:33 EST


On Fri, 21 Jan 2011, Alan Ott wrote:

> Maybe it is. To be honest I didn't check debugfs. I have two concerns about
> it:
> 1. Is it wise for userspace programs to rely on:

Ah, I didn't realize that you want it to be used by some acutal userspace
applications. Out of curiosity -- what is the usage pattern you are
targetting?

The idea behind debugfs-provided userspace descriptor is that driver
developer is easily able to inspect the descriptor, and write a kernel
driver that fixes it up in case it is bogus.
There were also efforts to make the report descriptor replaceable in a
request_firmware() way, but that never converged to state in which it
could be applied IIRC.

Thanks,

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/