Re: [PATCH v2] HID: report only one button for PenMount 6000 USB touchscreen controller

2015-11-27 Thread Christian Gmeiner
enerates touch events. >> >> In penmount_input_mapping(), map only the first button (with code 0), >> ignore the rest. >> >> Signed-off-by: Andrew Shadura > > Any news on this patch? It'd be cool if it could be merged. > I try to get access to the hardware

Re: [PATCH] Input: Add Microchip AR1021 i2c touchscreen

2014-10-09 Thread Christian Gmeiner
Hi Dmitry, > On Wed, Oct 08, 2014 at 04:45:18PM +0200, Christian Gmeiner wrote: >> +static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id) >> +{ >> + struct ar1021_i2c *ar1021 = dev_id; >> + struct input_dev *input = ar1021->input; >> + u8 *data =

[PATCH] Input: Add Microchip AR1021 i2c touchscreen

2014-10-08 Thread Christian Gmeiner
This patch adds support for the ar1021 i2c based touchscreen. The driver is quite simple and only supports the Touch Reporting Protocol. This is the final version for an RFC patch send a while ago. http://www.spinics.net/lists/linux-input/msg29419.html Signed-off-by: Christian Gmeiner

[PATCH] HID: add support for PenMount HID TouchScreen Driver v4

2014-09-03 Thread Christian Gmeiner
it a/drivers/hid/hid-penmount.c b/drivers/hid/hid-penmount.c new file mode 100644 index 000..c11dce8 --- /dev/null +++ b/drivers/hid/hid-penmount.c @@ -0,0 +1,49 @@ +/* + * HID driver for PenMount touchscreens + * + * Copyright (c) 2014 Christian Gmeiner gmail.com> + * + * based on hid-

Re: [PATCH] HID: add support for PenMount HID TouchScreen Driver v3

2014-08-28 Thread Christian Gmeiner
2014-08-27 16:27 GMT+02:00 Benjamin Tissoires : > On Wed, Aug 27, 2014 at 5:35 AM, Christian Gmeiner > wrote: >> This patch adds a seperate hid-penmount driver to work >> around an issue with the HID report descriptor. The >> descriptor does not contain the ContactID us

[PATCH] HID: add support for PenMount HID TouchScreen Driver v3

2014-08-27 Thread Christian Gmeiner
BTN_TOUCH. This makes it possible to use touch events in userspace. changes from v1 to v2 - incorporated feedback from Benjamin Tissoires changes from v2 to v3 - add missing hid-core.c and hid-ids.h changes Signed-off-by: Christian Gmeiner --- drivers/hid/Kconfig| 6 ++ drivers/hid

Re: [PATCH] HID: add support for PenMount HID TouchScreen Driver v2

2014-08-27 Thread Christian Gmeiner
2014-08-27 10:20 GMT+02:00 Christian Gmeiner : > This patch adds a seperate hid-penmount driver to work > around an issue with the HID report descriptor. The > descriptor does not contain the ContactID usage and as > result the touchscreen is represented as normal mouse > to the s

Re: [PATCH] HID: add support for PenMount HID TouchScreen Driver

2014-08-27 Thread Christian Gmeiner
Hi Benjamin. 2014-08-26 20:47 GMT+02:00 Benjamin Tissoires : > On Tue, Aug 26, 2014 at 3:29 AM, Christian Gmeiner > wrote: >> Hi Benjamin. >> >> 2014-08-25 17:43 GMT+02:00 Benjamin Tissoires : >>> On Mon, Aug 25, 2014 at 10:48 AM, Christian Gmeiner >>>

[PATCH] HID: add support for PenMount HID TouchScreen Driver v2

2014-08-27 Thread Christian Gmeiner
BTN_TOUCH. This makes it possible to use touch events in userspace. changes from v1 to v2 - incorporated feedback from Benjamin Tissoires Signed-off-by: Christian Gmeiner --- drivers/hid/Kconfig| 6 ++ drivers/hid/Makefile | 1 + drivers/hid/hid-penmount.c | 51

Re: [PATCH] HID: add support for PenMount HID TouchScreen Driver

2014-08-26 Thread Christian Gmeiner
Hi Benjamin. 2014-08-25 17:43 GMT+02:00 Benjamin Tissoires : > On Mon, Aug 25, 2014 at 10:48 AM, Christian Gmeiner > wrote: >> This driver is a cleaned up version of >> http://git.android-x86.org/?p=kernel/cdv.git;a=blob_plain;f=drivers/hid/hid-penmount.c;hb=HEAD > > Th

[PATCH] HID: add support for PenMount HID TouchScreen Driver

2014-08-25 Thread Christian Gmeiner
Transfer TypeInterrupt Synch Type None Usage Type Data wMaxPacketSize 0x0005 1x 5 bytes bInterval 1 Device Status: 0x (Bus Powered) Signed-off-by: Christian Gmeiner --- drivers/hid/Kconfig

autoloading of modules failes

2014-08-11 Thread Christian Gmeiner
final patch. My current state can be found here: [1] [0] http://www.spinics.net/lists/linux-input/msg29419.html [1] http://dpaste.com/0V0XTR5 thanks -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line "unsubscribe linux-input&qu

Re: PenMount 6000 usb touch controller

2014-06-01 Thread Christian Gmeiner
2014-05-26 15:18 GMT+02:00 Christian Gmeiner : > Hi. > > > I am using the following usb touch controller: > > lsusb -s 6:2 -vvv > > Bus 006 Device 002: ID 14e1:6000 Dialogue Technology Corp. > Device Descriptor: > bLength18 > bDe

PenMount 6000 usb touch controller

2014-05-26 Thread Christian Gmeiner
Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH RFC] Input: Add Microchip AR1021 i2c touchscreen

2014-02-11 Thread Christian Gmeiner
Hi Dmitry 2014-01-31 18:16 GMT+01:00 Dmitry Torokhov : > On Fri, Jan 31, 2014 at 09:15:21AM -0800, Dmitry Torokhov wrote: >> Hi Chrisitian, >> >> On Fri, Jan 31, 2014 at 12:40:19PM +0100, Christian Gmeiner wrote: >> > >> --- /dev/null >> > &g

Re: [PATCH RFC] Input: Add Microchip AR1021 i2c touchscreen

2014-01-31 Thread Christian Gmeiner
Hi Dmitry. > On Thu, Jan 30, 2014 at 10:29:45AM +0100, Christian Gmeiner wrote: >> This driver is quite simple and only supports the Touch >> Reporting Protocol. > > Pretty clean and neat, just a few comments. > Thanks for the review. >> >> Signed-off-by: C

[PATCH RFC] Input: Add Microchip AR1021 i2c touchscreen

2014-01-30 Thread Christian Gmeiner
This driver is quite simple and only supports the Touch Reporting Protocol. Signed-off-by: Christian Gmeiner --- drivers/input/touchscreen/Kconfig | 12 ++ drivers/input/touchscreen/Makefile |1 + drivers/input/touchscreen/ar1021_i2c.c | 201 3

Re: Rotary encoder platform device driver code examples

2013-08-27 Thread Christian Gmeiner
ncoder is an input device it is accessible via /dev/input/eventX where X is a number. Have a look at evtest user space application. greets -- Christian Gmeiner, MSc -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

gpio_keys_polled and MSC_SCAN

2013-05-21 Thread Christian Gmeiner
ux/input.h */ .type = EV_KEY, .gpio = 235, .active_low = 1, .desc = "F20", .wakeup = 0, }, }; Is there a way to also get the scan code? thanks -- Christian Gmeiner, MSc -- To unsubscribe from this list: send the lin

