Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2016-01-04 Thread Dmitry Torokhov
On Thu, Dec 24, 2015 at 07:11:22PM +0100, Pavel Rojtberg wrote: > > for me this one did the trick. The correct LED lights up after resume. > > Integrated it here (master): > https://github.com/paroj/xpad Pavel, I refreshed my xpad branch on kernel.org folding the reset_resume and anchor changes

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2016-01-04 Thread Dmitry Torokhov
On Thu, Dec 24, 2015 at 07:11:22PM +0100, Pavel Rojtberg wrote: > > for me this one did the trick. The correct LED lights up after resume. > > Integrated it here (master): > https://github.com/paroj/xpad Pavel, I refreshed my xpad branch on kernel.org folding the reset_resume and anchor changes

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-24 Thread Pavel Rojtberg
2015-12-21 21:06 GMT+01:00 Dmitry Torokhov : > On Sun, Dec 20, 2015 at 01:49:25PM +0100, Pavel Rojtberg wrote: >> 2015-12-20 8:55 GMT+01:00 Dmitry Torokhov : >> > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: >> >> On Wed, 16 Dec 2015 14:44:08 -0800 >> >> Dmitry Torokhov wrote:

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-24 Thread Pavel Rojtberg
2015-12-21 21:06 GMT+01:00 Dmitry Torokhov : > On Sun, Dec 20, 2015 at 01:49:25PM +0100, Pavel Rojtberg wrote: >> 2015-12-20 8:55 GMT+01:00 Dmitry Torokhov : >> > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: >> >> On Wed, 16

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-22 Thread Clement Calmels
On Mon, 21 Dec 2015 12:06:50 -0800 Dmitry Torokhov wrote: > On Sun, Dec 20, 2015 at 01:49:25PM +0100, Pavel Rojtberg wrote: > > 2015-12-20 8:55 GMT+01:00 Dmitry Torokhov > > : > > > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: > > >> On Wed, 16 Dec 2015 14:44:08 -0800 > > >>

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-22 Thread Clement Calmels
On Mon, 21 Dec 2015 12:06:50 -0800 Dmitry Torokhov wrote: > On Sun, Dec 20, 2015 at 01:49:25PM +0100, Pavel Rojtberg wrote: > > 2015-12-20 8:55 GMT+01:00 Dmitry Torokhov > > : > > > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-21 Thread Dmitry Torokhov
On Sun, Dec 20, 2015 at 01:49:25PM +0100, Pavel Rojtberg wrote: > 2015-12-20 8:55 GMT+01:00 Dmitry Torokhov : > > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: > >> On Wed, 16 Dec 2015 14:44:08 -0800 > >> Dmitry Torokhov wrote: > >> > >> > When lighting up the segment

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-21 Thread Dmitry Torokhov
On Sun, Dec 20, 2015 at 01:49:25PM +0100, Pavel Rojtberg wrote: > 2015-12-20 8:55 GMT+01:00 Dmitry Torokhov : > > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: > >> On Wed, 16 Dec 2015 14:44:08 -0800 > >> Dmitry Torokhov

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-20 Thread Pavel Rojtberg
2015-12-20 8:55 GMT+01:00 Dmitry Torokhov : > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: >> On Wed, 16 Dec 2015 14:44:08 -0800 >> Dmitry Torokhov wrote: >> >> > When lighting up the segment identifying wireless controller, Instead >> > of sending command directly to the

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-20 Thread Pavel Rojtberg
2015-12-20 8:55 GMT+01:00 Dmitry Torokhov : > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: >> On Wed, 16 Dec 2015 14:44:08 -0800 >> Dmitry Torokhov wrote: >> >> > When lighting up the segment identifying wireless

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-19 Thread Dmitry Torokhov
On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: > On Wed, 16 Dec 2015 14:44:08 -0800 > Dmitry Torokhov wrote: > > > When lighting up the segment identifying wireless controller, Instead > > of sending command directly to the controller, let's do it via LED > > API (usinf

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-19 Thread Clement Calmels
On Wed, 16 Dec 2015 14:44:08 -0800 Dmitry Torokhov wrote: > When lighting up the segment identifying wireless controller, Instead > of sending command directly to the controller, let's do it via LED > API (usinf led_set_brightness) so that LED object state is in sync > with controller state and

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-19 Thread Clement Calmels
On Wed, 16 Dec 2015 14:44:08 -0800 Dmitry Torokhov wrote: > When lighting up the segment identifying wireless controller, Instead > of sending command directly to the controller, let's do it via LED > API (usinf led_set_brightness) so that LED object state is in sync >

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-19 Thread Dmitry Torokhov
On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: > On Wed, 16 Dec 2015 14:44:08 -0800 > Dmitry Torokhov wrote: > > > When lighting up the segment identifying wireless controller, Instead > > of sending command directly to the controller, let's do it via

[PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-16 Thread Dmitry Torokhov
When lighting up the segment identifying wireless controller, Instead of sending command directly to the controller, let's do it via LED API (usinf led_set_brightness) so that LED object state is in sync with controller state and we'll light up the correct segment on resume as well.

[PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-16 Thread Dmitry Torokhov
When lighting up the segment identifying wireless controller, Instead of sending command directly to the controller, let's do it via LED API (usinf led_set_brightness) so that LED object state is in sync with controller state and we'll light up the correct segment on resume as well.