linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PS3 remote battery drain
@ 2015-11-08 11:51 Veit Guna
  2015-11-09 12:11 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 3+ messages in thread
From: Veit Guna @ 2015-11-08 11:51 UTC (permalink / raw)
  To: linux-bluetooth

Hi.

I'm currently using the latest OSMC media center (successor of raspbmc)
on the raspberry pi 2.
It uses the bluez packages (5.12 AFAIR) for handling the bluetooth
connections.

Connecting and using the ps3 remote (1st gen) works quite ok with that.
The problem I have is, that the remote doesn't seem to go to standby and
batteries drain very quickly (2-3 weeks).

Before OSMC, I used raspbmc. It had the same problems initially. But a
user named "kitlaan" applied patches
to the original bluez packages to get standby working. After replacing
the original bluez packages with the
patched ones, standby worked and batteries lasted at least 6 months.

One could easily recognize the standby when hitting a button on the
remote. It lagged a second before the button press
went through to kodi. After it had woken up, pressing a button worked
instantly - without a delay.

Back then, the patch used the 4.98 version of bluez. Now I can see that
the latest official bluez version is 5.36.
Now I'm wondering, whether the patches have made it somehow into the
official bluez version.

Testing with 5.12 showed, that standby didn't work as expected. Also
when using a IdleTimeout of 1 minute within
the input.conf.

Basically one can get it to work with that (there are the patches
mentioned):

https://www.mythtv.org/wiki/Sony_PS3_BD_Remote

Does anybody have a clue whether the patches - or some parts of them -
have made it into bluez?

Thanks
Veit




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PS3 remote battery drain
  2015-11-08 11:51 PS3 remote battery drain Veit Guna
@ 2015-11-09 12:11 ` Luiz Augusto von Dentz
  2015-11-09 12:21   ` Bastien Nocera
  0 siblings, 1 reply; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2015-11-09 12:11 UTC (permalink / raw)
  To: Veit Guna; +Cc: linux-bluetooth@vger.kernel.org

Hi Veit,

On Sun, Nov 8, 2015 at 1:51 PM, Veit Guna <veit.guna@gmx.de> wrote:
> Hi.
>
> I'm currently using the latest OSMC media center (successor of raspbmc)
> on the raspberry pi 2.
> It uses the bluez packages (5.12 AFAIR) for handling the bluetooth
> connections.
>
> Connecting and using the ps3 remote (1st gen) works quite ok with that.
> The problem I have is, that the remote doesn't seem to go to standby and
> batteries drain very quickly (2-3 weeks).
>
> Before OSMC, I used raspbmc. It had the same problems initially. But a
> user named "kitlaan" applied patches
> to the original bluez packages to get standby working. After replacing
> the original bluez packages with the
> patched ones, standby worked and batteries lasted at least 6 months.
>
> One could easily recognize the standby when hitting a button on the
> remote. It lagged a second before the button press
> went through to kodi. After it had woken up, pressing a button worked
> instantly - without a delay.
>
> Back then, the patch used the 4.98 version of bluez. Now I can see that
> the latest official bluez version is 5.36.
> Now I'm wondering, whether the patches have made it somehow into the
> official bluez version.
>
> Testing with 5.12 showed, that standby didn't work as expected. Also
> when using a IdleTimeout of 1 minute within
> the input.conf.
>
> Basically one can get it to work with that (there are the patches
> mentioned):
>
> https://www.mythtv.org/wiki/Sony_PS3_BD_Remote
>
> Does anybody have a clue whether the patches - or some parts of them -
> have made it into bluez?

Check that you have the following patch:

http://www.spinics.net/lists/linux-bluetooth/msg64073.html

This will make sure all the references to the sockets are released
which means the device can be disconnected if nothing else is using
the link.

-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PS3 remote battery drain
  2015-11-09 12:11 ` Luiz Augusto von Dentz
@ 2015-11-09 12:21   ` Bastien Nocera
  0 siblings, 0 replies; 3+ messages in thread
From: Bastien Nocera @ 2015-11-09 12:21 UTC (permalink / raw)
  To: Luiz Augusto von Dentz, Veit Guna; +Cc: linux-bluetooth@vger.kernel.org

On Mon, 2015-11-09 at 14:11 +0200, Luiz Augusto von Dentz wrote:
> 
<snip>
> Check that you have the following patch:
> 
> http://www.spinics.net/lists/linux-bluetooth/msg64073.html
> 
> This will make sure all the references to the sockets are released
> which means the device can be disconnected if nothing else is using
> the link.

I was about to make a reference to that patch. Do we have any way to
make this automatic for this device? I couldn't find a way to
automatically disconnect a device after a period of idleness, and even
less for a particular device. Do we have something like that?

Cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-09 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-08 11:51 PS3 remote battery drain Veit Guna
2015-11-09 12:11 ` Luiz Augusto von Dentz
2015-11-09 12:21   ` Bastien Nocera

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).