Your message dated Fri, 13 May 2011 13:48:34 +0000
with message-id <[email protected]>
and subject line Bug#616443: fixed in joystick 1:1.4~rc1-1
has caused the Debian Bug report #616443,
regarding inputattach: w8001 support
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
616443: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616443
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: inputattach
Version: 20051019-12
Severity: wishlist
Tags: patch
It would be nice to include the patch necessary to support the wacom_w8001
input driver in the kernel for use with inputattach.
I put together the attached patch from bits found on the Redhat bugzilla
site[1].
The patch generally works fine on my Fujitsu T2010[2] (although it does not
return after a resume, as udev never re-init's the serial device it
seems) but does require inputattach to be placed in /lib/udev to
function neatly.
----
# cp -a /usr/bin/inputattach /lib/udev
# cat <<'EOF' >> /etc/udev/rules.d/99-local.rules
SUBSYSTEM=="tty", KERNEL=="ttyS[0-9]*", ATTRS{id}=="FUJ02e5", ACTION=="add",
RUN+="inputattach --daemon --baud 19200 --w8001 /dev/%k"
EOF
----
The above udev line works well for me, but as /usr is a seperate
mountpoint for my system, it is not available when udev initially loads
at boot.
So, a two fold request:
* include patch
* if possible place copy of inputattach in / somewhere, I felt
/lib/udev was the most apprioate place, but do not really mind
Cheers
[1] https://bugzilla.redhat.com/show_bug.cgi?id=645235
[2] http://www.digriz.org.uk/debian/fujitsu/t2010#Touchscreen
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37.1 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages inputattach depends on:
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
inputattach recommends no packages.
inputattach suggests no packages.
-- no debconf information
--- joystick-20051019/utils/inputattach.c 2011-02-19 21:38:06.000000000 +0000
+++ joystick-20051019.new/utils/inputattach.c 2011-02-19 14:08:20.619998303 +0000
@@ -539,6 +539,9 @@
{ "--dump", "-dump", "Just enable device",
B2400, CS8,
0, 0x00, 0x00, 0, dump_init },
+{ "--w8001", "-w8001", "Wacom W8001",
+ B38400, CS8,
+ SERIO_W8001, 0x00, 0x00, 0, NULL },
{ NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, NULL }
};
@@ -547,7 +550,7 @@
struct input_types *type;
puts("");
- puts("Usage: inputattach [--daemon] [--always] [--noinit] <mode> <device>");
+ puts("Usage: inputattach [--daemon] [--baud <baud>] [--always] [--noinit] <mode> <device>");
puts("");
puts("Modes:");
@@ -571,6 +574,7 @@
int i;
unsigned char c;
int retval;
+ int baud = -1;
int ignore_init_res = 0;
int no_init = 0;
@@ -587,6 +591,15 @@
} else if (need_device) {
device = argv[i];
need_device = 0;
+ } else if (!strcasecmp(argv[i], "--baud")) {
+ if (argc <= i + 1) {
+ show_help();
+ fprintf(stderr,
+ "inputattach: require baud rate\n");
+ return EXIT_FAILURE;
+ }
+
+ baud = atoi(argv[++i]);
} else {
if (type && type->name) {
fprintf(stderr,
@@ -627,6 +640,19 @@
return 1;
}
+ switch(baud) {
+ case -1: break;
+ case 2400: type->speed = B2400; break;
+ case 4800: type->speed = B4800; break;
+ case 9600: type->speed = B9600; break;
+ case 19200: type->speed = B19200; break;
+ case 38400: type->speed = B38400; break;
+ default:
+ fprintf(stderr, "inputattach: invalid baud rate '%d'\n",
+ baud);
+ return EXIT_FAILURE;
+ }
+
setline(fd, type->flags, type->speed);
if (type->flush)
--- End Message ---
--- Begin Message ---
Source: joystick
Source-Version: 1:1.4~rc1-1
We believe that the bug you reported is fixed in the latest version of
joystick, which is due to be installed in the Debian FTP archive:
inputattach_1.4~rc1-1_amd64.deb
to main/j/joystick/inputattach_1.4~rc1-1_amd64.deb
joystick_1.4~rc1-1.debian.tar.gz
to main/j/joystick/joystick_1.4~rc1-1.debian.tar.gz
joystick_1.4~rc1-1.dsc
to main/j/joystick/joystick_1.4~rc1-1.dsc
joystick_1.4~rc1-1_amd64.deb
to main/j/joystick/joystick_1.4~rc1-1_amd64.deb
joystick_1.4~rc1.orig.tar.bz2
to main/j/joystick/joystick_1.4~rc1.orig.tar.bz2
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stephen Kitt <[email protected]> (supplier of updated joystick package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 04 Apr 2011 16:56:39 +0200
Source: joystick
Binary: joystick inputattach
Architecture: source amd64
Version: 1:1.4~rc1-1
Distribution: unstable
Urgency: low
Maintainer: Stephen Kitt <[email protected]>
Changed-By: Stephen Kitt <[email protected]>
Description:
inputattach - utility to connect serial-attached peripherals to the input subsy
joystick - set of testing and calibration tools for joysticks
Closes: 607009 616443
Changes:
joystick (1:1.4~rc1-1) unstable; urgency=low
.
* New upstream version:
- Builds with --as-needed. Closes: #607009.
- inputattach supports W8001. Closes: #616443.
- inputattach supports Zhen-Hua. LP: #648945.
* Drop all patches, merged upstream. Drop README.source explaining quilt
usage, and --with-quilt directive to sh.
* Drop manpages, merged upstream.
* Drop store/restore tools, merged upstream.
* Rework udev rules:
- provide agents to delay invoking inputattach or jscal-restore until
they become available;
- drop jskeepalive and use sleep instead to stop Acrux devices from
going into a coma (as suggested by Oliver Neukum), for kernels prior
to 2.6.39;
- only apply the udev rules when adding devices (as suggested by
Roberto Neri).
* Standards-Version 3.9.1, no change required.
* No longer ship evtest, its source is maintained separately (and will
be removed from future upstream versions of joystick).
Checksums-Sha1:
56b859933763e94ec52b34d8c15f5cf5be364068 1698 joystick_1.4~rc1-1.dsc
bcd5ade88beb85d01d7bce9560de0e61a724b05a 43214 joystick_1.4~rc1.orig.tar.bz2
b83b3e6ead22f28f0d245d23d8fd3a970c625a67 9422 joystick_1.4~rc1-1.debian.tar.gz
17d5f8bf136a766f9a1eb42d906febff068f5b9f 42664 joystick_1.4~rc1-1_amd64.deb
a26ead70a4a994a09c66c4c167e3001bdf35240a 20168 inputattach_1.4~rc1-1_amd64.deb
Checksums-Sha256:
a4508b01c5b4145104caf6c88d245dae6a8622ecfb7421865a72e190a321f185 1698
joystick_1.4~rc1-1.dsc
3077d6f0139e1007cab121ced5b8e3af399be848e6edb5f8434a44a300d47b45 43214
joystick_1.4~rc1.orig.tar.bz2
55a9ebfbb75e0196c83cd583ca57dc9dc73003b6bf4716cd0a7ad49a2df2a8de 9422
joystick_1.4~rc1-1.debian.tar.gz
8347816ac895ace3ae1bf84c90862485207abe40425629f7040525f1351bc233 42664
joystick_1.4~rc1-1_amd64.deb
8c3af74a094aefdc579da233c6a2c91cde925b8d3c4f6424ba7646f9977b9a86 20168
inputattach_1.4~rc1-1_amd64.deb
Files:
278b668639cac829e144c88c79c3c97a 1698 utils extra joystick_1.4~rc1-1.dsc
cc2bd7359fc949d6f8382593226721f3 43214 utils extra
joystick_1.4~rc1.orig.tar.bz2
7fdb0bb1f2de31940f93ac0152c4da12 9422 utils extra
joystick_1.4~rc1-1.debian.tar.gz
6e5d12351ce8e51e6888feaff49ea982 42664 utils extra joystick_1.4~rc1-1_amd64.deb
bc3923d123df5b3c04153fb84c07f631 20168 utils extra
inputattach_1.4~rc1-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Kees Cook <[email protected]>
iQIcBAEBCgAGBQJNzTMUAAoJEIly9N/cbcAmyqwP/RIjdC22JTL/kRwTXAm3s085
fr/Ad2eghYreir9H1t3IiEkouDQ5atRS5P0kPa+J0Or6cna7ICw2wee/q6CLi8wR
g9UzOh2UmNEwmDuhb3AQVN8vu7TI7Am5nOHplJ3dnflZqGrbvNFkISc2OyKjFAUp
CETBk3q18+1Nu9iq4iREMrwC3ktqdBEeezLhxUwYkUyv8+BcfzyzQ40wj9zAkMmh
p2DHs9TuXqXzqqL8/Sk7lKwARnIIUV4w0eZ2xvv5v8A4jkKkZ5Vg77EP6T3p+hYE
PugVZUQZ3LUyH97kAej2GR0xpdcZAgBP2QzuSJS0fO/6V8PV7UvJxnE8aupY3kqv
JKZKR6/UAmBJs42ASqFt/CduZr1QgHenxxVs4owbcqq//XboIBpuizH17j0+QOie
vePz+NqgfkahQ1iz0SOLWOIfqnEmfIKM3pc9uYsDO3pty2758YhJttpLo0JzjMnu
9OvBcbefANNcbp/PefAGgEHCeFJJ3y+s9HJOlcNCVa7HlSc0fTR/Jes7STYWVQvP
m70bglSwcp7Yhy2vxom+A6GbRrRJW0Nq5fc9dsF1hdH7XvGY6zxmsMLk1PMn8xOW
fw5W5FalTFVh8fH5GrYOLe9LpHBCKCNhsdLHEkEmKCivCPKFazEakIY/m6XmO6np
yFDf+6DG/92kmA8sV5D2
=FTk/
-----END PGP SIGNATURE-----
--- End Message ---