All of lore.kernel.org
 help / color / mirror / Atom feed
* f_hid GET_REPORT extension
@ 2022-06-27  7:06 Michael Nazzareno Trimarchi
  2022-06-27  7:21 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Nazzareno Trimarchi @ 2022-06-27  7:06 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman, USB list

Hi Felipe and Greg

I'm starting to write some code to extend the GET_REPORT and let the
userspace on the device side to pre-fill the answer on this request.
Right now the answer is always 0. The idea is to create a sysfs
support to fill reports struct on report request on the host side.
This will help to
emulate devices that export features report for example. As far as I
understand the hidg side just use read and write and read is used to
extract
the result of SET_REPORT is that the gadget is properly configured. Is
it the right direction?

Michael

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-27 12:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-27  7:06 f_hid GET_REPORT extension Michael Nazzareno Trimarchi
2022-06-27  7:21 ` Greg Kroah-Hartman
2022-06-27  8:02   ` Michael Nazzareno Trimarchi
2022-06-27 11:44     ` Greg Kroah-Hartman
2022-06-27 12:08       ` Michael Nazzareno Trimarchi

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.