From nobody Fri Sep 10 00:56:28 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 5883117CB3B8 for ; Fri, 10 Sep 2021 00:56:37 +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 4H5HWS46n7z4x5P; Fri, 10 Sep 2021 00:56:36 +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 fac05617; Thu, 9 Sep 2021 19:56:28 -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=8keg2LPPKFVQnHMbCEiMVbPLJu/e5LLXpqsohmXNZKM=; b=XIIwSkv73mfr TppCwpAMCsOFhE5DgL8/N/4fivJdqpiU/lUig15K3EyRv/O3KgTUewetGW0cyCHg eHJTDbuNMTTcvHfyDW3aeqmblxsmd4cg9/voI4ctmoYecnlnr0TxP4tOPavwWfwZ SiSuYa+xHvBUUxFnle0OUEcgu9sFJUQ= Received: from stinger.tntpowerhost.com (localhost [127.0.0.1]) by stinger.tntpowerhost.com (OpenSMTPD) with ESMTPSA id 51d803e9 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 9 Sep 2021 19:56:28 -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: Thu, 09 Sep 2021 19:56:28 -0500 From: Mark Kane To: Vladimir Kondratyev Cc: usb@freebsd.org, hps@selasky.org Subject: Re: eGalax USB touchscreen issues In-Reply-To: <249d00df-9520-c85b-82f7-fab4b2eecdff@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> <2091d52f-e7e8-4304-ffcc-4863f2a7e47f@FreeBSD.org> <461895169e3f985b67aa0c23196611c8@kane.mn> <249d00df-9520-c85b-82f7-fab4b2eecdff@FreeBSD.org> User-Agent: Roundcube Webmail/1.4.6 Message-ID: <150d683543468ba9e7d686e5998abbe8@kane.mn> X-Sender: mark@kane.mn Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4H5HWS46n7z4x5P X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=kane.mn header.s=stinger header.b=XIIwSkv7; 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-09-04 17:49, Vladimir Kondratyev wrote: > For some unknown reasons your touchscreen started to send reports as > absolute mouse rather than touchscreen. > > There is a known bug (really lack of bug2bug compatibility) in current > libudev-devd which brokes absolute mices support in libinput. You may > try to switch to x11-drivers/xf86-input-evdev as input driver or update > libudev-devd to 0.5.0. See > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258266 Updating libudev-devd to 0.5.0 works with all of the touchscreens I have from various years on both amd64 and i386. Switching to xf86-input-evdev also works correctly across all. Thanks again! One more question and some interesting observations below for completeness: 1) With libinput I set TappingDrag Off to disable touchscreen dragging and only allow single click/tap (trying to get the equivalent to egalax vendor driver "SkipClick 0"). The InputClass applied according to X log but touching, holding down, and dragging still drags. The evdev manpage doesn't seem to have a similar option to try. Did I miss something with either libinput or evdev configs, or might there be any known issues here? 2) For the older pre-2014 screens that have the corrupt report descriptor on the amd64 test machine and required setrdesc.c, all of them worked on the i386 test machine with no hidraw report descriptor error and without setrdesc.c. That makes me think the USB transport problem was more with the amd64 box than the screens themselves; the USB controller inside that box and maybe a bug or workaround needed to allow it to fully work like on Linux? It happens on multiple identical machines. If anyone is interested I can provide more info about that, but the old screens are working fine on that hardware with setrdesc.c. 3) I'm not sure if this is a problem since everything is working, but testing the same touchscreen with the same cable on the amd64 and i386 machines they hear their touch events on different inputs. For example, one of the newer 2018 screens that didn't require setrdesc.c anywhere: On the amd64 machine, touch events are here: /dev/input/event9: eGalax Inc. USB TouchController TouchScreen On the i386 machine, touch events are here: /dev/input/event5: eGalax Inc. USB TouchController Tablet Full comparison is below in case it's useful. amd64 machine: test-amd64# usbhid-dump 000:003:001:DESCRIPTOR 1631156991.922803 05 0C 09 01 A1 01 85 01 19 00 2A 3C 02 15 00 26 3C 02 95 01 75 10 81 00 C0 05 01 09 80 A1 01 85 02 19 81 29 83 25 01 75 01 95 03 81 02 95 05 81 01 C0 000:003:000:DESCRIPTOR 1631156991.925821 05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01 95 08 75 01 81 02 95 08 75 01 81 01 05 08 19 01 29 03 95 03 75 01 91 02 95 01 75 05 91 01 05 07 19 00 2A FF 00 15 00 26 FF 00 95 06 75 08 81 00 C0 000:004:000:DESCRIPTOR 1631156991.928454 05 01 09 01 A1 01 85 01 09 01 A1 00 05 09 19 01 29 02 15 00 25 01 95 02 75 01 81 02 95 01 75 06 81 01 05 01 09 30 09 31 16 00 00 26 FF 0F 36 00 00 46 FF 0F 66 00 00 75 10 95 02 81 02 C0 C0 05 0D 09 04 A1 01 85 02 09 20 A1 00 09 42 09 32 15 00 25 01 95 02 75 01 81 02 95 06 75 01 81 03 05 01 09 30 75 10 95 01 A4 55 0D 65 33 36 00 00 46 99 28 16 00 00 26 FF 0F 81 02 09 31 16 00 00 26 FF 0F 36 00 00 46 AF 19 81 02 B4 C0 C0 06 00 FF 09 01 A1 01 09 01 15 00 26 FF 00 85 03 75 08 95 3F 81 02 06 00 FF 09 01 15 00 26 FF 00 75 08 95 07 91 02 C0 05 0D 09 04 A1 01 85 04 09 22 A1 00 09 42 15 00 25 01 75 01 95 01 81 02 09 32 15 00 25 01 81 02 09 51 75 05 95 01 16 00 00 26 10 00 81 02 09 47 75 01 95 01 15 00 25 01 81 02 05 01 09 30 75 10 95 01 55 0D 65 33 35 00 46 60 17 26 FF 0F 81 02 09 31 75 10 95 01 55 0D 65 33 35 00 46 26 0E 26 FF 0F 81 02 05 0D 09 55 25 08 75 08 95 01 B1 02 C0 06 00 FF 09 C5 85 07 15 00 26 FF 00 75 08 96 00 01 B1 02 C0 05 0D 09 0E A1 01 85 05 09 22 A1 00 09 52 09 53 15 00 25 0A 75 08 95 02 B1 02 C0 C0 test-amd64# 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 /dev/input/event9: eGalax Inc. USB TouchController TouchScreen Select the device event number [0-9]: 7 # EVEMU 1.3 # Kernel: 13.0-RELEASE-p4 # 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 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 0 # Event code 1 (ABS_Y) # Value 0 # Min 0 # Max 4095 # 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 0 4095 0 0 0 A: 01 0 4095 0 0 0 ################################ # Waiting for events # ################################ (no events) ^C test-amd64# 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 /dev/input/event9: eGalax Inc. USB TouchController TouchScreen Select the device event number [0-9]: 8 # EVEMU 1.3 # Kernel: 13.0-RELEASE-p4 # Input device name: "eGalax Inc. USB TouchController Pen" # Input device ID: bus 0x03 vendor 0xeef product 0x01 version 0x100 # Size in mm: 273x170 # 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 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 15 # Event code 1 (ABS_Y) # Value 0 # Min 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 24 # 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 0 4095 0 0 15 A: 01 0 4095 0 0 24 ################################ # Waiting for events # ################################ (no events) ^C test-amd64# 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 /dev/input/event9: eGalax Inc. USB TouchController TouchScreen Select the device event number [0-9]: 9 # EVEMU 1.3 # Kernel: 13.0-RELEASE-p4 # Input device name: "eGalax Inc. USB TouchController TouchScreen" # Input device ID: bus 0x03 vendor 0xeef product 0x01 version 0x100 # Size in mm: 157x93 # 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 330 (BTN_TOUCH) # Event type 3 (EV_ABS) # Event code 0 (ABS_X) # Value 0 # Min 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 26 # Event code 1 (ABS_Y) # Value 0 # Min 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 44 # Event code 47 (ABS_MT_SLOT) # Value 0 # Min 0 # Max 0 # Fuzz 0 # Flat 0 # Resolution 0 # Event code 53 (ABS_MT_POSITION_X) # Value 0 # Min 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 26 # Event code 54 (ABS_MT_POSITION_Y) # Value 0 # Min 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 44 # Event code 57 (ABS_MT_TRACKING_ID) # Value 0 # Min 0 # Max 16 # Fuzz 0 # Flat 0 # Resolution 0 # Event code 59 (ABS_MT_DISTANCE) # Value 0 # Min 0 # Max 1 # Fuzz 0 # Flat 0 # Resolution 0 # Properties: # Property type 1 (INPUT_PROP_DIRECT) N: eGalax Inc. USB TouchController TouchScreen 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 00 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 80 60 0a 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 0 4095 0 0 26 A: 01 0 4095 0 0 44 A: 2f 0 0 0 0 0 A: 35 0 4095 0 0 26 A: 36 0 4095 0 0 44 A: 39 0 16 0 0 0 A: 3b 0 1 0 0 0 ################################ # Waiting for events # ################################ E: 0.000001 0003 0035 2684 # EV_ABS / ABS_MT_POSITION_X 2684 E: 0.000001 0003 0036 2776 # EV_ABS / ABS_MT_POSITION_Y 2776 E: 0.000001 0003 0039 0000 # EV_ABS / ABS_MT_TRACKING_ID 0 E: 0.000001 0001 014a 0001 # EV_KEY / BTN_TOUCH 1 E: 0.000001 0003 0000 2684 # EV_ABS / ABS_X 2684 E: 0.000001 0003 0001 2776 # EV_ABS / ABS_Y 2776 E: 0.000001 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +0ms E: 0.005965 0003 0035 2682 # EV_ABS / ABS_MT_POSITION_X 2682 E: 0.005965 0003 0036 2774 # EV_ABS / ABS_MT_POSITION_Y 2774 E: 0.005965 0003 0000 2682 # EV_ABS / ABS_X 2682 E: 0.005965 0003 0001 2774 # EV_ABS / ABS_Y 2774 E: 0.005965 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +5ms E: 0.011960 0003 0035 2678 # EV_ABS / ABS_MT_POSITION_X 2678 E: 0.011960 0003 0036 2766 # EV_ABS / ABS_MT_POSITION_Y 2766 E: 0.011960 0003 0000 2678 # EV_ABS / ABS_X 2678 E: 0.011960 0003 0001 2766 # EV_ABS / ABS_Y 2766 E: 0.011960 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.019979 0003 0035 2674 # EV_ABS / ABS_MT_POSITION_X 2674 E: 0.019979 0003 0036 2754 # EV_ABS / ABS_MT_POSITION_Y 2754 E: 0.019979 0003 0000 2674 # EV_ABS / ABS_X 2674 E: 0.019979 0003 0001 2754 # EV_ABS / ABS_Y 2754 E: 0.019979 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 0.025980 0003 0035 2670 # EV_ABS / ABS_MT_POSITION_X 2670 E: 0.025980 0003 0036 2742 # EV_ABS / ABS_MT_POSITION_Y 2742 E: 0.025980 0003 0000 2670 # EV_ABS / ABS_X 2670 E: 0.025980 0003 0001 2742 # EV_ABS / ABS_Y 2742 E: 0.025980 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.031959 0003 0035 2666 # EV_ABS / ABS_MT_POSITION_X 2666 E: 0.031959 0003 0036 2732 # EV_ABS / ABS_MT_POSITION_Y 2732 E: 0.031959 0003 0000 2666 # EV_ABS / ABS_X 2666 E: 0.031959 0003 0001 2732 # EV_ABS / ABS_Y 2732 E: 0.031959 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.037963 0003 0035 2664 # EV_ABS / ABS_MT_POSITION_X 2664 E: 0.037963 0003 0036 2722 # EV_ABS / ABS_MT_POSITION_Y 2722 E: 0.037963 0003 0000 2664 # EV_ABS / ABS_X 2664 E: 0.037963 0003 0001 2722 # EV_ABS / ABS_Y 2722 E: 0.037963 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.043962 0003 0036 2714 # EV_ABS / ABS_MT_POSITION_Y 2714 E: 0.043962 0003 0001 2714 # EV_ABS / ABS_Y 2714 E: 0.043962 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.049963 0003 0036 2710 # EV_ABS / ABS_MT_POSITION_Y 2710 E: 0.049963 0003 0001 2710 # EV_ABS / ABS_Y 2710 E: 0.049963 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.055961 0003 0036 2706 # EV_ABS / ABS_MT_POSITION_Y 2706 E: 0.055961 0003 0001 2706 # EV_ABS / ABS_Y 2706 E: 0.055961 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.061961 0003 0036 2702 # EV_ABS / ABS_MT_POSITION_Y 2702 E: 0.061961 0003 0001 2702 # EV_ABS / ABS_Y 2702 E: 0.061961 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.069978 0003 0036 2700 # EV_ABS / ABS_MT_POSITION_Y 2700 E: 0.069978 0003 0001 2700 # EV_ABS / ABS_Y 2700 E: 0.069978 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 0.075962 0003 0036 2698 # EV_ABS / ABS_MT_POSITION_Y 2698 E: 0.075962 0003 0001 2698 # EV_ABS / ABS_Y 2698 E: 0.075962 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.105942 0003 0036 2700 # EV_ABS / ABS_MT_POSITION_Y 2700 E: 0.105942 0003 0001 2700 # EV_ABS / ABS_Y 2700 E: 0.105942 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +30ms E: 0.111958 0003 0036 2702 # EV_ABS / ABS_MT_POSITION_Y 2702 E: 0.111958 0003 0001 2702 # EV_ABS / ABS_Y 2702 E: 0.111958 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.119970 0003 0036 2704 # EV_ABS / ABS_MT_POSITION_Y 2704 E: 0.119970 0003 0001 2704 # EV_ABS / ABS_Y 2704 E: 0.119970 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 0.125958 0003 0036 2706 # EV_ABS / ABS_MT_POSITION_Y 2706 E: 0.125958 0003 0001 2706 # EV_ABS / ABS_Y 2706 ^Ctest-amd64# ============================================================================== same screen, i386 machine: test-i386# usbhid-dump 000:002:000:DESCRIPTOR 1631157313.327031 05 01 09 01 A1 01 85 01 09 01 A1 00 05 09 19 01 29 02 15 00 25 01 95 02 75 01 81 02 95 01 75 06 81 01 05 01 09 30 09 31 16 00 00 26 FF 0F 36 00 00 46 FF 0F 66 00 00 75 10 95 02 81 02 C0 C0 05 0D 09 04 A1 01 85 02 09 20 A1 00 09 42 09 32 15 00 25 01 95 02 75 01 81 02 95 06 75 01 81 03 05 01 09 30 75 10 95 01 A4 55 0D 65 33 36 00 00 46 99 28 16 00 00 26 FF 0F 81 02 09 31 16 00 00 26 FF 0F 36 00 00 46 AF 19 81 02 B4 C0 C0 06 00 FF 09 01 A1 01 09 01 15 00 26 FF 00 85 03 75 08 95 3F 81 02 06 00 FF 09 01 15 00 26 FF 00 75 08 95 07 91 02 C0 05 0D 09 04 A1 01 85 04 09 22 A1 00 09 42 15 00 25 01 75 01 95 01 81 02 09 32 15 00 25 01 81 02 09 51 75 05 95 01 16 00 00 26 10 00 81 02 09 47 75 01 95 01 15 00 25 01 81 02 05 01 09 30 75 10 95 01 55 0D 65 33 35 00 46 60 17 26 FF 0F 81 02 09 31 75 10 95 01 55 0D 65 33 35 00 46 26 0E 26 FF 0F 81 02 05 0D 09 55 25 08 75 08 95 01 B1 02 C0 06 00 FF 09 C5 85 07 15 00 26 FF 00 75 08 96 00 01 B1 02 C0 05 0D 09 0E A1 01 85 05 09 22 A1 00 09 52 09 53 15 00 25 0A 75 08 95 02 B1 02 C0 C0 000:003:001:DESCRIPTOR 1631157313.396992 05 0C 09 01 A1 01 85 01 19 00 2A 3C 02 15 00 26 3C 02 95 01 75 10 81 00 C0 05 01 09 80 A1 01 85 02 19 81 29 83 25 01 75 01 95 03 81 02 95 05 81 01 C0 000:003:000:DESCRIPTOR 1631157313.417003 05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01 95 08 75 01 81 02 95 08 75 01 81 01 05 08 19 01 29 03 95 03 75 01 91 02 95 01 75 05 91 01 05 07 19 00 2A FF 00 15 00 26 FF 00 95 06 75 08 81 00 C0 test-i386# evemu-record Available devices: /dev/input/event0: System mouse /dev/input/event1: System keyboard multiplexer /dev/input/event2: Power Button /dev/input/event3: AT keyboard /dev/input/event4: Lite-On Technology Corp. USB Multimedia Keyboard, class 0/0, rev 1.10/1.09, add /dev/input/event5: eGalax Inc. USB TouchController Tablet /dev/input/event6: eGalax Inc. USB TouchController Pen /dev/input/event7: eGalax Inc. USB TouchController TouchScreen /dev/input/event8: Lite-On Technology Corp. USB Multimedia Keyboard Consumer Control /dev/input/event9: Lite-On Technology Corp. USB Multimedia Keyboard System Control Select the device event number [0-9]: 5 # EVEMU 1.3 # Kernel: 13.0-RELEASE-p4 # 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 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 0 # Event code 1 (ABS_Y) # Value 0 # Min 0 # Max 4095 # 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 0 4095 0 0 0 A: 01 0 4095 0 0 0 ################################ # Waiting for events # ################################ E: 0.000001 0003 0000 2172 # EV_ABS / ABS_X 2172 E: 0.000001 0003 0001 2104 # EV_ABS / ABS_Y 2104 E: 0.000001 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +0ms E: 0.001989 0001 0110 0001 # EV_KEY / BTN_LEFT 1 E: 0.001989 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +1ms E: 0.007987 0003 0000 2170 # EV_ABS / ABS_X 2170 E: 0.007987 0003 0001 2106 # EV_ABS / ABS_Y 2106 E: 0.007987 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.013983 0003 0000 2168 # EV_ABS / ABS_X 2168 E: 0.013983 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.019985 0003 0000 2166 # EV_ABS / ABS_X 2166 E: 0.019985 0003 0001 2104 # EV_ABS / ABS_Y 2104 E: 0.019985 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.025987 0003 0001 2102 # EV_ABS / ABS_Y 2102 E: 0.025987 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.035988 0003 0001 2098 # EV_ABS / ABS_Y 2098 E: 0.035988 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +10ms E: 0.041996 0003 0001 2096 # EV_ABS / ABS_Y 2096 E: 0.041996 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.049991 0003 0001 2094 # EV_ABS / ABS_Y 2094 E: 0.049991 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +8ms E: 0.055991 0003 0001 2092 # EV_ABS / ABS_Y 2092 E: 0.055991 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.061988 0003 0001 2090 # EV_ABS / ABS_Y 2090 E: 0.061988 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +6ms E: 0.094002 0003 0001 2092 # EV_ABS / ABS_Y 2092 E: 0.094002 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +33ms E: 0.099995 0003 0001 2094 # EV_ABS / ABS_Y 2094 E: 0.099995 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +5ms E: 0.111990 0003 0000 2168 # EV_ABS / ABS_X 2168 E: 0.111990 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +12ms E: 0.125993 0003 0000 2170 # EV_ABS / ABS_X 2170 E: 0.125993 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +14ms ^Ctest-i386# evemu-record Available devices: /dev/input/event0: System mouse /dev/input/event1: System keyboard multiplexer /dev/input/event2: Power Button /dev/input/event3: AT keyboard /dev/input/event4: Lite-On Technology Corp. USB Multimedia Keyboard, class 0/0, rev 1.10/1.09, add /dev/input/event5: eGalax Inc. USB TouchController Tablet /dev/input/event6: eGalax Inc. USB TouchController Pen /dev/input/event7: eGalax Inc. USB TouchController TouchScreen /dev/input/event8: Lite-On Technology Corp. USB Multimedia Keyboard Consumer Control /dev/input/event9: Lite-On Technology Corp. USB Multimedia Keyboard System Control Select the device event number [0-9]: 6 # EVEMU 1.3 # Kernel: 13.0-RELEASE-p4 # Input device name: "eGalax Inc. USB TouchController Pen" # Input device ID: bus 0x03 vendor 0xeef product 0x01 version 0x100 # Size in mm: 273x170 # 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 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 15 # Event code 1 (ABS_Y) # Value 0 # Min 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 24 # 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 0 4095 0 0 15 A: 01 0 4095 0 0 24 ################################ # Waiting for events # ################################ (no events) ^C test-i386# evemu-record Available devices: /dev/input/event0: System mouse /dev/input/event1: System keyboard multiplexer /dev/input/event2: Power Button /dev/input/event3: AT keyboard /dev/input/event4: Lite-On Technology Corp. USB Multimedia Keyboard, class 0/0, rev 1.10/1.09, add /dev/input/event5: eGalax Inc. USB TouchController Tablet /dev/input/event6: eGalax Inc. USB TouchController Pen /dev/input/event7: eGalax Inc. USB TouchController TouchScreen /dev/input/event8: Lite-On Technology Corp. USB Multimedia Keyboard Consumer Control /dev/input/event9: Lite-On Technology Corp. USB Multimedia Keyboard System Control Select the device event number [0-9]: 7 # EVEMU 1.3 # Kernel: 13.0-RELEASE-p4 # Input device name: "eGalax Inc. USB TouchController TouchScreen" # Input device ID: bus 0x03 vendor 0xeef product 0x01 version 0x100 # Size in mm: 157x93 # 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 330 (BTN_TOUCH) # Event type 3 (EV_ABS) # Event code 0 (ABS_X) # Value 0 # Min 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 26 # Event code 1 (ABS_Y) # Value 0 # Min 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 44 # Event code 47 (ABS_MT_SLOT) # Value 0 # Min 0 # Max 0 # Fuzz 0 # Flat 0 # Resolution 0 # Event code 53 (ABS_MT_POSITION_X) # Value 0 # Min 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 26 # Event code 54 (ABS_MT_POSITION_Y) # Value 0 # Min 0 # Max 4095 # Fuzz 0 # Flat 0 # Resolution 44 # Event code 57 (ABS_MT_TRACKING_ID) # Value 0 # Min 0 # Max 16 # Fuzz 0 # Flat 0 # Resolution 0 # Event code 59 (ABS_MT_DISTANCE) # Value 0 # Min 0 # Max 1 # Fuzz 0 # Flat 0 # Resolution 0 # Properties: # Property type 1 (INPUT_PROP_DIRECT) N: eGalax Inc. USB TouchController TouchScreen 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 00 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 80 60 0a 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 0 4095 0 0 26 A: 01 0 4095 0 0 44 A: 2f 0 0 0 0 0 A: 35 0 4095 0 0 26 A: 36 0 4095 0 0 44 A: 39 0 16 0 0 0 A: 3b 0 1 0 0 0 ################################ # Waiting for events # ################################ (no events) ^C test-i386#