All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea <mariofutire@gmail.com>
To: Antonio Ospite <ao2@ao2.it>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Controlling LEDs and rumble on sixaxis
Date: Wed, 05 Mar 2014 14:06:42 +0000	[thread overview]
Message-ID: <53172F72.1050804@gmail.com> (raw)
In-Reply-To: <20140304231118.3500abb703a7c1a7679d01f1@ao2.it>

On 04/03/14 22:11, Antonio Ospite wrote:
> 
> With older kernels you can already set LEDs and rumble by sending the
> HID output report 01 via hidraw (actually there is a regression
> preventing that via BT in some versions). See the code in the BlueZ

I think the kernels I use have this regressions as the plugin does not set anything.
(Szymon mentioned something like that)
could you please give me a link to the fix so I can track if and when they are fixed for me.

> sixaxis plugin or in the newer linux kernel for the report format.
> 
> With recent/newer kernels you can use the sysfs leds class under
> /sys/class/leds/ to control the LEDs and the force feedback api[1] to
> control the rumble.

sounds simple. is this functionality affected by the above regression?

> dbus is not necessary, but depending on your application you may want to
> use libudev to add the hotplug detection of the controller.
> 

I only mentioned dbus as I found I can use it to disconnect the controller (Bluetooth).
Happy to skip it altogether. If there is a better way?

Andrea


  reply	other threads:[~2014-03-05 14:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04 21:19 Controlling LEDs and rumble on sixaxis Andrea
2014-03-04 22:11 ` Antonio Ospite
2014-03-05 14:06   ` Andrea [this message]
2014-03-30 19:17   ` Andrea

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=53172F72.1050804@gmail.com \
    --to=mariofutire@gmail.com \
    --cc=ao2@ao2.it \
    --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.