From nobody Mon Aug 16 22:02:36 2021 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E09521768717 for ; Mon, 16 Aug 2021 22:02:43 +0000 (UTC) (envelope-from mark@kane.mn) Received: from stinger.tntpowerhost.com (stinger.tntpowerhost.com [104.128.58.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "stinger.tntpowerhost.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GpSnt5ww9z3mC8; Mon, 16 Aug 2021 22:02:42 +0000 (UTC) (envelope-from mark@kane.mn) Received: from stinger.tntpowerhost.com (localhost [127.0.0.1]) by stinger.tntpowerhost.com (OpenSMTPD) with ESMTP id 6158cfa6; Mon, 16 Aug 2021 17:02:36 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kane.mn; h= mime-version:date:from:to:cc:subject:in-reply-to:references :message-id:content-type:content-transfer-encoding; s=stinger; bh=3xmBQu62W6TdjbZTUd2FmZ2yrFMGJtNTLwA9H5lI6Zo=; b=ZRG9BjBfmXGF llPD+mD/UECCdi8otrB8yCbKa0S6pkpnC/fuH2WPwmYnB+aTFNTUGts+4D/VD/Rn hkNnMiMm424zQtmkDvNn/zX9W0ojoOI/JyytnaQeOs1B65tpT9Djb9bz9a7aj/0l GzmCRugzQs/mKpXht9dbO+P+D9lw8QI= Received: from stinger.tntpowerhost.com (localhost [127.0.0.1]) by stinger.tntpowerhost.com (OpenSMTPD) with ESMTPSA id b88dac04 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 16 Aug 2021 17:02:36 -0500 (CDT) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 Date: Mon, 16 Aug 2021 17:02:36 -0500 From: Mark Kane To: Vladimir Kondratyev Cc: usb@freebsd.org, hps@selasky.org Subject: Re: eGalax USB touchscreen issues In-Reply-To: <1c3ebd54-3686-ff5f-d5be-5a42ddcd5469@FreeBSD.org> References: <324d49ca-1c0e-659d-194d-ece4d5f7f5e2@FreeBSD.org> <0ae3fec48e2c351d2c006f4ba4932cd7@kane.mn> <166dd4d4-24cd-c24b-d75e-9a34fa734358@FreeBSD.org> <36983ce5-8358-5a04-2377-46067d3c3c79@FreeBSD.org> <59ba07a0ecbdac36746fe18ea5f0559f@kane.mn> <92c855bf-a73a-bae5-fcdc-c5a88008739b@FreeBSD.org> <5e8cd8d75deff98e8db3352001ce8432@kane.mn> <858ac67e-14e2-730c-4a16-ca218e2c0bee@FreeBSD.org> <168b368c-3258-6416-42c5-a722e45bf14b@FreeBSD.org> <12706f32-be2e-1cda-5d90-53b4e80b0b52@FreeBSD.org> <3bfc252a7ef55b21d5e51c251a518d78@kane.mn> <1c3ebd54-3686-ff5f-d5be-5a42ddcd5469@FreeBSD.org> User-Agent: Roundcube Webmail/1.4.6 Message-ID: X-Sender: mark@kane.mn Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GpSnt5ww9z3mC8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=kane.mn header.s=stinger header.b=ZRG9BjBf; dmarc=pass (policy=none) header.from=kane.mn; spf=pass (mx1.freebsd.org: domain of mark@kane.mn designates 104.128.58.83 as permitted sender) smtp.mailfrom=mark@kane.mn X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[kane.mn:s=stinger]; FREEFALL_USER(0.00)[mark]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:104.128.58.83]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[kane.mn:+]; DMARC_POLICY_ALLOW(-0.50)[kane.mn,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:30455, ipnet:104.128.58.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2021-08-14 07:44, Vladimir Kondratyev wrote: > On 12.08.2021 06:37, Mark Kane wrote: > This report descriptor looks good and differs from post 2014 one. It > belongs to device which uses legacy MS stylus protocol. I attached a > patch which implements support for it in hpen(4) driver. Also it is > applicable to post 2014 devices as they have stylus top level > collection > too. > >> Touch on this screen fully works on Linux using the binary EETI >> driver. >> Could there be something different about the USB controller in some of >> these screens that is causing the corruption on FreeBSD? If there is >> any >> other info to gather from either install I'm happy to. > > I do not khow how to debug this issue. May be hselasky can help here. > > I can offer a workaround. Simple tool to upload fixed pre-2014 report > descriptor in to HID core through hidraw(4) interface. > Just compile it and run using proper /dev/hidraw# device node path as > parameter: > # cc -o setrdesc setrdesc.c > # ./setrdesc /dev/hidraw0 > > Don't forget to kldload hidraw.ko before. Thanks for the patch and workaround for pre-2014 screens. With these and a 2012 screen we get event7 and event8 created. Events are heard from event8 but X has an error adding the input: root@freebsd # dmesg | grep hidraw hidraw0: on hidbus0 hidraw0: no report descriptor hidraw1: on hidbus1 root@freebsd # ./setrdesc /dev/hidraw0 [here we get console messages about hms0/hpen0 attaching] hms0: on hidbus0 hms0: 2 buttons and [XY] coordinates ID=1 hpen0: on hidbus0 root@freebsd # evemu-record Available devices: /dev/input/event0: System mouse /dev/input/event1: System keyboard multiplexer /dev/input/event2: Power Button /dev/input/event3: Sleep Button /dev/input/event4: Lite-On Technology Corp. USB Multimedia Keyboard, class 0/0, rev 1.10/1.09, add /dev/input/event5: Lite-On Technology Corp. USB Multimedia Keyboard Consumer Control /dev/input/event6: Lite-On Technology Corp. USB Multimedia Keyboard System Control /dev/input/event7: eGalax Inc. USB TouchController Tablet /dev/input/event8: eGalax Inc. USB TouchController Pen Select the device event number [0-8]: 7 # EVEMU 1.3 # Kernel: 13.0-RELEASE-p3 # Input device name: "eGalax Inc. USB TouchController Tablet" # Input device ID: bus 0x03 vendor 0xeef product 0x01 version 0x100 # Supported events: # Event type 0 (EV_SYN) # Event code 0 (SYN_REPORT) # Event code 1 (SYN_CONFIG) # Event code 2 (SYN_MT_REPORT) # Event code 3 (SYN_DROPPED) # Event code 4 ((null)) # Event code 5 ((null)) # Event code 6 ((null)) # Event code 7 ((null)) # Event code 8 ((null)) # Event code 9 ((null)) # Event code 10 ((null)) # Event code 11 ((null)) # Event code 12 ((null)) # Event code 13 ((null)) # Event code 14 ((null)) # Event code 15 (SYN_MAX) # Event type 1 (EV_KEY) # Event code 272 (BTN_LEFT) # Event code 273 (BTN_RIGHT) # Event type 3 (EV_ABS) # Event code 0 (ABS_X) # Value 0 # Min 42 # Max 1981 # Fuzz 0 # Flat 0 # Resolution 0 # Event code 1 (ABS_Y) # Value 0 # Min 42 # Max 1981 # Fuzz 0 # Flat 0 # Resolution 0 # Properties: # Property type 1 (INPUT_PROP_DIRECT) N: eGalax Inc. USB TouchController Tablet I: 0003 0eef 0001 0100 P: 02 00 00 00 00 00 00 00 B: 00 0b 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 03 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 02 00 00 00 00 00 00 00 00 B: 03 03 00 00 00 00 00 00 00 B: 04 00 00 00 00 00 00 00 00 B: 05 00 00 00 00 00 00 00 00 B: 11 00 00 00 00 00 00 00 00 B: 12 00 00 00 00 00 00 00 00 B: 14 00 00 00 00 00 00 00 00 B: 15 00 00 00 00 00 00 00 00 B: 15 00 00 00 00 00 00 00 00 A: 00 42 1981 0 0 0 A: 01 42 1981 0 0 0 ################################ # Waiting for events # ################################ [...no events...] ^Croot@freebsd # evemu-record Available devices: /dev/input/event0: System mouse /dev/input/event1: System keyboard multiplexer /dev/input/event2: Power Button /dev/input/event3: Sleep Button /dev/input/event4: Lite-On Technology Corp. USB Multimedia Keyboard, class 0/0, rev 1.10/1.09, add /dev/input/event5: Lite-On Technology Corp. USB Multimedia Keyboard Consumer Control /dev/input/event6: Lite-On Technology Corp. USB Multimedia Keyboard System Control /dev/input/event7: eGalax Inc. USB TouchController Tablet /dev/input/event8: eGalax Inc. USB TouchController Pen Select the device event number [0-8]: 8 # EVEMU 1.3 # Kernel: 13.0-RELEASE-p3 # Input device name: "eGalax Inc. USB TouchController Pen" # Input device ID: bus 0x03 vendor 0xeef product 0x01 version 0x100 # Supported events: # Event type 0 (EV_SYN) # Event code 0 (SYN_REPORT) # Event code 1 (SYN_CONFIG) # Event code 2 (SYN_MT_REPORT) # Event code 3 (SYN_DROPPED) # Event code 4 ((null)) # Event code 5 ((null)) # Event code 6 ((null)) # Event code 7 ((null)) # Event code 8 ((null)) # Event code 9 ((null)) # Event code 10 ((null)) # Event code 11 ((null)) # Event code 12 ((null)) # Event code 13 ((null)) # Event code 14 ((null)) # Event code 15 (SYN_MAX) # Event type 1 (EV_KEY) # Event code 320 (BTN_TOOL_PEN) # Event code 330 (BTN_TOUCH) # Event type 3 (EV_ABS) # Event code 0 (ABS_X) # Value 0 # Min 30 # Max 4040 # Fuzz 0 # Flat 0 # Resolution 0 # Event code 1 (ABS_Y) # Value 0 # Min 60 # Max 4035 # Fuzz 0 # Flat 0 # Resolution 0 # Properties: # Property type 1 (INPUT_PROP_DIRECT) N: eGalax Inc. USB TouchController Pen I: 0003 0eef 0001 0100 P: 02 00 00 00 00 00 00 00 B: 00 0b 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 01 04 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 01 00 00 00 00 00 00 00 00 B: 02 00 00 00 00 00 00 00 00 B: 03 03 00 00 00 00 00 00 00 B: 04 00 00 00 00 00 00 00 00 B: 05 00 00 00 00 00 00 00 00 B: 11 00 00 00 00 00 00 00 00 B: 12 00 00 00 00 00 00 00 00 B: 14 00 00 00 00 00 00 00 00 B: 15 00 00 00 00 00 00 00 00 B: 15 00 00 00 00 00 00 00 00 A: 00 30 4040 0 0 0 A: 01 60 4035 0 0 0 ################################ # Waiting for events # ################################ E: 0.000001 0001 014a 0001 # EV_KEY / BTN_TOUCH 1 E: 0.000001 0001 0140 0001 # EV_KEY / BTN_TOOL_PEN 1 E: 0.000001 0003 0000 1481 # EV_ABS / ABS_X 1481 E: 0.000001 0003 0001 2596 # EV_ABS / ABS_Y 2596 E: 0.000001 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +0ms E: 0.006001 0003 0000 1478 # EV_ABS / ABS_X 1478 E: 0.006001 0003 0001 2599 # EV_ABS / ABS_Y 2599 E: 0.006001 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.011974 0003 0000 1477 # EV_ABS / ABS_X 1477 E: 0.011974 0003 0001 2603 # EV_ABS / ABS_Y 2603 E: 0.011974 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +5ms E: 0.019975 0003 0001 2606 # EV_ABS / ABS_Y 2606 E: 0.019975 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 0.025974 0003 0000 1476 # EV_ABS / ABS_X 1476 E: 0.025974 0003 0001 2604 # EV_ABS / ABS_Y 2604 E: 0.025974 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.033974 0003 0000 1477 # EV_ABS / ABS_X 1477 E: 0.033974 0003 0001 2600 # EV_ABS / ABS_Y 2600 E: 0.033974 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 0.041983 0003 0000 1475 # EV_ABS / ABS_X 1475 E: 0.041983 0003 0001 2594 # EV_ABS / ABS_Y 2594 E: 0.041983 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 0.049979 0003 0000 1474 # EV_ABS / ABS_X 1474 E: 0.049979 0003 0001 2590 # EV_ABS / ABS_Y 2590 E: 0.049979 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 0.057983 0003 0000 1471 # EV_ABS / ABS_X 1471 E: 0.057983 0003 0001 2585 # EV_ABS / ABS_Y 2585 E: 0.057983 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 0.075997 0003 0000 1468 # EV_ABS / ABS_X 1468 E: 0.075997 0003 0001 2583 # EV_ABS / ABS_Y 2583 E: 0.075997 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 0.094722 0003 0000 1467 # EV_ABS / ABS_X 1467 E: 0.094722 0003 0001 2580 # EV_ABS / ABS_Y 2580 E: 0.094722 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +19ms E: 0.107981 0003 0000 1466 # EV_ABS / ABS_X 1466 E: 0.107981 0003 0001 2579 # EV_ABS / ABS_Y 2579 E: 0.107981 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +13ms E: 0.135997 0003 0000 1465 # EV_ABS / ABS_X 1465 E: 0.135997 0003 0001 2577 # EV_ABS / ABS_Y 2577 E: 0.135997 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +28ms E: 0.167976 0003 0000 1464 # EV_ABS / ABS_X 1464 E: 0.167976 0003 0001 2572 # EV_ABS / ABS_Y 2572 E: 0.167976 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +32ms E: 0.199996 0003 0000 1462 # EV_ABS / ABS_X 1462 E: 0.199996 0003 0001 2570 # EV_ABS / ABS_Y 2570 E: 0.199996 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +32ms E: 0.234569 0003 0000 1460 # EV_ABS / ABS_X 1460 E: 0.234569 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +35ms E: 0.263981 0003 0000 1458 # EV_ABS / ABS_X 1458 E: 0.263981 0003 0001 2568 # EV_ABS / ABS_Y 2568 E: 0.263981 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +29ms E: 0.295973 0003 0000 1457 # EV_ABS / ABS_X 1457 E: 0.295973 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +32ms E: 0.330553 0003 0000 1456 # EV_ABS / ABS_X 1456 E: 0.330553 0003 0001 2569 # EV_ABS / ABS_Y 2569 E: 0.330553 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +35ms E: 0.363983 0001 014a 0000 # EV_KEY / BTN_TOUCH 0 E: 0.363983 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +33ms E: 1.109994 0001 014a 0001 # EV_KEY / BTN_TOUCH 1 E: 1.109994 0003 0000 2836 # EV_ABS / ABS_X 2836 E: 1.109994 0003 0001 2179 # EV_ABS / ABS_Y 2179 E: 1.109994 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +746ms E: 1.113964 0003 0000 2838 # EV_ABS / ABS_X 2838 E: 1.113964 0003 0001 2171 # EV_ABS / ABS_Y 2171 E: 1.113964 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +4ms E: 1.119993 0003 0001 2167 # EV_ABS / ABS_Y 2167 E: 1.119993 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 1.125961 0003 0000 2837 # EV_ABS / ABS_X 2837 E: 1.125961 0003 0001 2163 # EV_ABS / ABS_Y 2163 E: 1.125961 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 1.131963 0003 0001 2160 # EV_ABS / ABS_Y 2160 E: 1.131963 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 1.135961 0003 0000 2836 # EV_ABS / ABS_X 2836 E: 1.135961 0003 0001 2157 # EV_ABS / ABS_Y 2157 E: 1.135961 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +4ms E: 1.143965 0003 0001 2156 # EV_ABS / ABS_Y 2156 E: 1.143965 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 1.151975 0003 0000 2833 # EV_ABS / ABS_X 2833 E: 1.151975 0003 0001 2154 # EV_ABS / ABS_Y 2154 E: 1.151975 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 1.159961 0003 0000 2830 # EV_ABS / ABS_X 2830 E: 1.159961 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 1.167979 0003 0000 2827 # EV_ABS / ABS_X 2827 E: 1.167979 0003 0001 2156 # EV_ABS / ABS_Y 2156 E: 1.167979 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 1.183964 0003 0000 2824 # EV_ABS / ABS_X 2824 E: 1.183964 0003 0001 2157 # EV_ABS / ABS_Y 2157 E: 1.183964 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +16ms E: 1.204576 0003 0000 2822 # EV_ABS / ABS_X 2822 E: 1.204576 0003 0001 2154 # EV_ABS / ABS_Y 2154 E: 1.204576 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +21ms E: 1.217975 0003 0000 2820 # EV_ABS / ABS_X 2820 E: 1.217975 0003 0001 2151 # EV_ABS / ABS_Y 2151 E: 1.217975 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +13ms E: 1.233965 0003 0000 2819 # EV_ABS / ABS_X 2819 E: 1.233965 0003 0001 2148 # EV_ABS / ABS_Y 2148 E: 1.233965 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +16ms E: 1.252581 0003 0000 2817 # EV_ABS / ABS_X 2817 E: 1.252581 0003 0001 2147 # EV_ABS / ABS_Y 2147 E: 1.252581 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +19ms E: 1.277961 0003 0000 2815 # EV_ABS / ABS_X 2815 E: 1.277961 0003 0001 2146 # EV_ABS / ABS_Y 2146 E: 1.277961 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +25ms E: 1.309959 0003 0000 2814 # EV_ABS / ABS_X 2814 E: 1.309959 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +32ms E: 1.342000 0003 0000 2813 # EV_ABS / ABS_X 2813 E: 1.342000 0003 0001 2149 # EV_ABS / ABS_Y 2149 E: 1.342000 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +33ms E: 1.373953 0003 0000 2812 # EV_ABS / ABS_X 2812 E: 1.373953 0003 0001 2150 # EV_ABS / ABS_Y 2150 E: 1.373953 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +31ms E: 1.437948 0001 014a 0000 # EV_KEY / BTN_TOUCH 0 E: 1.437948 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +64ms E: 1.949968 0001 014a 0001 # EV_KEY / BTN_TOUCH 1 E: 1.949968 0003 0000 1086 # EV_ABS / ABS_X 1086 E: 1.949968 0003 0001 2441 # EV_ABS / ABS_Y 2441 E: 1.949968 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +512ms E: 1.955954 0003 0000 1087 # EV_ABS / ABS_X 1087 E: 1.955954 0003 0001 2443 # EV_ABS / ABS_Y 2443 E: 1.955954 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 1.959952 0003 0000 1091 # EV_ABS / ABS_X 1091 E: 1.959952 0003 0001 2433 # EV_ABS / ABS_Y 2433 E: 1.959952 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +4ms E: 1.965946 0003 0000 1096 # EV_ABS / ABS_X 1096 E: 1.965946 0003 0001 2427 # EV_ABS / ABS_Y 2427 E: 1.965946 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 1.971949 0003 0000 1099 # EV_ABS / ABS_X 1099 E: 1.971949 0003 0001 2417 # EV_ABS / ABS_Y 2417 E: 1.971949 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 1.975950 0003 0000 1101 # EV_ABS / ABS_X 1101 E: 1.975950 0003 0001 2406 # EV_ABS / ABS_Y 2406 E: 1.975950 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +4ms E: 1.981945 0003 0001 2396 # EV_ABS / ABS_Y 2396 E: 1.981945 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 1.987943 0003 0001 2389 # EV_ABS / ABS_Y 2389 E: 1.987943 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 1.998598 0003 0000 1102 # EV_ABS / ABS_X 1102 E: 1.998598 0003 0001 2383 # EV_ABS / ABS_Y 2383 E: 1.998598 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +11ms E: 1.999946 0003 0001 2376 # EV_ABS / ABS_Y 2376 E: 1.999946 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +1ms E: 2.005946 0003 0001 2373 # EV_ABS / ABS_Y 2373 E: 2.005946 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 2.013950 0003 0000 1103 # EV_ABS / ABS_X 1103 E: 2.013950 0003 0001 2370 # EV_ABS / ABS_Y 2370 E: 2.013950 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 2.021950 0003 0001 2366 # EV_ABS / ABS_Y 2366 E: 2.021950 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 2.037948 0003 0001 2363 # EV_ABS / ABS_Y 2363 E: 2.037948 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +16ms E: 2.053955 0003 0000 1102 # EV_ABS / ABS_X 1102 E: 2.053955 0003 0001 2359 # EV_ABS / ABS_Y 2359 E: 2.053955 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +16ms E: 2.069948 0003 0000 1100 # EV_ABS / ABS_X 1100 E: 2.069948 0003 0001 2355 # EV_ABS / ABS_Y 2355 E: 2.069948 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +16ms E: 2.091578 0003 0000 1099 # EV_ABS / ABS_X 1099 E: 2.091578 0003 0001 2352 # EV_ABS / ABS_Y 2352 E: 2.091578 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +22ms E: 2.115940 0003 0000 1098 # EV_ABS / ABS_X 1098 E: 2.115940 0003 0001 2350 # EV_ABS / ABS_Y 2350 E: 2.115940 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +24ms E: 2.147938 0003 0000 1097 # EV_ABS / ABS_X 1097 E: 2.147938 0003 0001 2347 # EV_ABS / ABS_Y 2347 E: 2.147938 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +32ms E: 2.179951 0001 014a 0000 # EV_KEY / BTN_TOUCH 0 E: 2.179951 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +32ms ^Croot@freebsd # [ 160.914] (II) config/udev: Adding input device eGalax Inc. USB TouchController Tablet (/dev/input/event7) [ 160.914] (**) eGalax Inc. USB TouchController Tablet: Applying InputClass "evdev touchscreen catchall" [ 160.914] (**) eGalax Inc. USB TouchController Tablet: Applying InputClass "libinput touchscreen catchall" [ 160.914] (II) Using input driver 'libinput' for 'eGalax Inc. USB TouchController Tablet' [ 160.914] (**) eGalax Inc. USB TouchController Tablet: always reports core events [ 160.914] (**) Option "Device" "/dev/input/event7" [ 160.914] (**) Option "_source" "server/udev" [ 160.917] (II) event7 - eGalax Inc. USB TouchController Tablet: is tagged by udev as: Touchscreen [ 160.918] (II) event7 - eGalax Inc. USB TouchController Tablet: device is a touch device [ 160.919] (II) event7 - eGalax Inc. USB TouchController Tablet: device removed [ 160.929] (**) Option "config_info" "udev:/dev/input/event7" [ 160.929] (II) XINPUT: Adding extended input device "eGalax Inc. USB TouchController Tablet" (type: TOUCHSCREEN, id 13) [ 160.929] (**) Option "AccelerationScheme" "none" [ 160.929] (**) eGalax Inc. USB TouchController Tablet: (accel) selected scheme none/0 [ 160.929] (**) eGalax Inc. USB TouchController Tablet: (accel) acceleration factor: 2.000 [ 160.929] (**) eGalax Inc. USB TouchController Tablet: (accel) acceleration threshold: 4 [ 160.933] (II) event7 - eGalax Inc. USB TouchController Tablet: is tagged by udev as: Touchscreen [ 160.934] (II) event7 - eGalax Inc. USB TouchController Tablet: device is a touch device [ 160.935] (II) config/udev: Adding input device eGalax Inc. USB TouchController Pen (/dev/input/event8) [ 160.935] (**) eGalax Inc. USB TouchController Pen: Applying InputClass "evdev tablet catchall" [ 160.935] (**) eGalax Inc. USB TouchController Pen: Applying InputClass "libinput tablet catchall" [ 160.935] (II) Using input driver 'libinput' for 'eGalax Inc. USB TouchController Pen' [ 160.935] (**) eGalax Inc. USB TouchController Pen: always reports core events [ 160.935] (**) Option "Device" "/dev/input/event8" [ 160.935] (**) Option "_source" "server/udev" [ 160.938] (II) event8 - eGalax Inc. USB TouchController Pen: is tagged by udev as: Tablet [ 161.110] (EE) event8 - eGalax Inc. USB TouchController Pen: libinput bug: missing tablet capabilities: btn-stylus resolution. Ignoring this device. [ 161.110] (II) event8 - eGalax Inc. USB TouchController Pen: device is a tablet [ 161.110] (II) event8 - failed to create input device '/dev/input/event8'. [ 161.110] (EE) libinput: eGalax Inc. USB TouchController Pen: Failed to create a device for /dev/input/event8 [ 161.110] (EE) PreInit returned 2 for "eGalax Inc. USB TouchController Pen" [ 161.110] (II) UnloadModule: "libinput" One of the 2014 screens that was working with the other patches still works with this patch on top.