Re: Controlling LEDs and rumble on sixaxis

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

 



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

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