From owner-svn-src-all@freebsd.org Tue Apr 21 14:45:42 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 07F5D2CFC73; Tue, 21 Apr 2020 14:45:42 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4965w51g3Mz4Pkj; Tue, 21 Apr 2020 14:45:40 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-qk1-x72b.google.com with SMTP id o19so14717955qkk.5; Tue, 21 Apr 2020 07:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZtWx6jir9qPkrzXEpQH3ipg4q1oEna2RBKihM6AoO/4=; b=JM8BbBg4g8n6vBZBieBRC8REKWLD/UL5r5U8HQ0/IR26Z/wDUxCPkx1tLzcwJ63RqM lDqo0I9gFlMMhTHtKswq0egPQmp38Hhvq0EQfy/YVWfRmH+NQJojlZrCMWdO3yPpFoRg iZQgReFmjvzMAGBtTLyCE4Y1CYJXUwL5ChWElwPOR4lJOXUjRxxU3PtyWyJaeK8VRUl1 65DrTaX8JWreK/vTrPgr3mxgXJqER45kQyO0vFGdtA1B7nLsjOZup/6oWkHDhFIZrmAK BfP3rUQmVF+TrqpwJjvu2oltJIEUwAST75i3ks6nNXpiE1WT9+d2SDPUfaoOA8VcBuT2 uYKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZtWx6jir9qPkrzXEpQH3ipg4q1oEna2RBKihM6AoO/4=; b=VZergGbICBSS1EHjyRwgP0TXcPPLhgTzESRCyqIeYAmI4ruSaXBV1oTmQG6P7tLkdo vC+FjCSOTDFsFbZuwYliChAT9Qr2jzTSe2LY1lxuOJahmZk42N9H/1VDzQ+u9y8R2xIt 50JSB7nAz2tTig5HtadfvrZnm0If3Mh7TxKufTduZQVnr8MhjxMxsRhhAFCgAbPTfGah mF2cNRL9aCgSFj6UwWIY8Ux0nS4lRBcPgHnfGaX6O7MmlSAknTIBn/ZBPLQAdvuUmEEp +4CH8tRnWZnTVEbnSWXy9HGrWw1smU1AkX50PSdw+tGkbPre4MAfjIoWJTJobOq0gw7i 6OAQ== X-Gm-Message-State: AGi0PuZa7KgbyEum8NuPSH7Q/IzmuRJ3t0fnCzhImGZsh2wsr6jcapwp OAugYQGNaEmveKBdYtC5HzeLwKLaTV6BGQ== X-Google-Smtp-Source: APiQypKTUU8KHeJxjAv4iIyLCQ9UzozdNKJUKB9W334Q9uZJs0pjZbximKsXiAPzwyBm0NzsBRj5pw== X-Received: by 2002:a37:9d8c:: with SMTP id g134mr22542153qke.307.1587480340153; Tue, 21 Apr 2020 07:45:40 -0700 (PDT) Received: from titan.knownspace (173-19-125-130.client.mchsi.com. [173.19.125.130]) by smtp.gmail.com with ESMTPSA id b42sm1907759qta.29.2020.04.21.07.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 07:45:39 -0700 (PDT) Date: Tue, 21 Apr 2020 09:45:37 -0500 From: Justin Hibbits To: Vladimir Kondratyev Cc: Niclas Zeising , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r360126 - head/sys/dev/evdev Message-ID: <20200421094537.1e26836e@titan.knownspace> In-Reply-To: <9e1f8218-916d-82cb-348f-326fc651115d@kondratyev.su> References: <202004201617.03KGHHj7074077@repo.freebsd.org> <20200420113957.50d41308@titan.knownspace> <9e1f8218-916d-82cb-348f-326fc651115d@kondratyev.su> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4965w51g3Mz4Pkj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=JM8BbBg4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 2607:f8b0:4864:20::72b as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[130.125.19.173.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (-9.32), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[b.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2020 14:45:42 -0000 On Mon, 20 Apr 2020 22:13:51 +0300 Vladimir Kondratyev wrote: > On 20.04.2020 19:39, Justin Hibbits wrote: > > But I'm curious, why not attach to sysmouse(4) and kbdmux(4)? What > > breakage does that cause? I could maybe see not attaching to > > sysmouse(4) by default, if the protocol isn't expressive enough, but > > kbdmux(4) should be sufficient. > > > > - Justin > > kbdmux(4) is pretty good for standard 102-104-keys keyboards found at > common desktops. > > But it does not work that good with some laptop ones. > > There are no "Flight mode on/off", "Touchpad on/off" e.t.c. events > defined in AT-keyset but they exist in evdev-keyset. > > Unfortunately, we do not support keymap uploading in our drivers yet > to make utilization of this advantage easy > > but IMO its better to switch to direct key-event reporting earlier > rather than later. > Thanks for that explanation. I tried thinking of any way these capabilities could be added to kbdmux, but they really are keyboard specific events, so wouldn't belong in kbdmux anyway. I'd be interested in adding the necessary capabilities to adb(4), to remove this special casing. I have a PowerBook G4 Ti to use for such a task. - Justin