Your message dated Tue, 26 Sep 2006 03:32:08 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#388677: fixed in input-utils 0.0.20051128-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: input-utils
Version: 0.0.20050727-2
Hi,
I'm experimenting with some custom keymaps using the input utilities
downloaded from:
http://dl.bytesex.org/cvs-snapshots/input-20051128-143821.tar.gz
(but this also applies to the debian 20050727 version)
Everything works great except that there seems to be an off-by-one error
which prevents me from setting the last key in the codeset.
The error can be seen in the output as well:
drevil:~/input2/input# ./input-kbd 0
/dev/input/event0
bustype : BUS_I2C
vendor : 0x0
product : 0x0
version : 0
name : "i2c IR (Hauppauge)"
phys : "i2c-0/0-0018/ir0"
bits ev : EV_SYN EV_KEY
map: 128 keys, size: 127/128
0x0000 = 11 # KEY_0
...
0x007e = 126 # KEY_RIGHTMETA
The size param there looks wonky and I'm not able to set the key for 0x007f
Looking at input-kbd.c, line 34:
for (map->size = 0; map->size < 65536; map->size++) {
entry.scancode = map->size;
entry.keycode = KEY_RESERVED;
rc = ioctl(fd, EVIOCGKEYCODE, &entry);
if (rc < 0) {
map->size--;
break;
}
if (map->size >= map->alloc) {
the "map->size--" line looks incorrect since scancodes from, and
including, zero have been tested, it seems that it should not be
decreased.
So I removed that line and recompiled....lo and behold:
drevil:~/input2/input# ./input-kbd 0
/dev/input/event0
bustype : BUS_I2C
vendor : 0x0
product : 0x0
version : 0
name : "i2c IR (Hauppauge)"
phys : "i2c-0/0-0018/ir0"
bits ev : EV_SYN EV_KEY
map: 128 keys, size: 128/128
0x0000 = 11 # KEY_0
...
0x007e = 126 # KEY_RIGHTMETA
0x007f = 127 # KEY_COMPOSE
--
David Härdeman
--- End Message ---
--- Begin Message ---
Source: input-utils
Source-Version: 0.0.20051128-1
We believe that the bug you reported is fixed in the latest version of
input-utils, which is due to be installed in the Debian FTP archive:
input-utils_0.0.20051128-1.diff.gz
to pool/main/i/input-utils/input-utils_0.0.20051128-1.diff.gz
input-utils_0.0.20051128-1.dsc
to pool/main/i/input-utils/input-utils_0.0.20051128-1.dsc
input-utils_0.0.20051128-1_i386.deb
to pool/main/i/input-utils/input-utils_0.0.20051128-1_i386.deb
input-utils_0.0.20051128.orig.tar.gz
to pool/main/i/input-utils/input-utils_0.0.20051128.orig.tar.gz
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.
Marcus Better <[EMAIL PROTECTED]> (supplier of updated input-utils 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: SHA1
Format: 1.7
Date: Fri, 22 Sep 2006 10:41:35 +0200
Source: input-utils
Binary: input-utils
Architecture: source i386
Version: 0.0.20051128-1
Distribution: unstable
Urgency: low
Maintainer: Marcus Better <[EMAIL PROTECTED]>
Changed-By: Marcus Better <[EMAIL PROTECTED]>
Description:
input-utils - utilities for the input layer of the Linux kernel
Closes: 388677
Changes:
input-utils (0.0.20051128-1) unstable; urgency=low
.
* New upstream version.
* debian/compat: Bumped level to 5.
* input-kbd.c: Fix off-by-one error when reading keymaps. Thanks to
David Härdeman. Closes: #388677.
* debian/rules: Clean up.
Files:
125fe3fffd4c513048355b29d70878a9 613 utils optional
input-utils_0.0.20051128-1.dsc
3f8504c769c41de0456baaaca1484fa6 28010 utils optional
input-utils_0.0.20051128.orig.tar.gz
3dfe4a23108968539dcdd8b3ac851f6b 2911 utils optional
input-utils_0.0.20051128-1.diff.gz
1ed34b25426233b65d3c5a8deaf9b8a4 15928 utils optional
input-utils_0.0.20051128-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFGP9c+C5cwEsrK54RAj9DAKCORTPhilKPtF9SoT6shyrCUHMGRgCgs/Hw
hrTaKw8rPiIO56u8+Psiq4U=
=ZbTp
-----END PGP SIGNATURE-----
--- End Message ---