public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hid: egalax: Extend support for touchscreen used in "Samsung NB30 touch" netbook.
@ 2010-12-14 21:36 Richard Nauber
  2010-12-15 10:50 ` Henrik Rydberg
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Nauber @ 2010-12-14 21:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: rydberg

Hi there,
I got me a brand new "Samsung NB30 touch" and with this patch I have 
the full multitouch power at my fingertips. At least at two of them... 

The patch applies to the 
git://git.kernel.org/pub/scm/linux/kernel/git/rydberg/input-mt.git 
tree at a528f7.

Have Fun.

BTW: I have not found a suitable tuio bridge for linux mt devices, 
so I wrote a small mtdev2tuio tool. It uses libmtdev and liblo 
and allows to interact with lots of existing software (e.g. a 
compiz plugin, numtyphysics, ...). If someone is interested, I 
can upload it (might take a while).

-----snip-----

[hid] egalax: Extend hid-egalax support for touchscreen in the "Samsung NB30 touch" netbook.          

Signed-off-by: Richard Nauber <Richard.Nauber@gmail.com>

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 6fa4503..d8b10f6 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1301,6 +1301,7 @@ static const struct hid_device_id hid_blacklist[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH1) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH2) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH480e) },	
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_BM084) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_EZKEY, USB_DEVICE_ID_BTC_8193) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GAMERON, USB_DEVICE_ID_GAMERON_DUAL_PSX_ADAPTOR) },
diff --git a/drivers/hid/hid-egalax.c b/drivers/hid/hid-egalax.c
index 5795969..0beada2 100644
--- a/drivers/hid/hid-egalax.c
+++ b/drivers/hid/hid-egalax.c
@@ -240,6 +240,8 @@ static const struct hid_device_id egalax_devices[] = {
 			USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH1) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DWAV,
 			USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH2) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_DWAV,
+			USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH480e) },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, egalax_devices);
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index b76166a..16a6a02 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -197,6 +197,7 @@
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH	0x480d
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH1	0x720c
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH2	0x72a1
+#define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH480e	0x480e
 
 #define USB_VENDOR_ID_ELECOM		0x056e
 #define USB_DEVICE_ID_ELECOM_BM084	0x0061


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hid: egalax: Extend support for touchscreen used in "Samsung NB30 touch" netbook.
  2010-12-14 21:36 [PATCH] hid: egalax: Extend support for touchscreen used in "Samsung NB30 touch" netbook Richard Nauber
@ 2010-12-15 10:50 ` Henrik Rydberg
  0 siblings, 0 replies; 2+ messages in thread
From: Henrik Rydberg @ 2010-12-15 10:50 UTC (permalink / raw)
  To: Richard Nauber; +Cc: linux-kernel

Hi Richard,

> I got me a brand new "Samsung NB30 touch" and with this patch I have

> the full multitouch power at my fingertips. At least at two of them... 


Thank you very much for this patch. Will be applied.

> BTW: I have not found a suitable tuio bridge for linux mt devices, 
> so I wrote a small mtdev2tuio tool. It uses libmtdev and liblo 
> and allows to interact with lots of existing software (e.g. a 
> compiz plugin, numtyphysics, ...). If someone is interested, I 
> can upload it (might take a while).


Very nice! If you have a git tree, that would be fantastic.

Thanks,
Henrik

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-15 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 21:36 [PATCH] hid: egalax: Extend support for touchscreen used in "Samsung NB30 touch" netbook Richard Nauber
2010-12-15 10:50 ` Henrik Rydberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox