linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Kosina <jkosina@suse.cz>
To: Bastien Nocera <hadess@hadess.net>
Cc: linux-input <linux-input@vger.kernel.org>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>
Subject: Re: [PATCH] Input: add appleir USB driver
Date: Wed, 27 Jan 2010 16:40:03 +0100 (CET)	[thread overview]
Message-ID: <alpine.LNX.2.00.1001271631460.30977@pobox.suse.cz> (raw)
In-Reply-To: <1263997077.1735.2942.camel@localhost.localdomain>

On Wed, 20 Jan 2010, Bastien Nocera wrote:

> +First, you will need to disable the kernel driver for the receiver.
> +
> +This can be achieved by passing quirks to the usbhid driver.
> +The quirk line would be:
> +usbhid.quirks=0x05ac:0x8242:0x08
> +
> +With 0x05ac being the vendor ID (Apple, you shouldn't need to change this)
> +With 0x8242 being the product ID (check the output of lsusb for your hardware)
> +And 0x08 being "HID_CONNECT_HIDDEV"

I am afraid this is not true, 0x08 is HID_QUIRK_NOGET.

We currently don't have dynamic quirk for forcing HIDDEV creation from the 
module parameter.

> +	if (!memcmp(data, keydown, sizeof(keydown))) {
> +		/*If we already have a key down, take it up before marking */
> +		/*this one down */
> +		if (appleir->current_key)
> +			key_up(appleir, appleir->current_key);
> +		appleir->current_key = keymap[(data[4] >> 1) & MAX_KEYS_MASK];
> +
> +		key_down(appleir, appleir->current_key);
> +		/*remote doesn't do key up, either pull them up, in the test */
> +		/*above, or here set a timer which pulls them up after 1/8 s */

Could you please place spaces after the comment starters?

Thanks,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

  reply	other threads:[~2010-01-27 15:40 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-20 14:17 [PATCH] Input: add appleir USB driver Bastien Nocera
2010-01-27 15:40 ` Jiri Kosina [this message]
2010-02-01 13:52   ` Bastien Nocera
2010-02-03 15:54     ` Jiri Kosina
2010-02-08 16:32       ` Bastien Nocera
2010-02-10 12:52         ` Jiri Kosina
2010-02-11 18:18           ` Bastien Nocera
  -- strict thread matches above, loose matches on Subject: below --
2012-11-15 18:13 Bastien Nocera
2012-11-19 15:32 ` Benjamin Tissoires
2012-11-19 15:44   ` Bastien Nocera
2012-11-19 16:01     ` Benjamin Tissoires
2010-09-10 15:19 Bastien Nocera
2010-04-21 13:51 Bastien Nocera
2010-04-17 21:45 Bastien Nocera
2010-04-16 16:19 Bastien Nocera
2010-04-17  8:12 ` Dmitry Torokhov
2010-04-17 21:44   ` Bastien Nocera
2010-04-18 19:43     ` Dmitry Torokhov
2010-04-18 19:49       ` Bastien Nocera
2010-04-18 20:19         ` Dmitry Torokhov
2010-04-19  0:31           ` Bastien Nocera
2010-04-19  7:28             ` Dmitry Torokhov
2010-04-19 10:08               ` Bastien Nocera
2010-04-21  6:31                 ` Dmitry Torokhov
2010-04-21 14:06                   ` Bastien Nocera
2010-04-19  9:22   ` Jiri Kosina
2010-04-19  9:31     ` Bastien Nocera
2010-04-19 10:00       ` Jiri Kosina
2010-04-19 10:14         ` Bastien Nocera
2010-04-19 11:08           ` Jiri Kosina
2010-04-21 20:09             ` Dmitry Torokhov
2010-09-03 16:58               ` Bastien Nocera
2010-02-08 16:32 Bastien Nocera
2008-05-14 22:15 Greg KH
2008-05-14 23:27 ` Matthew Garrett
2008-05-14 23:49   ` Greg KH
2008-05-15  6:20     ` Sitsofe Wheeler
2008-05-15  3:50 ` Dmitry Torokhov
2008-05-15 13:21 ` Tino Keitel
     [not found]   ` <20080515132108.GA9327-z7fNteJZwjmqk56C3691EA@public.gmane.org>
2008-05-15 13:45     ` Dmitry Torokhov
2008-05-15 17:49       ` Tino Keitel
     [not found]         ` <20080515174939.GA10881-z7fNteJZwjmqk56C3691EA@public.gmane.org>
2008-05-15 18:35           ` Dmitry Torokhov
2008-05-15 20:59             ` Tino Keitel
2008-05-16  7:19               ` Jiri Kosina
2008-05-16  7:26                 ` Tino Keitel
2008-05-16 13:13               ` Dmitry Torokhov
2008-05-16 13:32                 ` Tino Keitel
     [not found]                   ` <20080516133234.GA10193-Zv899e0YUSaDCaQdYfVI6sM6rOWSkUom@public.gmane.org>
2008-05-16 13:53                     ` Dmitry Torokhov
     [not found]                       ` <20080516095218.ZZRA012-NG0XCrj25/nJrYCpivWRnl5pS2h4L8biXqFh9Ls21Oc@public.gmane.org>
2008-05-16 14:07                         ` Tino Keitel
2008-05-15 18:40       ` Greg KH
     [not found]         ` <20080515184034.GB15231-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2008-05-15 20:59           ` Tino Keitel
     [not found]             ` <20080515205959.GA11683-z7fNteJZwjmqk56C3691EA@public.gmane.org>
2008-05-15 21:11               ` Greg KH
2008-05-15 23:27                 ` Tino Keitel
2008-05-16  2:32                   ` Greg KH
2008-05-16  5:44                     ` Tino Keitel
     [not found] ` <20080514221519.GA6575-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2008-05-15 13:40   ` Tino Keitel
2008-05-15 18:41     ` Greg KH

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=alpine.LNX.2.00.1001271631460.30977@pobox.suse.cz \
    --to=jkosina@suse.cz \
    --cc=dmitry.torokhov@gmail.com \
    --cc=hadess@hadess.net \
    --cc=linux-input@vger.kernel.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 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).