linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/2] HID: Introduce .idle() to remove last usb dependence from hid-multitouch
@ 2013-02-27 15:38 Benjamin Tissoires
  2013-02-27 15:38 ` [RFC 1/2] HID: Extend the interface with idle requests Benjamin Tissoires
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Benjamin Tissoires @ 2013-02-27 15:38 UTC (permalink / raw)
  To: Benjamin Tissoires, Henrik Rydberg, Jiri Kosina, Stephane Chatty,
	David Herrmann, linux-input, linux-kernel

Hi guys,

Well, this series of two patches aims at removing the dependence between usb
and hid-multitouch.
I put a RFC and not a patch as I'm not satisfied with the result:
- adding this callback for one use may not be accurate
- the parameters may not be good either (HID_REQ_SET_IDLE is the only valid
  value for now as noone seems to be using HID_REQ_GET_IDLE)
- the return value is clearly not very interesting.
- maybe we should just add HID_REQ_SET_IDLE to .request, but this will require
  a few changes in the parameters.

The main purpose of this RFC was to share it with David this new ll callback, so
that we can have a global view of what is needed.

Thanks for the inputs.

Cheers,
Benjamin

Benjamin Tissoires (2):
  HID: Extend the interface with idle requests
  HID: multitouch: remove last usb dependency

 drivers/hid/hid-multitouch.c  | 17 +----------------
 drivers/hid/usbhid/hid-core.c | 15 +++++++++++++++
 include/linux/hid.h           | 19 +++++++++++++++++++
 3 files changed, 35 insertions(+), 16 deletions(-)

-- 
1.8.1.2

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

end of thread, other threads:[~2013-03-07 14:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27 15:38 [RFC 0/2] HID: Introduce .idle() to remove last usb dependence from hid-multitouch Benjamin Tissoires
2013-02-27 15:38 ` [RFC 1/2] HID: Extend the interface with idle requests Benjamin Tissoires
2013-03-07 14:26   ` Jiri Kosina
2013-03-07 14:30     ` Benjamin Tissoires
2013-03-07 14:53       ` Jiri Kosina
2013-02-27 15:38 ` [RFC 2/2] HID: multitouch: remove last usb dependency Benjamin Tissoires
2013-02-27 17:48 ` [RFC 0/2] HID: Introduce .idle() to remove last usb dependence from hid-multitouch David Herrmann
2013-02-27 18:01   ` Benjamin Tissoires

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).