Re: Game Controllers

2013-05-03 Thread Ignaz Forster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Todd Showalter schrieb am 30.04.2013 02:46 Uhr: > What I'd like to request at the evdev level is that things which > are gamepads export these values in standard offsets, so that: > > EV_ABS 0 == left stick x > EV_ABS 1 == left stick y > EV_ABS 2

Re: Game Controllers

2013-05-03 Thread Todd Showalter
On Fri, May 3, 2013 at 12:01 PM, Dmitry Torokhov wrote: > Actually not all input devices have to be accessible to root only. We > definitely need this for now for keyboards (since we do not have > revoke() yet) so that one user would not snoop another users keystrokes, > but I think we could rela

Re: Game Controllers

2013-05-03 Thread Dmitry Torokhov
On Fri, May 03, 2013 at 08:57:12AM -0400, Todd Showalter wrote: > On Fri, May 3, 2013 at 6:29 AM, Simon Farnsworth > wrote: > > > Could you consider a gamepad equivalent of libv4l2 (source found in > > http://git.linuxtv.org/v4l-utils.git/tree/HEAD:/lib )? > > [8<] > > > A gamepad version would

Re: [BUG] suspicious RCU usage

2013-05-03 Thread Dmitry Torokhov
On Fri, May 03, 2013 at 01:28:25PM +0200, Jiri Kosina wrote: > On Fri, 3 May 2013, majianpeng wrote: > > > >> Jiri, we had a similar bug in the RH bugzilla: > > >> https://bugzilla.redhat.com/show_bug.cgi?id=958935 > > >> > > >> Are these two reports potentially fixed by your patch "HID: protect >

Re: Game Controllers

2013-05-03 Thread Dmitry Torokhov
On Thu, May 02, 2013 at 05:10:42PM -0400, Todd Showalter wrote: > On Thu, May 2, 2013 at 4:45 PM, Dmitry Torokhov > wrote: > > > Again, the kernel will try to do the right thing and produce the correct > > events for new input devices, but we are not going to introduce a copy > > of evdev protoco

Re: Game Controllers

2013-05-03 Thread Todd Showalter
On Fri, May 3, 2013 at 6:29 AM, Simon Farnsworth wrote: > Could you consider a gamepad equivalent of libv4l2 (source found in > http://git.linuxtv.org/v4l-utils.git/tree/HEAD:/lib )? [8<] > A gamepad version would intercept opens of /dev/input/event* nodes, and if > that node was a gamepad, do

Re: Game Controllers

2013-05-03 Thread Simon Farnsworth
On Thursday 2 May 2013 15:10:55 Todd Showalter wrote: > Users want to plug in a gamepad and have it just work, regardless > of who made it. Developers occasionally want access to he more > esoteric parts of the gamepad hardware, but 99% of the time they just > want standard sticks-and-buttons

Re: [BUG] suspicious RCU usage

2013-05-03 Thread Jiri Kosina
On Fri, 3 May 2013, majianpeng wrote: > >> Jiri, we had a similar bug in the RH bugzilla: > >> https://bugzilla.redhat.com/show_bug.cgi?id=958935 > >> > >> Are these two reports potentially fixed by your patch "HID: protect > >> hid_debug_list" (https://patchwork.kernel.org/patch/2453931/) > >> If

Re: [PATCH 3/3] Input: gpio_mouse - Remove redundant platform_set_drvdata()

2013-05-03 Thread Hans-Christian Egtvedt
Around Fri 03 May 2013 16:12:22 +0530 or thereabout, Sachin Kamat wrote: > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no > driver is bound) removes the need to set driver data field to > NULL. > > Signed-off-by: Sachin Kamat > Cc: Hans-Christian Egtvedt Acked-by: Hans-Christian

Re: [PATCH 2/3] Input: at32psif - Remove redundant platform_set_drvdata()

2013-05-03 Thread Hans-Christian Egtvedt
Around Fri 03 May 2013 16:06:39 +0530 or thereabout, Sachin Kamat wrote: > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no > driver is bound) removes the need to set driver data field to > NULL. > > Signed-off-by: Sachin Kamat > Cc: Hans-Christian Egtvedt Acked-by: Hans-Christian

Re: [PATCH 2/9] Input: atmel-wm97xx - Remove redundant platform_set_drvdata()

