[xorg-x11-drv-wacom] Update rules to start inputattach automatically
Peter Hutterer
whot at fedoraproject.org
Mon Apr 23 03:17:08 UTC 2012
commit 1613d5d1c8414da983beae9c1d5556af06107dbc
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Mon Apr 16 16:30:41 2012 +1000
Update rules to start inputattach automatically
70-wacom.rules | 3 +++
xorg-x11-drv-wacom.spec | 5 ++++-
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/70-wacom.rules b/70-wacom.rules
index f6aa208..2b32b12 100644
--- a/70-wacom.rules
+++ b/70-wacom.rules
@@ -8,5 +8,8 @@ ACTION!="add|change", GOTO="wacom_end"
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}"
+# inputattach
+SUBSYSTEM=="tty|pnp", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf*", RUN+="/usr/sbin/modprobe wacom_w8001", RUN+="/usr/sbin/inputattach --daemon -w8001 /dev/%k"
+
LABEL="wacom_end"
diff --git a/xorg-x11-drv-wacom.spec b/xorg-x11-drv-wacom.spec
index 5894c54..423f18c 100644
--- a/xorg-x11-drv-wacom.spec
+++ b/xorg-x11-drv-wacom.spec
@@ -8,7 +8,7 @@
Summary: Xorg X11 wacom input driver
Name: xorg-x11-drv-wacom
Version: 0.14.0
-Release: 3%{?gitdate:.%{gitdate}}%{?dist}
+Release: 4%{?gitdate:.%{gitdate}}%{?dist}
URL: http://www.x.org
License: GPLv2+
Group: User Interface/X Hardware Support
@@ -98,6 +98,9 @@ X.Org X11 wacom input driver development files.
%{_bindir}/isdv4-serial-debugger
%changelog
+* Mon Apr 23 2012 Peter Hutterer <peter.hutterer at redhat.com> 0.14.0-4
+- Update rules to start inputattach automatically
+
* Thu Apr 05 2012 Adam Jackson <ajax at redhat.com> - 0.14.0-3
- RHEL arch exclude updates
More information about the scm-commits
mailing list