All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: KY Srinivasan <kys@microsoft.com>,
	"gregkh@suse.de" <gregkh@suse.de>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>,
	"virtualization@lists.osdl.org" <virtualization@lists.osdl.org>,
	"ohering@suse.com" <ohering@suse.com>,
	"joe@perches.com" <joe@perches.com>
Subject: Re: [PATCH 1/1] Staging: hv: Move the mouse driver out of staging
Date: Sun, 13 Nov 2011 16:47:45 -0800	[thread overview]
Message-ID: <20111114004745.GA3666@core.coreip.homeip.net> (raw)
In-Reply-To: <alpine.LNX.2.00.1111132100000.15187@pobox.suse.cz>

On Sun, Nov 13, 2011 at 09:01:28PM +0100, Jiri Kosina wrote:
> On Sun, 6 Nov 2011, Dmitry Torokhov wrote:
> 
> > > I am not a hid expert; but all  hid low level drivers appear to do this.
> > > Initially, I was directly invoking hid_connect() directly and based on your
> > > Input, I chose to use hid_hw_start() which all other drivers are using.
> > 
> > Note that the users of hid_hw_start() actually are not low level
> > drivers, such as usbhid or bluetooth hidp, but higher-level drivers,
> > such as hid-wacom, hid-a4tech, etc. Since your driver is a low-level
> > driver (a provider so to speak) it should not call hid_hw_start() on its
> > own but rather wait for the hid code to do it.
> > 
> > Still, I am not a HID expert either so I'll defer to Jiri here.
> 
> Hi,
> 
> my understanding is that hv driver is actually a bit special in this 
> respect -- it's actually all-in-one both low-level and high-level driver. 
> I take it that there is not ever going to be a different high-level driver 
> using low-level hv transport (is that correct, KY?), so this might indeed 
> be an acceptable layout of the driver.
> 

I actually do not see anything of a high-level driver in hv-mouse. It is
a pure transport driver that channels everything through hid-input...

Thanks.

-- 
Dmitry

  reply	other threads:[~2011-11-14  0:47 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28 22:35 [PATCH 1/1] Staging: hv: Move the mouse driver out of staging K. Y. Srinivasan
2011-10-28 22:54 ` Jesper Juhl
2011-10-29  6:32   ` Dan Carpenter
2011-10-29  6:32     ` Dan Carpenter
2011-10-30 16:16     ` KY Srinivasan
2011-11-02 22:59     ` Jesper Juhl
2011-11-02 23:04       ` KY Srinivasan
2011-11-05  6:47 ` Dmitry Torokhov
2011-11-07  1:04   ` KY Srinivasan
2011-11-07  5:51     ` Dmitry Torokhov
2011-11-09  0:45       ` KY Srinivasan
2011-11-09  0:49         ` Greg KH
2011-11-09  3:19           ` KY Srinivasan
2011-11-09 14:43           ` KY Srinivasan
2011-11-13 20:02         ` Jiri Kosina
2011-11-14  2:42           ` KY Srinivasan
2011-11-13 20:01       ` Jiri Kosina
2011-11-14  0:47         ` Dmitry Torokhov [this message]
2011-11-14  2:45           ` KY Srinivasan
2011-11-14  2:40         ` KY Srinivasan
  -- strict thread matches above, loose matches on Subject: below --
2011-11-09 17:23 K. Y. Srinivasan
2011-10-26 16:08 K. Y. Srinivasan
2011-10-27 10:37 ` Olaf Hering
2011-10-27 13:25   ` KY Srinivasan
2011-10-27 13:25     ` KY Srinivasan
2011-10-28 18:47 ` Jiri Kosina
2011-10-28 19:50   ` KY Srinivasan
2011-10-28 20:03     ` Greg KH
2011-10-28 20:28       ` KY Srinivasan
2011-10-29  6:34         ` Greg KH
2011-10-29  6:34           ` Greg KH
2011-10-29 14:09           ` KY Srinivasan
2011-10-29 14:09             ` KY Srinivasan
2011-10-29 17:05         ` Jiri Kosina
2011-10-29 17:05           ` Jiri Kosina
2011-10-30 16:16           ` KY Srinivasan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111114004745.GA3666@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=devel@linuxdriverproject.org \
    --cc=gregkh@suse.de \
    --cc=jkosina@suse.cz \
    --cc=joe@perches.com \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ohering@suse.com \
    --cc=virtualization@lists.osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.