From owner-freebsd-current@freebsd.org Wed Feb 15 12:10:37 2017 Return-Path: Delivered-To: freebsd-current@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 7D8E8CE0B8C for ; Wed, 15 Feb 2017 12:10:37 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 98C16957; Wed, 15 Feb 2017 12:10:36 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA04087; Wed, 15 Feb 2017 14:10:28 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1cdyPk-000EEa-BH; Wed, 15 Feb 2017 14:10:28 +0200 To: Oleksandr Tymoshenko Cc: FreeBSD Current From: Andriy Gapon Subject: basic evdev setup Message-ID: Date: Wed, 15 Feb 2017 14:09:06 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 12:10:37 -0000 Oleksandr, at the moment the documentation for evdev on FreeBSD is very scarce, even if we talk about wiki pages, informal howto-s or blog posts. So, I would like to ask your help for a very basic evdev test setup. All input devices I have are standard keyboard and a mouse with some extra keys. I would like to be able to use the keyboard and the mouse as usual when in the console. And I would like to be able to use the extra mouse keys in X. What steps should I take to achieve that? I already evdev + EVDEV_SUPPORT on the kernel side in addition to the regular keyboard and mouse drivers (atkbdc + ums). I have also installed xf86-input-evdev. Do I need any additional kernel evedev configuration via sysctl? What should I add to xorg configuration to enable evdev for X? Thank you! -- Andriy Gapon