Re: [RFC] [PATCH] input: add definition for handset pick up switch event

2 messages, 2 authors, 2009-06-11 · open the first message on its own page

Re: [RFC] [PATCH] input: add definition for handset pick up switch event

From: Janusz Krzysztofik <hidden>
Date: 2009-06-04 20:37:35

Everyone willing to answer my original message, please correct my spelling 
error in linux-input address before sending or reply to this one instead. 
Sorry for this.

Janusz

Thursday 04 June 2009 20:46:37 Janusz Krzysztofik napisał(a):
This patch adds new symbol definition for events generated by handset pick
up switch on machines equipped with such facility. It will be used by
gpio-keys driver supported platform device definition for ams-delta omap
board I'm going to submit.

Signed-off-by: Janusz Krzysztofik <redacted>
---
diff -up linux-2.6.30-rc5/include/linux/input.h.orig
linux-2.6.30-rc5/include/linux/input.h ---
linux-2.6.30-rc5/include/linux/input.h.orig	2009-06-04 18:25:08.000000000
+0200 +++ linux-2.6.30-rc5/include/linux/input.h	2009-06-04
20:17:56.000000000 +0200 @@ -675,6 +675,7 @@ struct input_absinfo {
 #define SW_LINEOUT_INSERT	0x06  /* set = inserted */
 #define SW_JACK_PHYSICAL_INSERT 0x07  /* set = mechanical switch set */
 #define SW_VIDEOOUT_INSERT	0x08  /* set = inserted */
+#define SW_HANDSET_PICK_UP	0x09  /* set = picked up */
 #define SW_MAX			0x0f
 #define SW_CNT			(SW_MAX+1)

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: [RFC] [PATCH] input: add definition for handset pick up switch event

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2009-06-11 06:20:24

On Thu, Jun 04, 2009 at 10:37:35PM +0200, Janusz Krzysztofik wrote:
Everyone willing to answer my original message, please correct my spelling 
error in linux-input address before sending or reply to this one instead. 
Sorry for this.

Janusz

Thursday 04 June 2009 20:46:37 Janusz Krzysztofik napisał(a):
quoted
This patch adds new symbol definition for events generated by handset pick
up switch on machines equipped with such facility. It will be used by
gpio-keys driver supported platform device definition for ams-delta omap
board I'm going to submit.
Just roll it together with the driver using it please.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help