Almost.  I think I would be trying:

Index: drivers/input/tablet/wacom.h
===================================================================
--- drivers/input/tablet/wacom.h
+++ drivers/input/tablet/wacom.h 2011-12-31 12:23:30.520195972 +0400
@@ -104,6 +104,7 @@

#define USB_VENDOR_ID_WACOM 0x056a
#define USB_VENDOR_ID_LENOVO 0x17ef
+#define USB_VENDOR_ID_ASUS 0x0b05


struct wacom {
Index: drivers/input/tablet/wacom_wac.c
===================================================================
--- drivers/input/tablet/wacom_wac.c
+++ drivers/input/tablet/wacom_wac.c 2011-12-31 12:31:10.224185924 +0400
@@ -1503,6 +1503,9 @@

static const struct wacom_features wacom_features_0x6004 =
{ "ISD-V4",               WACOM_PKGLEN_GRAPHIRE,  12800,  8000,  255,
  0, TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+static const struct wacom_features wacom_features_0x179F =
+       { "ASUS Wacom ISDv4 179F", WACOM_PKGLEN_GRAPHIRE, 16480,  12410,  255,
+         0, TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };

#define USB_DEVICE_WACOM(prod) \
USB_DEVICE(USB_VENDOR_ID_WACOM, prod), \
@@ -1517,6 +1520,10 @@

USB_DEVICE(USB_VENDOR_ID_LENOVO, prod), \
.driver_info = (kernel_ulong_t)&wacom_features_##prod

+#define USB_DEVICE_ASUS(prod)                                  \
+       USB_DEVICE(USB_VENDOR_ID_ASUS, prod),                   \
+       .driver_info = (kernel_ulong_t)&wacom_features_##prod
+
const struct usb_device_id wacom_ids[] = {
{ USB_DEVICE_WACOM(0x00) },
{ USB_DEVICE_WACOM(0x10) },
@@ -1607,6 +1614,7 @@
{ USB_DEVICE_WACOM(0xE6) },
{ USB_DEVICE_WACOM(0x47) },
{ USB_DEVICE_LENOVO(0x6004) },
+ { USB_DEVICE_ASUS(0x179F) },
{ }
};
MODULE_DEVICE_TABLE(usb, wacom_ids);

I'm not sure of the label "ASUS Wacom ISDv4 179F", we need Ping and
the others to weigh in on it.  If we go with this naming convention
then the Lenovo should become
"Lenovo Wacom ISDv4 6004"

I just slapped this quickly on your diff., so check it over.  Also
some ident.s changed because you appear not to be following the
standard.  Probably how your text editor's formatting is set up, or
your diff. program.

Favux

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to