From patchwork Thu Sep 6 23:40:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Schmitz X-Patchwork-Id: 10591295 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3BCA0921 for ; Thu, 6 Sep 2018 23:40:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F4C22B257 for ; Thu, 6 Sep 2018 23:40:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10DF12B26E; Thu, 6 Sep 2018 23:40:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B14F22B257 for ; Thu, 6 Sep 2018 23:40:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725805AbeIGESt (ORCPT ); Fri, 7 Sep 2018 00:18:49 -0400 Received: from mail-pl1-f178.google.com ([209.85.214.178]:39297 "EHLO mail-pl1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725743AbeIGESs (ORCPT ); Fri, 7 Sep 2018 00:18:48 -0400 Received: by mail-pl1-f178.google.com with SMTP id w14-v6so5691030plp.6 for ; Thu, 06 Sep 2018 16:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=yG5zkNLdGJJM/48to3jMxKoOQFEaLLlnqF53srZGpWY=; b=GHo5G7ZWJ9UQwgvJm6bsbcuJ+ak1E1y/eBt7r6eAmxqzmyX896ECYNxEd5u254kHfn cCIjzbER4kd4Hy8a+yRMSn6AaKiDSvRRTGNcT8DrkwyX3rSfHOM4HyRRIY+qsKZgqEL7 HmkSl1rmputpS4jIDZakuHwSAGbqXu45lsHFyZGAUmLEvFPGYDpusL4TGN2ZDhQY5jGL gMvggiiga6EhywIDcqhYEVEKqR70LMrle+ROX98aF65QgrcFOA03W2Eob072a0eZTfHF 5f7GvFYC1eQYI3hSdnm2XCPGeoyPOGyc96pwPBW0Dvvv0yl0oSag8QtAfKEPUUinlmJZ fsiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yG5zkNLdGJJM/48to3jMxKoOQFEaLLlnqF53srZGpWY=; b=M38vONl04QMOWInNSvJcuZy3QH50m3FF8Vwh5MPHvI/XL8HXl1GAL/4zvoiOvBiL4j 2XHr+UAqGh+K6HB8hRis/ZDROPMQoAVYgb3H+mLup4dF7lEk6k9OBOeiO1XWjYTxXmzv OAVj0uvOhCVGGm4WNmW6vz5npZZh3J5K4zmHibMuibz8eA7tD39ydWX4IXoWZllOS2aN fx/yWYGdtIGrDv0XZxCgN7Inwgbw9xOknjgyHUAn7FKzlryTGolNb1NkNAQw+d8Nt8VT RMUYWn7GLGJqxk0nfNZ7qZ7mhvBM5vLHjnRGgKZWwF3P7YNXzy4ctcGGoCMmCS2QbSS9 BBow== X-Gm-Message-State: APzg51B8pmYiVJ81mh4/PMW3AkPgG0k+y6rK74Hu3+f0QixkP5vRL148 Md0M9+ZQ6vfyX+cu8F0fqtM= X-Google-Smtp-Source: ANB0VdazPt+bTZfskgkktHWQ9XkwGdMBmXbhmi0xx5Z4HhHJPc0I/jAioxWPBHMYVRTFnvSwC7WROg== X-Received: by 2002:a17:902:6bc8:: with SMTP id m8-v6mr5227510plt.162.1536277255222; Thu, 06 Sep 2018 16:40:55 -0700 (PDT) Received: from xplor.waratah.dyndns.org (222-154-41-72-adsl.sparkbb.co.nz. [222.154.41.72]) by smtp.gmail.com with ESMTPSA id v82-v6sm8144962pfd.64.2018.09.06.16.40.54 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 06 Sep 2018 16:40:54 -0700 (PDT) Received: by xplor.waratah.dyndns.org (Postfix, from userid 1000) id 9816C360081; Fri, 7 Sep 2018 11:40:50 +1200 (NZST) From: Michael Schmitz To: linux-input@vger.kernel.org Cc: debian-68k@lists.debian.org, linux-m68k@lists.linux-m68k.org Subject: [PATCH 0/2] input: atakbd.c bug fixes Date: Fri, 7 Sep 2018 11:40:41 +1200 Message-Id: <1536277243-3821-1-git-send-email-schmitzmic@gmail.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Two bug fixes for the Atari keyboard input driver: - keymap fixes: multiple keymap errors that had gone unnoticed since migration of the m68k keyboard driver code to the input framework. Correct the wrong keycodes - keymap is stil US but keypad, help and undo keys all generate the correct keycodes now. - capslock fix: the Atari driver incorrectly assumed that capslock were a toggle key (i.e. sending no break scancodes), and synthesized a make/break keycode pair on each capslock scancode. This resulted in duplicate make/break codes on key release, and capslock functioning as a shift key. Remove code sending make/break pairs to get functional capslock behaviour. Tested on my own Atari Falcon 030. TIA for your review. Please CC linux-m68k in replies. Cheers, Michael CC to debian-68k, for consideration at the upcoming m68k hackers meeting.