From: "Ruslan N. Marchenko" <rufferson@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Re: [RFC] PS3Remote unpairing and power-saving
Date: Fri, 28 Aug 2009 16:09:57 +0200 [thread overview]
Message-ID: <a70b8cd30908280709u30a00f20j7136a221d8406f37@mail.gmail.com> (raw)
In-Reply-To: <a70b8cd30908270945o761a64c3gf665e5660bdf12cc@mail.gmail.com>
2009/8/27, Ruslan N. Marchenko <rufferson@gmail.com>:
> PS3 BD Remote driver in fakehid is not able to detect remote unpairing, thus
> not handling it properly.
> Also it keeps permanent BT link with remote controller, which drains batteries.
> With these changes it now utlize IdleTimeout to implicitly unpair device,
> forcing it to enter low power sleep mode.
> IdleTimeout is treated in seconds, in contrast with default - minutes.
> HID device is created on first pairing, and then kept cached till the end of
> daemon life, allowing pairing keypresses to be sent to application with minimum
> delays.
> HID is distingueshed by vendor/product codes, which restricts it to only single
> HID for all registered and active PS3 BD Remote controllers.
>
> Signed-off-by: Ruslan N. Marchenko <rufferson@gmail.com>
> ---
> input/device.c | 14 +------
> input/device.h | 13 ++++++-
> input/fakehid.c | 115 +++++++++++++++++++++++++++++++++++++++++-------------
> input/fakehid.h | 4 ++
> 4 files changed, 105 insertions(+), 41 deletions(-)
>
Well, if no one minds, I'll post it as a patch %)
--
----
Looking forward to reading yours.
RUFF-RIPE DI76-GANDI RUFF-6BONE
Ruslan N. Marchenko
prev parent reply other threads:[~2009-08-28 14:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-27 16:45 [RFC] PS3Remote unpairing and power-saving Ruslan N. Marchenko
2009-08-28 14:09 ` Ruslan N. Marchenko [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=a70b8cd30908280709u30a00f20j7136a221d8406f37@mail.gmail.com \
--to=rufferson@gmail.com \
--cc=linux-bluetooth@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