linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chase Douglas <chasedouglas@gmail.com>
To: Michael Poole <mdpoole@troilus.org>
Cc: Jaikumar Ganesh <jaikumarg@gmail.com>,
	linux-input@vger.kernel.org, jkosina@suse.cz
Subject: Re: Magic trackpad issues on 3.0
Date: Tue, 16 Aug 2011 11:48:30 -0700	[thread overview]
Message-ID: <4E4ABB7E.8020505@gmail.com> (raw)
In-Reply-To: <CAOU-OA+c4SVrsfjNQo+3yC3KV3ite8oyV5JWZ+Bii1H-X8-fEA@mail.gmail.com>

On 08/15/2011 08:45 PM, Michael Poole wrote:
> On Mon, Aug 15, 2011 at 10:40 PM, Jaikumar Ganesh wrote:
>> Hi Michael:
>>
>> On Mon, Aug 15, 2011 at 7:03 PM, Michael Poole <mdpoole@troilus.org> wrote:
>>> 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.
>>
>> Has Apple documented this anywhere ? Will every Apple trackpad support it ?
>> Should we continue to have some fail-safe like the EIO fix ?
> 
> Hi Jaikumar,
> 
> I do not believe Apple has documented the protocol anywhere, or makes
> any guarantee of compatibility in future devices -- although forward
> compatibility makes sense in terms of the installed base of drivers,
> and I suspect any devices that use a different protocol would get
> different device IDs.
> 
> I think the EIO fix should stay.

I just started to notice this issue last week. The Ubuntu 3.0.0-7 kernel
(the -# part is an ubuntu suffix) seems to work fine, but 3.0.0-8 does
not. I would guess a -stable patch is causing a regression, but the diff
stat from 3.0 to 3.0.1 doesn't show anything related to input, hid, or
bluetooth.

-- Chase

      reply	other threads:[~2011-08-16 18:48 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
2011-08-16  2:40   ` Jaikumar Ganesh
2011-08-16  3:45     ` Michael Poole
2011-08-16 18:48       ` Chase Douglas [this message]

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=4E4ABB7E.8020505@gmail.com \
    --to=chasedouglas@gmail.com \
    --cc=jaikumarg@gmail.com \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=mdpoole@troilus.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).