From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan-Marek Glogowski Subject: Re: Brightness and "touchpad dis-/enable" keys not working for Fujitsu e7x6 Date: Mon, 27 Jun 2016 13:40:09 +0200 Message-ID: <57711099.1020802@fbihome.de> References: <20160623123506.GA4461@eudyptula.hq.kempniu.pl> <576C1B0C.5050206@fbihome.de> <20160624071224.GA5289@eudyptula.hq.kempniu.pl> <576CFBC6.2000309@fbihome.de> <20160624102024.GA5461@eudyptula.hq.kempniu.pl> <576D5523.7030309@fbihome.de> <20160624201737.GA5843@eudyptula.hq.kempniu.pl> <20160625085052.GA5137@marvin.atrad.com.au> <20160625091522.GA6423@eudyptula.hq.kempniu.pl> <5770E484.4030009@fbihome.de> <20160627111655.GA2438@eudyptula.hq.kempniu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from ironman.h-da.de ([141.100.10.250]:6051 "EHLO ironman.h-da.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751661AbcF0LkM (ORCPT ); Mon, 27 Jun 2016 07:40:12 -0400 In-Reply-To: <20160627111655.GA2438@eudyptula.hq.kempniu.pl> Sender: platform-driver-x86-owner@vger.kernel.org List-ID: To: =?UTF-8?B?TWljaGHFgiBLxJlwaWXFhA==?= Cc: Jonathan Woithe , platform-driver-x86@vger.kernel.org, Jani Nikula Am 27.06.2016 um 13:16 schrieb Micha=C5=82 K=C4=99pie=C5=84: >>>> As to >>>> the touch keys, it sounds like this might be a BIOS thing to - is = it? >>> >>> Are you referring to the "touchpad toggle" key? If you are, I will= soon >>> post a patch adding support for this key so that Jan-Marek can test= it. >>> I just need to find some time to actually write it. >> >> This needs a small patch. But getting the keycode into X11 seems to = be >> impossible, as X / xev can't handle keycodes > 255 (KEY_TOUCHPAD_TOG= GLE). >> >> I'm currently running evrouter, to call a script on the event, which >> dis-/enables the input device using xinput. >=20 > So does my patch work after the set_bit() you suggested is added? Yo= u > have not explicitly stated that, so I can only guess it works. Yup - it works. Should I add a Tested-by to the merged version? How is this normally handled? > If you really want to avoid using helper software, patch your kernel = to > generate a different event when Fn+F4 is pressed. That would really be hackish, I guess ;-) Probably I'll go with a patch to the X11 evdev driver for remapping: http://www.thenautilus.net/cgit/xf86-input-evdev/commit/?h=3Dcode-remap= -2.9.2 as XF86XK_TouchpadToggle is already mapped to 199 in my xmodmap. Regards, Jan-Marek