On Tuesday, June 21, 2011 05:44:04 pm Andy Ross wrote:
> On 06/21/2011 03:28 PM, Leonardo Luiz Padovani da Mata
wrote:
> > The device is correctly created on /dev/input, but the
> > X cannot use it as a touchscreen interface.
> > the hardware id are egalax 0x0eef 0x725e
> >
> > I think the mtev driver has no support to this
> > hardware.
>
> Indeed, that USB ID isn't in mainline yet. It might be
> compatible though. Are you able to build a kernel?
> Check drivers/hid/hid-ids.h for the list of
> USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCHn IDs. There are
> five there already (the ExoPC/WeTab use 0eef:72a1 for
> example). Try adding a sixth for 725e, then
> corresponding entries in hid-multitouch.c and
> hid-core.c.
Indeed, they're not in mainline.
I helped someone on IRC get this working using the hid-
multitouch. All that's needed is to add the ID. He already
handled the xorg.conf.d file. The patch is attached.
-gabriel
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index aecb5a4..8b0d757 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -222,6 +222,7 @@
#define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH2 0x72a1
#define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH3 0x480e
#define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH4 0x726b
+#define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH5 0x725e
#define USB_VENDOR_ID_ELECOM 0x056e
#define USB_DEVICE_ID_ELECOM_BM084 0x0061
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 0b2dcd0..06edd68 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -647,6 +647,9 @@ static const struct hid_device_id mt_devices[] = {
{ .driver_data = MT_CLS_EGALAX,
HID_USB_DEVICE(USB_VENDOR_ID_DWAV,
USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH4) },
+ { .driver_data = MT_CLS_EGALAX,
+ HID_USB_DEVICE(USB_VENDOR_ID_DWAV,
+ USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH5) },
/* Elo TouchSystems IntelliTouch Plus panel */
{ .driver_data = MT_CLS_DUAL_NSMU_CONTACTID,
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines