All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: "Jérémy Lal" <kapouer@melix.org>, linux-input@vger.kernel.org
Subject: Re: hig_magicmouse HID_BATTERY_QUIRK_IGNORE
Date: Wed, 23 Nov 2016 01:24:34 +0100	[thread overview]
Message-ID: <1479860674.16940.0.camel@hadess.net> (raw)
In-Reply-To: <CAJxTCxxN7=fjNFQ4BJPKfU0jHY=uAQNq_g3iN_0mYhSHdc28ug@mail.gmail.com>

On Wed, 2016-11-23 at 00:00 +0100, Jérémy Lal wrote:
> Hi,
> i've been using this patch for a while, as a workaround for
> https://bugzilla.kernel.org/show_bug.cgi?id=103631
> (mouse freeze when battery reports).
> 
> --- a/drivers/hid/hid-input.c
> +++ b/drivers/hid/hid-input.c
> @@ -321,6 +321,9 @@
>  { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,
>    USB_DEVICE_ID_APPLE_ALU_WIRELESS_ANSI),
>    HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE },
> +  { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,
> +    USB_DEVICE_ID_APPLE_MAGICMOUSE),
> +    HID_BATTERY_QUIRK_IGNORE },
>  { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM,
>    USB_DEVICE_ID_ELECOM_BM084),
>    HID_BATTERY_QUIRK_IGNORE },

Doesn't that also stop the mouse from reporting its battery status?

  reply	other threads:[~2016-11-23  0:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-14  6:57 hig_magicmouse HID_BATTERY_QUIRK_IGNORE Jérémy Lal
2016-11-22 21:50 ` Marcel Holtmann
2016-11-22 23:00   ` Jérémy Lal
2016-11-23  0:24     ` Bastien Nocera [this message]
2016-11-23  0:33       ` Jérémy Lal

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=1479860674.16940.0.camel@hadess.net \
    --to=hadess@hadess.net \
    --cc=kapouer@melix.org \
    --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 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.