summaryrefslogtreecommitdiff
path: root/extra/xf86-input-wacom
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-19 23:14:47 +0000
committerroot <root@rshg054.dnsready.net>2011-08-19 23:14:47 +0000
commitc6a4d3790fc33558d9af322dac15d2bd6d34ac0b (patch)
tree934e1d11b80c8529b23dcb07b626c5b81e8b156d /extra/xf86-input-wacom
parent59eecef62ae9aa7dd391310f30293318f641c59c (diff)
Fri Aug 19 23:14:46 UTC 2011
Diffstat (limited to 'extra/xf86-input-wacom')
-rw-r--r--extra/xf86-input-wacom/70-wacom.rules10
-rw-r--r--extra/xf86-input-wacom/PKGBUILD6
2 files changed, 10 insertions, 6 deletions
diff --git a/extra/xf86-input-wacom/70-wacom.rules b/extra/xf86-input-wacom/70-wacom.rules
index 67e5580cc..f6aa20835 100644
--- a/extra/xf86-input-wacom/70-wacom.rules
+++ b/extra/xf86-input-wacom/70-wacom.rules
@@ -1,8 +1,12 @@
ACTION!="add|change", GOTO="wacom_end"
-# Match all wacom tablets with a serial ID starting with WACf
-ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{SUBSYSTEM}="input", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
-ATTRS{id}=="FUJ*" ENV{NAME}="Serial Wacom Tablet", ENV{SUBSYSTEM}="input", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
+# Match all serial wacom tablets with a serial ID starting with WACf
+# Notes: We assign NAME though we shouldn't, but currently the server requires it
+# We assign the lot to subsystem pnp too because server reads NAME from
+# the parent device. Once all that's fixed, as simple SUBSYSTEM="tty"
+# will do and the ENV{NAME} can be removed.
+SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
+SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="FUJ*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
LABEL="wacom_end"
diff --git a/extra/xf86-input-wacom/PKGBUILD b/extra/xf86-input-wacom/PKGBUILD
index 7c96f58c0..e9016a5c6 100644
--- a/extra/xf86-input-wacom/PKGBUILD
+++ b/extra/xf86-input-wacom/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 128917 2011-06-25 14:03:51Z heftig $
+# $Id: PKGBUILD 135826 2011-08-19 02:23:54Z heftig $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: M Rawash <mrawash@gmail.com>
pkgname=xf86-input-wacom
pkgver=0.11.1
-pkgrel=1
+pkgrel=2
pkgdesc="X.Org Wacom tablet driver"
arch=('i686' 'x86_64')
url="http://linuxwacom.sourceforge.net/"
@@ -18,7 +18,7 @@ options=(!libtool)
source=(http://downloads.sourceforge.net/project/linuxwacom/${pkgname}/${pkgname}-${pkgver}.tar.bz2
70-wacom.rules)
md5sums=('0aec4a338cc583ed497b6af68d6d80ab'
- '4d3665bb2ef8a8190734640dffa4c6f7')
+ '10db4f8272286690255c1bcc18bfdd92')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"