Re: [RFC] Input: introduce ABS_MAX2/CNT2 and friends

2013-10-07 Thread David Herrmann
Hi On Mon, Oct 7, 2013 at 3:30 AM, Peter Hutterer wrote: > On Sun, Oct 06, 2013 at 05:04:36PM -0700, Dmitry Torokhov wrote: >> Peter Hutterer wrote: >> >On Sun, Oct 06, 2013 at 12:47:00AM -0700, Dmitry Torokhov wrote: >> >> On Fri, Oct 04, 2013 at 09:32:23AM +1000, Peter Hutterer wrote: >> >> >

Re: [PATCH v2] Input: add driver for Neonode zForce based touchscreens

2013-10-07 Thread Heiko Stübner
Hi, Am Montag, 23. September 2013, 15:50:26 schrieb Heiko Stübner: > Am Samstag, 7. September 2013, 01:33:11 schrieb Heiko Stübner: > > This adds a driver for touchscreens using the zforce infrared > > technology from Neonode connected via i2c to the host system. > > > > It supports multitouch wi

Testing ti_am335x_adc continuous mode (WAS: Re: [PATCH 2/2]

2013-10-07 Thread Sebastian Andrzej Siewior
Hi Zubair, I have here am335x-evm board. The output of voltage4 (via `cat /sys/bus/iio/devices/iio\:device0/in_voltage4_raw´) returns values in the range 570…580. I tested the continuous sampling mdoe by executing the following commands: |echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/i

Re: Testing ti_am335x_adc continuous mode (WAS: Re: [PATCH 2/2]

2013-10-07 Thread Zubair Lutfullah :
On Mon, Oct 07, 2013 at 01:53:17PM +0200, Sebastian Andrzej Siewior wrote: > Hi Zubair, > > I have here am335x-evm board. The output of voltage4 (via `cat > /sys/bus/iio/devices/iio\:device0/in_voltage4_raw´) returns values in > the range 570…580. I tested the continuous sampling mdoe by executing

[PATCH] Input: evdev: Fall back to vmalloc for client event buffer

2013-10-07 Thread Daniel Stone
evdev always tries to allocate the event buffer for clients using kzalloc rather than vmalloc, presumably to avoid mapping overhead where possible. However, drivers like bcm5974, which claims support for reporting 16 fingers simultaneously, can have an extraordinarily large buffer. The resultant

Re: [PATCH] HID: multitouch: Fix GeneralTouch products and add more PIDs

2013-10-07 Thread Jiri Kosina
On Wed, 2 Oct 2013, Jiri Kosina wrote: > On Wed, 2 Oct 2013, Benjamin Tissoires wrote: > > > From: Luosong > > > > GeneralTouch products should use the quirk SLOT_IS_CONTACTID > > instead of SLOT_IS_CONTACTNUMBER. > > > > Adding PIDs 0101,e100,0102,0106,010a from the new products. > > > > Tes

Re: [PATCH] HID: wiimote: fix FF deadlock

2013-10-07 Thread Jiri Kosina
On Wed, 2 Oct 2013, David Herrmann wrote: > The input core has an internal spinlock that is acquired during event > injection via input_event() and friends but also held during FF callbacks. > That means, there is no way to share a lock between event-injection and FF > handling. Unfortunately, thi

Re: New USB core API to change interval and max packet size

2013-10-07 Thread Hans de Goede
Hi, On 10/02/2013 08:39 PM, Sarah Sharp wrote: On Wed, Oct 02, 2013 at 10:22:52AM -0400, Alan Stern wrote: We should consider this before rushing into a new API. Yes, I agree. :) That's why I'd like to see some cases in the media drivers code where it could benefit from changing the inte

Re:Re: [PATCH] HID: multitouch: Fix GeneralTouch products and add morePIDs

2013-10-07 Thread Jiri Kosina
On Mon, 7 Oct 2013, 罗松 wrote: > I am sorry to answer you so late. > > > yes, I have tested by our products in linux system /android system . Thanks for confirmation. Now queued in hid.git. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-inpu

[PATCH] HID: logitech - lg2ff: Add IDs for Formula Vibration Feedback Wheel

2013-10-07 Thread Anssi Hannula
From: Elias Vanderstuyft Add USB IDs for Logitech Formula Vibration Feedback Wheel (046d:ca04). The lg2ff force feedback subdriver is used for vibration and HID_GD_MULTIAXIS is set to avoid deadzone like other Logitech wheels. Kconfig description etc are also updated accordingly. Signed-off-by

Re: [PATCH] HID: logitech - lg2ff: Add IDs for Formula Vibration Feedback Wheel

2013-10-07 Thread Anssi Hannula
07.10.2013 20:48, si...@mungewell.org kirjoitti: >> From: Elias Vanderstuyft >> >> Add USB IDs for Logitech Formula Vibration Feedback Wheel (046d:ca04). >> >> The lg2ff force feedback subdriver is used for vibration and >> HID_GD_MULTIAXIS is set to avoid deadzone like other Logitech wheels. >> >

Re: [PATCH] HID: logitech - lg2ff: Add IDs for Formula Vibration Feedback Wheel

2013-10-07 Thread simon
> From: Elias Vanderstuyft > > Add USB IDs for Logitech Formula Vibration Feedback Wheel (046d:ca04). > > The lg2ff force feedback subdriver is used for vibration and > HID_GD_MULTIAXIS is set to avoid deadzone like other Logitech wheels. > > Kconfig description etc are also updated accordingly. >

Re: [PATCH] HID: logitech - lg2ff: Add IDs for Formula Vibration Feedback Wheel

2013-10-07 Thread simon
> I don't really know what you need for the HID descriptors, but I thought > maybe I should post usbmon output when plugging in the wheel: I'm not sure I can do anything with that file. It would be great if you could dump/attach the report descriptor file. This can be found in the /sys folder stru

[PATCH 01/02] input: serio: use DEVICE_ATTR_RO()

2013-10-07 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman Convert the serio sysfs fiels to use the DEVICE_ATTR_RO() macros to make it easier to audit the correct sysfs file permission usage. Cc: Dmitry Torokhov Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/input/serio/serio.c | 16 1 file changed, 8 i

[PATCH 02/02] input: serio: remove bus usage of dev_attrs

2013-10-07 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman The dev_attrs field of struct bus_type is going away soon, so move the remaining sysfs files that are being described with this field to use dev_groups instead. Cc: Dmitry Torokhov Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/input/serio/serio.c | 62 +

[PATCH 3/8] input: gameport: convert bus code to use dev_groups

2013-10-07 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the gameport bus code to use the correct field. Cc: Dmitry Torokhov Cc: Signed-off-by: Greg Kroah-Hartman --- Dmitry, I can take this through my driver-core tree if you don't want to ta