Your message dated Thu, 15 Sep 2005 06:17:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#328085: fixed in fnfx 0.3-7
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Sep 2005 10:48:26 +0000
>From [EMAIL PROTECTED] Tue Sep 13 03:48:25 2005
Return-path: <[EMAIL PROTECTED]>
Received: from apachihuilliztli.mtu.ru [195.34.32.124] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EF8Kv-0002W3-00; Tue, 13 Sep 2005 03:48:25 -0700
Received: from umail.ru (umail.mtu.ru [195.34.32.101])
        by Apachihuilliztli.mtu.ru (Postfix) with ESMTP id DFA0D20A8B4;
        Tue, 13 Sep 2005 14:48:13 +0400 (MSD)
        (envelope-from [EMAIL PROTECTED])
Received: from [83.237.6.127] (HELO localhost.localdomain)
  by umail.ru (CommuniGate Pro SMTP 4.2b6)
  with ESMTP id 564652908; Tue, 13 Sep 2005 14:48:13 +0400
Content-Type: multipart/mixed; boundary="===============1994809200=="
MIME-Version: 1.0
From: Konstantin Isakov <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: fnfxd: A client, if attached, misses Fn-keystrokes sometimes
X-Mailer: reportbug 3.17
Date: Tue, 13 Sep 2005 14:48:14 +0400
Message-ID: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============1994809200==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: fnfxd
Version: 0.3-5
Severity: normal

When client is attached, it sometimes fail to receive an Fn-keystroke
from the daemon. The problem is that daemon fails to wait for the
client to read the keystroke from the shared memory segment, and
starts to process a key-relese event, which follows the keypress.
So if a key is pressed and released very quickly, the client misses it.

The daemon fails to wait for the client's response because the
response semaphore count is always non-zero -- the client sets
it to 1 on startup in case the daemon was waiting for the response
from the dead client.

The solution is to set the response semaphore to 0 by the daemon
just before reporting an event to the client. A patch is attached.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-ii
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages fnfxd depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an

fnfxd recommends no packages.

-- no debconf information

--===============1994809200==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="fnfx_missing_keys.patch"

--- fnfx-0.3/src/fnfxd_acpi.c   2004-10-12 23:03:42.000000000 +0400
+++ fnfx-0.3-modified/src/fnfxd_acpi.c  2005-09-13 14:14:53.000000000 +0400
@@ -73,6 +73,9 @@
 
 void signal_fnfx()
 {
+    /* Reset the remnant response from the client in case there is one */
+    semctl(cfg->sem.id, 2, SETVAL, 0);
+
     cfg->sem.op.sem_num = 1;
     cfg->sem.op.sem_op = 1;
     cfg->sem.op.sem_flg = 0;

--===============1994809200==--

---------------------------------------
Received: (at 328085-close) by bugs.debian.org; 15 Sep 2005 13:20:19 +0000
>From [EMAIL PROTECTED] Thu Sep 15 06:20:19 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EFtbu-0002vA-00; Thu, 15 Sep 2005 06:17:06 -0700
From: Agney Lopes Roth Ferraz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#328085: fixed in fnfx 0.3-7
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 15 Sep 2005 06:17:06 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: fnfx
Source-Version: 0.3-7

We believe that the bug you reported is fixed in the latest version of
fnfx, which is due to be installed in the Debian FTP archive:

fnfx-client_0.3-7_i386.deb
  to pool/main/f/fnfx/fnfx-client_0.3-7_i386.deb
fnfx_0.3-7.diff.gz
  to pool/main/f/fnfx/fnfx_0.3-7.diff.gz
fnfx_0.3-7.dsc
  to pool/main/f/fnfx/fnfx_0.3-7.dsc
fnfxd_0.3-7_i386.deb
  to pool/main/f/fnfx/fnfxd_0.3-7_i386.deb



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.
Agney Lopes Roth Ferraz <[EMAIL PROTECTED]> (supplier of updated fnfx 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: Tue, 13 Sep 2005 17:22:21 -0300
Source: fnfx
Binary: fnfxd fnfx-client
Architecture: source i386
Version: 0.3-7
Distribution: unstable
Urgency: low
Maintainer: Agney Lopes Roth Ferraz <[EMAIL PROTECTED]>
Changed-By: Agney Lopes Roth Ferraz <[EMAIL PROTECTED]>
Description: 
 fnfx-client - Client for customize fnfxd hot-keys
 fnfxd      - ACPI and hotkey daemon for Toshiba laptops
Closes: 328085
Changes: 
 fnfx (0.3-7) unstable; urgency=low
 .
   * Fixed Fn-keystrokes misses. Thanks to Konstantin Isakov. The fix will be
     aplied on upstream source, but while this not happens it will be fixed on
     debian. (Closes: #328085)
Files: 
 3e74ba126b2550730feca7a7fe9423e9 611 utils optional fnfx_0.3-7.dsc
 c870361de83b385131889dd74cf9907c 20772 utils optional fnfx_0.3-7.diff.gz
 e42f0a22541e3d87bb283b26a5cd8fb1 18860 utils optional fnfxd_0.3-7_i386.deb
 48b128cfb6983ab22ad9fb2aca11128e 7354 utils optional fnfx-client_0.3-7_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDKXBtt1anjIgqbEsRArdoAJ9UYSBAtJnIATcYRKy/gQCLgvRefACZAczO
DEWicSRPGja0/f9huzeUY9A=
=jjh/
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to