rotary_encoder

2013-05-21 Thread Christian Gmeiner
urrent encoder, which is accepted for mainline inclusion or should I do this step in user space? thanks -- Christian Gmeiner, MSc -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http:/

Re: [PATCH RFC] Add support for the matrix keyboard used in Bachmann's OT200

2012-12-16 Thread Christian Gmeiner
2012/12/13 Christian Gmeiner : > Hi Dmitry, > >> On Wed, Dec 12, 2012 at 02:35:41PM +0100, Christian Gmeiner wrote: >>> The used matrix keyboard controler (implemented via FPGA) supports >>> two simultaneous key presses. The driver sends the raw register >>>

Re: [PATCH RFC] Add support for the matrix keyboard used in Bachmann's OT200

2012-12-13 Thread Christian Gmeiner
Hi Dmitry, > On Wed, Dec 12, 2012 at 02:35:41PM +0100, Christian Gmeiner wrote: >> The used matrix keyboard controler (implemented via FPGA) supports >> two simultaneous key presses. The driver sends the raw register >> values for each key (row & column) to userspace. &

[PATCH RFC] Add support for the matrix keyboard used in Bachmann's OT200

2012-12-12 Thread Christian Gmeiner
the configured keycodes back to the kernel via uinput. Signed-off-by: Christian Gmeiner --- drivers/input/keyboard/Kconfig| 8 ++ drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/ot200_keypad.c | 177 ++ 3 files changed, 186 inserti