2013-05-03 Thread Hans-Christian Egtvedt
Around Fri 03 May 2013 15:58:35 +0530 or thereabout, Sachin Kamat wrote: > Commit 0998d06310 (device-core: Ensure drvdata = NULL when no > driver is bound) removes the need to set driver data field to > NULL. > > Signed-off-by: Sachin Kamat > Cc: Hans-Christian Egtvedt > Cc: Mark Brown Acked-b

[PATCH 3/3] Input: gpio_mouse - Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Hans-Christian Egtvedt --- drivers/input/mouse/gpio_mouse.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/input/mo

[PATCH 2/3] Input: amimouse - Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat --- drivers/input/mouse/amimouse.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/mouse/amimouse.c b/drivers/input/mo

[PATCH 1/3] Input: q40kbd - Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat --- drivers/input/serio/q40kbd.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/

[PATCH 3/3] Input: q40kbd - Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat --- drivers/input/serio/q40kbd.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/

[PATCH 2/3] Input: at32psif - Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Hans-Christian Egtvedt --- drivers/input/serio/at32psif.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/serio

[PATCH 1/3] Input: altera_ps2 - Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Thomas Chou --- drivers/input/serio/altera_ps2.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/serio/altera_ps2

[PATCH 9/9] Input: w90p910_ts: Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Wan ZongShun --- drivers/input/touchscreen/w90p910_ts.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/touchsc

[PATCH 8/9] Input: tnetv107x-ts - Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat --- drivers/input/touchscreen/tnetv107x-ts.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/touchscreen/tnetv107x-t

[PATCH 7/9] Input: ti_am335x_tsc: Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Rachna Patil --- drivers/input/touchscreen/ti_am335x_tsc.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchs

[PATCH 6/9] Input: mc13783_ts: Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Sascha Hauer --- drivers/input/touchscreen/mc13783_ts.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/touchsc

[PATCH 5/9] Input: jornada720_ts - Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Kristoffer Ericson --- drivers/input/touchscreen/jornada720_ts.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/inpu

[PATCH 4/9] Input: intel-mid-touch: Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Sreedhara Murthy. D.S. --- drivers/input/touchscreen/intel-mid-touch.c |2 -- 1 file changed, 2 deletions(-) diff --git a/driver

[PATCH 3/9] Input: da9052_tsi - Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Anthony Olech --- drivers/input/touchscreen/da9052_tsi.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/touchs

[PATCH 2/9] Input: atmel-wm97xx - Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Hans-Christian Egtvedt Cc: Mark Brown --- drivers/input/touchscreen/atmel-wm97xx.c |2 -- 1 file changed, 2 deletions(-) diff -

[PATCH 1/9] Input: 88pm860x-ts- Remove redundant platform_set_drvdata()

2013-05-03 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat --- drivers/input/touchscreen/88pm860x-ts.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchscreen/88pm860x-ts.c

Re: [BUG] suspicious RCU usage

2013-05-03 Thread majianpeng
On 05/03/2013 04:23 PM, Jiri Kosina wrote: > On Fri, 3 May 2013, Benjamin Tissoires wrote: > >> Thanks for reporting it. >> >> Jiri, we had a similar bug in the RH bugzilla: >> https://bugzilla.redhat.com/show_bug.cgi?id=958935 >> >> Are these two reports potentially fixed by your patch "HID: prote

Re: [PATCH-V2] HID: hid-steelseries fix led class build issue

2013-05-03 Thread Jiri Kosina
On Thu, 2 May 2013, Simon Wood wrote: > Fixes 'undefined reference' issue when hid-steelseries is built in, > but led-class is a module. > -- > drivers/built-in.o: In function `steelseries_srws1_remove': > hid-steelseries.c:(.text+0x3b97a1): undefined reference to > `led_classdev_unregister' > dr

Re: [BUG] suspicious RCU usage

2013-05-03 Thread Jiri Kosina
On Fri, 3 May 2013, Benjamin Tissoires wrote: > Thanks for reporting it. > > Jiri, we had a similar bug in the RH bugzilla: > https://bugzilla.redhat.com/show_bug.cgi?id=958935 > > Are these two reports potentially fixed by your patch "HID: protect > hid_debug_list" (https://patchwork.kernel.org

Re: [BUG] suspicious RCU usage

2013-05-03 Thread Benjamin Tissoires
Thanks for reporting it. Jiri, we had a similar bug in the RH bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=958935 Are these two reports potentially fixed by your patch "HID: protect hid_debug_list" (https://patchwork.kernel.org/patch/2453931/) If so, maybe we should send it to stable as