From owner-freebsd-drivers@freebsd.org Fri Jul 24 00:33:30 2015 Return-Path: Delivered-To: freebsd-drivers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2B5A9A977B for ; Fri, 24 Jul 2015 00:33:30 +0000 (UTC) (envelope-from ljh8199@gmail.com) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8A08187E for ; Fri, 24 Jul 2015 00:33:30 +0000 (UTC) (envelope-from ljh8199@gmail.com) Received: by padck2 with SMTP id ck2so4505464pad.0 for ; Thu, 23 Jul 2015 17:33:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=8LjHGTvLN/AM7/ajuhWwFDodz3EtquIIcR47Bj3lUno=; b=RQU3UKlHqacSv3XDZVtm4gRuLDeEMcQlArdYPNLKEoqICeBlNflRCIo30xsRYQ3PCq qcN+EDX6Djbahx1LRONNfslFX3OV4vpSoV71nhd1V1GCyPth8+OHG2GmoIcL/tTWSR6I 1M8xvrvYeZEMfIHh/vBUU3+qvgiVue2geqkCK0H3hXMdJ6yWclXBdFbTfhVIJxhG04qC qrY1ETR1gpCGBEUk6/iOQtuMhHiySo0a1CI4sNXBlVgj4YMiAGFun+azhhvxfU7TmasF 643sq8G0Dz8acp61WrpfDFQjZ69r+lMSyljkNb867T2pWpZToGPkvPljCASggyS2GyI9 xmHA== X-Received: by 10.70.42.134 with SMTP id o6mr24310186pdl.11.1437698010015; Thu, 23 Jul 2015 17:33:30 -0700 (PDT) Received: from m2r.lawsarang.net ([163.152.3.39]) by smtp.gmail.com with ESMTPSA id b4sm2236847pdn.42.2015.07.23.17.33.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 17:33:28 -0700 (PDT) From: ljh8199@gmail.com (Lee, Jae Ho) To: freebsd-drivers@freebsd.org Subject: Korean keyboard support Date: Fri, 24 Jul 2015 09:33:17 +0900 Message-ID: <86zj2mpf76.fsf@m2r.lawsarang.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2015 00:33:30 -0000 Hello. I am Lee, Jaeho from South Korea. ( not North lol ) I am trying to ask you about the Korean keyboard support in FreeBSD. The Korean keyborad is featured as below. "The Korean keyboard has two keys, the Korean/Chinese and the Korean/English toggles, that generate scancodes f1 and f2 (respectively) when pressed, and nothing when released. They do not repeat. The keycaps are "hancha" and "han/yong" (written in Hangul). Hancha (hanja) means Chinese character, and Han/Yong is short for Hangul/Yongcha (Korean/English). They are located left and right of the space bar." ( From : http://www.win.tue.nl/~aeb/linux/kbd/scancodes-9.html ) Basically, on the Korean 103/106 (Korean Government Standard), there are two additional keys as Hangul(scancode of 0xf2) and Hanja(scancode of 0xf1) to the US 101/104 keyborad. and they don't have release signals if they are ps/2 type. USB keborad does have release signals. I tried look in src/sys/dev/atkbdc/atkbd.c and tried to make a patch on my own which I inspired by the patch from the linux kernel : https://bugzilla.kernel.org/show_bug.cgi?id=6642 , but since I am not well experienced yet in freebsd programing so I eventually came to ask for your help. I am ready to give you answers and informations to any kind of questions about Korean keybord specifications or other things related that you might want to know. :) As you can guess, the keyboard support is quite evident and will be really important and helpful to many Korean FreeBSD users. Thank you in advance. :) Lee.