diff options
author | pingc <pingc> | 2006-06-19 16:19:39 +0000 |
---|---|---|
committer | pingc <pingc> | 2006-06-19 16:19:39 +0000 |
commit | b4c28e85d277f5aa3c468ae9a2aed945c86b29dd (patch) | |
tree | b696cd15f97768bb81fce89eb2986501e37dac6f | |
parent | b7b19ea55974e031824702c14ff9f961c89849d2 (diff) | |
download | xf86-input-wacom-release-0.7.4-3#5.tar.gz |
Fixed a Volito bugrelease-0_7_4-3#5release-0.7.4-3#5
-rw-r--r-- | src/2.4.30x86-64/wacom.c | 6 | ||||
-rw-r--r-- | src/2.4/wacom.c | 6 | ||||
-rw-r--r-- | src/2.6.10/wacom.c | 7 | ||||
-rw-r--r-- | src/2.6.11/wacom.c | 8 | ||||
-rw-r--r-- | src/2.6.13/wacom.c | 7 | ||||
-rw-r--r-- | src/2.6.14/wacom.c | 8 | ||||
-rw-r--r-- | src/2.6.15/wacom.c | 7 | ||||
-rw-r--r-- | src/2.6.16/wacom.c | 8 | ||||
-rw-r--r-- | src/2.6.8/wacom.c | 8 | ||||
-rw-r--r-- | src/2.6.9/wacom.c | 8 | ||||
-rw-r--r-- | src/2.6/wacom.c | 8 |
11 files changed, 33 insertions, 48 deletions
diff --git a/src/2.4.30x86-64/wacom.c b/src/2.4.30x86-64/wacom.c index 93a2a05..440cba0 100644 --- a/src/2.4.30x86-64/wacom.c +++ b/src/2.4.30x86-64/wacom.c @@ -304,8 +304,8 @@ static void wacom_graphire_irq(struct urb *urb) if (urb->status) return; - /* for Volito tablets */ - if (data[0] == 99 && !(strstr(wacom->features->name, "Volito1"))) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { @@ -748,7 +748,7 @@ struct wacom_features wacom_features[] = { /* 22 */ { "Wacom Intuos2 12x18", 10, 45720, 31680, 1023, 15, wacom_intuos_irq, WACOM_INTUOS_BITS, WACOM_INTUOS_ABS, WACOM_INTUOS_REL, WACOM_INTUOS_BUTTONS, WACOM_INTUOS_TOOLS }, - /* Volito */ + /* Volito1 */ /* 23 */ { "Wacom Volito1", 8, 5104, 3712, 511, 32, wacom_graphire_irq, WACOM_GRAPHIRE_BITS, 0, 0, 0 }, /* Volito2 - PenPartner - PenStation */ diff --git a/src/2.4/wacom.c b/src/2.4/wacom.c index cb1fda3..07200b4 100644 --- a/src/2.4/wacom.c +++ b/src/2.4/wacom.c @@ -357,8 +357,8 @@ static void wacom_graphire_irq(struct urb *urb) if (urb->status) return; - /* for Volito2 tablets */ - if (data[0] == 99 && !(strstr(wacom->features->name, "Volito1"))) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { @@ -805,7 +805,7 @@ struct wacom_features wacom_features[] = { /* 22 */ { "Wacom Intuos2 12x18", 10, 45720, 31680, 1023, 15, wacom_intuos_irq, WACOM_INTUOS_BITS, WACOM_INTUOS_ABS, WACOM_INTUOS_REL, WACOM_INTUOS_BUTTONS, WACOM_INTUOS_TOOLS }, - /* Volito */ + /* Volito1 */ /* 23 */ { "Wacom Volito1", 8, 5104, 3712, 511, 32, wacom_graphire_irq, WACOM_GRAPHIRE_BITS, 0, 0, 0 }, /* Volito2 - PenPartner - PenStation */ diff --git a/src/2.6.10/wacom.c b/src/2.6.10/wacom.c index c0ec9b2..b515b79 100644 --- a/src/2.6.10/wacom.c +++ b/src/2.6.10/wacom.c @@ -405,8 +405,8 @@ static void wacom_graphire_irq(struct urb *urb, struct pt_regs *regs) goto exit; } - /* for Volito tablets */ - if (data[0] == 99 && wacom->features->type == VOLITO1) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { dbg("wacom_graphire_irq: received unknown report #%d", data[0]); @@ -807,7 +807,7 @@ static struct wacom_features wacom_features[] = { { "Wacom Intuos2 9x12", 10, 30480, 24060, 1023, 15, INTUOS, wacom_intuos_irq }, { "Wacom Intuos2 12x12", 10, 30480, 31680, 1023, 15, INTUOS, wacom_intuos_irq }, { "Wacom Intuos2 12x18", 10, 45720, 31680, 1023, 15, INTUOS, wacom_intuos_irq }, - { "Wacom Volito", 8, 5104, 3712, 511, 32, VOLITO1, wacom_graphire_irq }, + { "Wacom Volito", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom PenStation2", 8, 3250, 2320, 255, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 4x5", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 2x3", 8, 3248, 2320, 511, 32, GRAPHIRE, wacom_graphire_irq }, @@ -941,7 +941,6 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* fall through */ case GRAPHIRE: - case VOLITO1: wacom->dev.evbit[0] |= BIT(EV_REL); wacom->dev.relbit[0] |= BIT(REL_WHEEL); wacom->dev.absbit[0] |= BIT(ABS_DISTANCE); diff --git a/src/2.6.11/wacom.c b/src/2.6.11/wacom.c index a94677f..5f24067 100644 --- a/src/2.6.11/wacom.c +++ b/src/2.6.11/wacom.c @@ -101,7 +101,6 @@ MODULE_LICENSE(DRIVER_LICENSE); enum { PENPARTNER = 0, - VOLITO1, GRAPHIRE, G4, PL, @@ -407,8 +406,8 @@ static void wacom_graphire_irq(struct urb *urb, struct pt_regs *regs) goto exit; } - /* for Volito tablets */ - if (data[0] == 99 && wacom->features->type == VOLITO1) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { dbg("wacom_graphire_irq: received unknown report #%d", data[0]); @@ -792,7 +791,7 @@ static struct wacom_features wacom_features[] = { { "Wacom Graphire3 6x8", 8, 16704, 12064, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Graphire4 4x5", 8, 10208, 7424, 511, 32, G4, wacom_graphire_irq }, { "Wacom Graphire4 6x8", 8, 16704, 12064, 511, 32, G4, wacom_graphire_irq }, - { "Wacom Volito", 8, 5104, 3712, 511, 32, VOLITO1, wacom_graphire_irq }, + { "Wacom Volito", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom PenStation2", 8, 3250, 2320, 255, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 4x5", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 2x3", 8, 3248, 2320, 511, 32, GRAPHIRE, wacom_graphire_irq }, @@ -944,7 +943,6 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* fall through */ case GRAPHIRE: - case VOLITO1: wacom->dev.evbit[0] |= BIT(EV_REL); wacom->dev.relbit[0] |= BIT(REL_WHEEL); wacom->dev.absbit[0] |= BIT(ABS_DISTANCE); diff --git a/src/2.6.13/wacom.c b/src/2.6.13/wacom.c index 7235dd3..64f92a0 100644 --- a/src/2.6.13/wacom.c +++ b/src/2.6.13/wacom.c @@ -398,8 +398,8 @@ static void wacom_graphire_irq(struct urb *urb, struct pt_regs *regs) goto exit; } - /* for Volito tablets */ - if (data[0] == 99 && wacom->features->type == VOLITO1) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { dbg("wacom_graphire_irq: received unknown report #%d", data[0]); @@ -771,7 +771,7 @@ static struct wacom_features wacom_features[] = { { "Wacom Graphire3 6x8", 8, 16704, 12064, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Graphire4 4x5", 8, 10208, 7424, 511, 32, G4, wacom_graphire_irq }, { "Wacom Graphire4 6x8", 8, 16704, 12064, 511, 32, G4, wacom_graphire_irq }, - { "Wacom Volito", 8, 5104, 3712, 511, 32, VOLITO1, wacom_graphire_irq }, + { "Wacom Volito", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom PenStation2", 8, 3250, 2320, 255, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 4x5", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 2x3", 8, 3248, 2320, 511, 32, GRAPHIRE, wacom_graphire_irq }, @@ -917,7 +917,6 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* fall through */ case GRAPHIRE: - case VOLITO1: wacom->dev.evbit[0] |= BIT(EV_REL); wacom->dev.relbit[0] |= BIT(REL_WHEEL); wacom->dev.absbit[0] |= BIT(ABS_DISTANCE); diff --git a/src/2.6.14/wacom.c b/src/2.6.14/wacom.c index 10fec32..f29d1ed 100644 --- a/src/2.6.14/wacom.c +++ b/src/2.6.14/wacom.c @@ -99,7 +99,6 @@ MODULE_LICENSE(DRIVER_LICENSE); enum { PENPARTNER = 0, - VOLITO1, GRAPHIRE, G4, PL, @@ -397,8 +396,8 @@ static void wacom_graphire_irq(struct urb *urb, struct pt_regs *regs) goto exit; } - /* for Volito tablets */ - if (data[0] == 99 && wacom->features->type == VOLITO1) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { dbg("wacom_graphire_irq: received unknown report #%d", data[0]); @@ -768,7 +767,7 @@ static struct wacom_features wacom_features[] = { { "Wacom Graphire3 6x8", 8, 16704, 12064, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Graphire4 4x5", 8, 10208, 7424, 511, 32, G4, wacom_graphire_irq }, { "Wacom Graphire4 6x8", 8, 16704, 12064, 511, 32, G4, wacom_graphire_irq }, - { "Wacom Volito", 8, 5104, 3712, 511, 32, VOLITO1, wacom_graphire_irq }, + { "Wacom Volito", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom PenStation2", 8, 3250, 2320, 255, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 4x5", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 2x3", 8, 3248, 2320, 511, 32, GRAPHIRE, wacom_graphire_irq }, @@ -914,7 +913,6 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* fall through */ case GRAPHIRE: - case VOLITO1: wacom->dev.evbit[0] |= BIT(EV_REL); wacom->dev.relbit[0] |= BIT(REL_WHEEL); wacom->dev.absbit[0] |= BIT(ABS_DISTANCE); diff --git a/src/2.6.15/wacom.c b/src/2.6.15/wacom.c index 1f9413b..f5eb3d1 100644 --- a/src/2.6.15/wacom.c +++ b/src/2.6.15/wacom.c @@ -399,8 +399,8 @@ static void wacom_graphire_irq(struct urb *urb, struct pt_regs *regs) goto exit; } - /* for Volito tablets */ - if (data[0] == 99 && wacom->features->type == VOLITO1) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { dbg("wacom_graphire_irq: received unknown report #%d", data[0]); @@ -770,7 +770,7 @@ static struct wacom_features wacom_features[] = { { "Wacom Graphire3 6x8", 8, 16704, 12064, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Graphire4 4x5", 8, 10208, 7424, 511, 32, G4, wacom_graphire_irq }, { "Wacom Graphire4 6x8", 8, 16704, 12064, 511, 32, G4, wacom_graphire_irq }, - { "Wacom Volito", 8, 5104, 3712, 511, 32, VOLITO1, wacom_graphire_irq }, + { "Wacom Volito", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom PenStation2", 8, 3250, 2320, 255, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 4x5", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 2x3", 8, 3248, 2320, 511, 32, GRAPHIRE, wacom_graphire_irq }, @@ -929,7 +929,6 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* fall through */ case GRAPHIRE: - case VOLITO1: input_dev->evbit[0] |= BIT(EV_REL); input_dev->relbit[0] |= BIT(REL_WHEEL); input_dev->keybit[LONG(BTN_LEFT)] |= BIT(BTN_LEFT) | BIT(BTN_RIGHT) | BIT(BTN_MIDDLE); diff --git a/src/2.6.16/wacom.c b/src/2.6.16/wacom.c index a66f74c..8ada3e8 100644 --- a/src/2.6.16/wacom.c +++ b/src/2.6.16/wacom.c @@ -100,7 +100,6 @@ MODULE_LICENSE(DRIVER_LICENSE); enum { PENPARTNER = 0, - VOLITO1, GRAPHIRE, WACOM_G4, PL, @@ -398,8 +397,8 @@ static void wacom_graphire_irq(struct urb *urb, struct pt_regs *regs) goto exit; } - /* for Volito tablets */ - if (data[0] == 99 && wacom->features->type == VOLITO1) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { dbg("wacom_graphire_irq: received unknown report #%d", data[0]); @@ -769,7 +768,7 @@ static struct wacom_features wacom_features[] = { { "Wacom Graphire3 6x8", 8, 16704, 12064, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Graphire4 4x5", 8, 10208, 7424, 511, 32, WACOM_G4, wacom_graphire_irq }, { "Wacom Graphire4 6x8", 8, 16704, 12064, 511, 32, WACOM_G4, wacom_graphire_irq }, - { "Wacom Volito", 8, 5104, 3712, 511, 32, VOLITO1, wacom_graphire_irq }, + { "Wacom Volito", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom PenStation2", 8, 3250, 2320, 255, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 4x5", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 2x3", 8, 3248, 2320, 511, 32, GRAPHIRE, wacom_graphire_irq }, @@ -928,7 +927,6 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* fall through */ case GRAPHIRE: - case VOLITO1: input_dev->evbit[0] |= BIT(EV_REL); input_dev->relbit[0] |= BIT(REL_WHEEL); input_dev->keybit[LONG(BTN_LEFT)] |= BIT(BTN_LEFT) | BIT(BTN_RIGHT) | BIT(BTN_MIDDLE); diff --git a/src/2.6.8/wacom.c b/src/2.6.8/wacom.c index 13680c6..7ec78d6 100644 --- a/src/2.6.8/wacom.c +++ b/src/2.6.8/wacom.c @@ -101,7 +101,6 @@ MODULE_LICENSE(DRIVER_LICENSE); enum { PENPARTNER = 0, - VOLITO1, GRAPHIRE, G4, PL, @@ -405,8 +404,8 @@ static void wacom_graphire_irq(struct urb *urb, struct pt_regs *regs) goto exit; } - /* for Volito tablets */ - if (data[0] == 99 && wacom->features->type == VOLITO1) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { dbg("wacom_graphire_irq: received unknown report #%d", data[0]); @@ -790,7 +789,7 @@ static struct wacom_features wacom_features[] = { { "Wacom Graphire3 6x8", 8, 16704, 12064, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Graphire4 4x5", 8, 10208, 7424, 511, 32, G4, wacom_graphire_irq }, { "Wacom Graphire4 6x8", 8, 16704, 12064, 511, 32, G4, wacom_graphire_irq }, - { "Wacom Volito", 8, 5104, 3712, 511, 32, VOLITO1, wacom_graphire_irq }, + { "Wacom Volito", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom PenStation2", 8, 3250, 2320, 255, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 4x5", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 2x3", 8, 3248, 2320, 511, 32, GRAPHIRE, wacom_graphire_irq }, @@ -942,7 +941,6 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* fall through */ case GRAPHIRE: - case VOLITO1: wacom->dev.evbit[0] |= BIT(EV_REL); wacom->dev.relbit[0] |= BIT(REL_WHEEL); wacom->dev.absbit[0] |= BIT(ABS_DISTANCE); diff --git a/src/2.6.9/wacom.c b/src/2.6.9/wacom.c index a512741..a329711 100644 --- a/src/2.6.9/wacom.c +++ b/src/2.6.9/wacom.c @@ -100,7 +100,6 @@ MODULE_LICENSE(DRIVER_LICENSE); enum { PENPARTNER = 0, - VOLITO1, GRAPHIRE, G4, PL, @@ -405,8 +404,8 @@ static void wacom_graphire_irq(struct urb *urb, struct pt_regs *regs) goto exit; } - /* for Volito tablets */ - if (data[0] == 99 && wacom->features->type == VOLITO1) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { dbg("wacom_graphire_irq: received unknown report #%d", data[0]); @@ -790,7 +789,7 @@ static struct wacom_features wacom_features[] = { { "Wacom Graphire3 6x8", 8, 16704, 12064, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Graphire4 4x5", 8, 10208, 7424, 511, 32, G4, wacom_graphire_irq }, { "Wacom Graphire4 6x8", 8, 16704, 12064, 511, 32, G4, wacom_graphire_irq }, - { "Wacom Volito", 8, 5104, 3712, 511, 32, VOLITO1, wacom_graphire_irq }, + { "Wacom Volito", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom PenStation2", 8, 3250, 2320, 255, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 4x5", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 2x3", 8, 3248, 2320, 511, 32, GRAPHIRE, wacom_graphire_irq }, @@ -942,7 +941,6 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* fall through */ case GRAPHIRE: - case VOLITO1: wacom->dev.evbit[0] |= BIT(EV_REL); wacom->dev.relbit[0] |= BIT(REL_WHEEL); wacom->dev.absbit[0] |= BIT(ABS_DISTANCE); diff --git a/src/2.6/wacom.c b/src/2.6/wacom.c index beaa9b4..6bd91dd 100644 --- a/src/2.6/wacom.c +++ b/src/2.6/wacom.c @@ -99,7 +99,6 @@ MODULE_LICENSE(DRIVER_LICENSE); enum { PENPARTNER = 0, - VOLITO1, GRAPHIRE, G4, PL, @@ -404,8 +403,8 @@ static void wacom_graphire_irq(struct urb *urb, struct pt_regs *regs) goto exit; } - /* for Volito tablets */ - if (data[0] == 99 && wacom->features->type != VOLITO1) return; + /* 2 Volito1 and 2 users say this is wrong + if (data[0] == 99) return; */ if (data[0] != 2) { dbg("wacom_graphire_irq: received unknown report #%d", data[0]); @@ -789,7 +788,7 @@ struct wacom_features wacom_features[] = { { "Wacom Graphire3 6x8", 8, 16704, 12064, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Graphire4 4x5", 8, 10208, 7424, 511, 32, G4, wacom_graphire_irq }, { "Wacom Graphire4 6x8", 8, 16704, 12064, 511, 32, G4, wacom_graphire_irq }, - { "Wacom Volito", 8, 5104, 3712, 511, 32, VOLITO1, wacom_graphire_irq }, + { "Wacom Volito", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom PenStation2", 8, 3250, 2320, 255, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 4x5", 8, 5104, 3712, 511, 32, GRAPHIRE, wacom_graphire_irq }, { "Wacom Volito2 2x3", 8, 3250, 2320, 511, 32, GRAPHIRE, wacom_graphire_irq }, @@ -940,7 +939,6 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* fall through */ case GRAPHIRE: - case VOLITO1: wacom->dev.evbit[0] |= BIT(EV_REL); wacom->dev.relbit[0] |= BIT(REL_WHEEL); wacom->dev.absbit[0] |= BIT(ABS_DISTANCE); |