linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Poole <mdpoole@troilus.org>
To: Jaikumar Ganesh <jaikumarg@gmail.com>
Cc: linux-input@vger.kernel.org, jkosina@suse.cz
Subject: Re: Magic trackpad issues on 3.0
Date: Mon, 15 Aug 2011 22:03:59 -0400	[thread overview]
Message-ID: <CAOU-OAJW7F58n5OHydhXzfgUxt1jeBKyEPcg6DOyiFNMHJjQGQ@mail.gmail.com> (raw)
In-Reply-To: <CACMz=xjmL=voNMk4usxT+Y6z1D_nncvJ34Y_w1PuqBNAE-4phg@mail.gmail.com>

On Mon, Aug 15, 2011 at 4:18 PM, Jaikumar Ganesh wrote:
> Folks,
>   This is with regard to the issue:
>
> http://www.spinics.net/lists/linux-input/msg15334.html
>
> As mentioned in that thread we were ignoring the EIO return value earlier.
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=c3a4924565e2eecf2539871abd123d35be6d76d5
>
> reverted the commit back, because
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=7f4f0572df6c8eaa6a587bc212b0806ff37380dd
> fixed the issue with the Bluetooth stack with 1.1 Bluetooth devices.
>
> However, I am seeing the same problem with an Apple Trackpad which is
> 2.0 Bluetooth device. It worked fine before because we were ignoring
> the EIO.
>
> The Error code is the same as mentioned in the thread above: Invalid
> Report ID while calling the Set Feature Report call.
>
> So to the driver authors:
>
> In magicmouse_probe function, the report id is set to d7. __u8
> feature[] = { 0xd7, 0x01 };
>
> Is it guaranteed that all Apple devices will have 0xd7 as the report
> Id. Why are we not reading the report ID from the report descriptor
> since its an optional feature ?

The report descriptor does not include that feature report.  There are
a number of commands for Apple's Magic Mouse and Magic Trackpad that
are not listed in the standard HID descriptor.

Michael Poole
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-08-16  2:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 20:18 Magic trackpad issues on 3.0 Jaikumar Ganesh
2011-08-16  2:03 ` Michael Poole [this message]
2011-08-16  2:40   ` Jaikumar Ganesh
2011-08-16  3:45     ` Michael Poole
2011-08-16 18:48       ` Chase Douglas

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=CAOU-OAJW7F58n5OHydhXzfgUxt1jeBKyEPcg6DOyiFNMHJjQGQ@mail.gmail.com \
    --to=mdpoole@troilus.org \
    --cc=jaikumarg@gmail.com \
    --cc=jkosina@suse.cz \
    --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).