Re: [RFC] PS3Remote unpairing and power-saving

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/8/27, Ruslan N. Marchenko <rufferson@xxxxxxxxx>:
> 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@xxxxxxxxx>
>  ---
>   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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux