All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manuel Reimer <manuel.reimer@mailbox.org>
To: linux-bluetooth@vger.kernel.org
Subject: PS3 controller (SIXAXIS) never gets into "IdleTimeout"
Date: Tue, 19 Jan 2016 19:57:46 +0100	[thread overview]
Message-ID: <569E872A.2010302@mailbox.org> (raw)

Hello,

I want to use my PS3 controller on my Linux system. This, so far, seems 
to work pretty well, but if I forget to turn off the controller when 
leaving my PC, then the battery keeps discharging until it is finally empty.

There is a setting "IdleTimeout" in "input.conf", but at least for me 
this doesn't work for the PS3 controller.

I think the reason is, that the controller keeps sending information 
even if it is placed on my desk and noone is touching it. If I run 
"evtest" on the event device, created for the controller, then I get 
something like this (only short snippet):

Event: time 1453228629.616457, -------------- SYN_REPORT ------------
Event: time 1453228629.651514, type 3 (EV_ABS), code 1 (ABS_Y), value 124
Event: time 1453228629.651514, type 3 (EV_ABS), code 61 (ABS_MT_TOOL_Y), 
value 491
Event: time 1453228629.651514, -------------- SYN_REPORT ------------
Event: time 1453228629.683436, type 3 (EV_ABS), code 1 (ABS_Y), value 123
Event: time 1453228629.683436, type 3 (EV_ABS), code 2 (ABS_Z), value 132
Event: time 1453228629.683436, type 3 (EV_ABS), code 61 (ABS_MT_TOOL_Y), 
value 490
Event: time 1453228629.683436, -------------- SYN_REPORT ------------

Seems like the controller keeps sending axis information even if the 
axis aren't touched at all.

Is there any chance to add some handling into bluez to get the 
controller disabled, even if it keeps sending information in "idle state"?

Thank you very much in advance.

Best regards,

Manuel

             reply	other threads:[~2016-01-19 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19 18:57 Manuel Reimer [this message]
2016-01-19 22:40 ` PS3 controller (SIXAXIS) never gets into "IdleTimeout" Antonio Ospite
2016-01-22 15:50   ` Manuel Reimer

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=569E872A.2010302@mailbox.org \
    --to=manuel.reimer@mailbox.org \
    --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 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.