wulf7 / iichid

Generic HID layer for FreeBSD. Including I2C and USB backends.
BSD 2-Clause "Simplified" License
45 stars 6 forks source link

c300s TERRA i2c Designware ELAN #63

Closed mattdrepo closed 2 years ago

mattdrepo commented 3 years ago

Hi there,

Quite confused as to how to approach for this old Chromebook on FREEBSD-13.0-STABLE

I don't get any pointer when starting X. Could someone give me a few steps as to how to fix a clean install.

My issues are that I can't get any of the guides mentioned here to work and I am confused as to how to approach things now and I dont want to try older guides due to the depreciation of moused, nor go down the route of synaptics. I am also confused as to what to put in boot and rc.

Sorry to be a pain, everything else about this system seems to be workable or manageable. Thank you to anyone willing to help!

wulf7 commented 2 years ago

I going to make a patch after getting some spare time at the beginning of new year

mattdrepo commented 2 years ago

Thank you :)

wulf7 commented 2 years ago

I created driver for 14-CURRENT called ietp. It should be applicable to 13-STABLE too. Patch is located here: https://people.freebsd.org/~wulf/ietp.patch It is not tested though.

mattdrepo commented 2 years ago

Couple of quick questions:

Do i do the same things as before regarding rc.conf and could you explain how to use this patch file (i previously manually applied the edits). Thanks again and happy new year.

wulf7 commented 2 years ago

Do i do the same things as before regarding rc.conf

Yes, keep all the changes you did to /boot/loader.conf and kernel config, than take vanilla system sources and do

# cd /usr/src
# patch -p1 < /path/to/ietp.patch

than check that it is applied cleanly and rebuild kernel. Than reboot and post text of kernel panic which is most probably will happen during a boot. I am sure that there are bugs in driver :-) You may apply very first patch from this thread to get ig4.ko loaded automatically on boot, but alternatively you can load it with any other method.

Happy new year!

wulf7 commented 2 years ago

I made small bugfix and updated patch on old place. If you have applied old patch already, than you can just apply this small patch on top of old one.

--- sys/dev/hid/ietp.c
+++ sys/dev/hid/ietp.c
@@ -142,7 +142,7 @@ static int      ietp_iic_write_reg(device_t, uint16_t, uint16_t);
 static int     ietp_iic_set_absolute_mode(device_t, bool);

 #define    IETP_IIC_DEV(pnp) \
-   { HID_TLC(0xff00, 0x0001), HID_BUS(BUS_I2C), HID_PNP(pnp) }
+    { HID_TLC(HUP_GENERIC_DESKTOP, HUG_MOUSE), HID_BUS(BUS_I2C), HID_PNP(pnp) }

 static const struct hid_device_id ietp_iic_devs[] = {
    IETP_IIC_DEV("ELAN0000"),
mattdrepo commented 2 years ago

no I haven't as of yet. I will have to back up this machine again and have another go. Will update shortly as to the progress.

Is the link to the patch now including this bugfix?

wulf7 commented 2 years ago

Yes, patch under the link includes bugfix now.

mattdrepo commented 2 years ago

Hi there.

On enabling your patch I cannot log in after a reboot. Only the enter key works

mattdrepo commented 2 years ago

hmm might be my error by the looks of it - got an unterminated quoted string error on the following reboot - must of made a mistake. I cannot log in.

mattdrepo commented 2 years ago

how do i make my filesystem writeable when making an error on rc.conf and having to log in as root? (seems i forgot to encapsulate an entry, got left with a broken log in, had to log in as root and realised my keyboard was defaulting to US)

mattdrepo commented 2 years ago

zfs set readonly=off zroot

just installing a window manager to see what happens when i get to a desktop

mattdrepo commented 2 years ago

ig4iic0: iomem 0x91323000-0x91323fff irq 36 on acpi0 iicbus0: <Philips I2C bus (ACPI-hinted)> on ig4iic0 iicbus0: at addr 0x1a ig4iic1: iomem 0x91325000-0x91325fff irq 37 on acpi0 iicbus1: <Philips I2C bus (ACPI-hinted)> on ig4iic1 iicbus1: at addr 0x15

wulf7 commented 2 years ago

What is about iichid, hidbus and ietp? Did they load and run?

mattdrepo commented 2 years ago

building evemu, added these entries as before:

add

ig4_load="YES" iicbus_load="YES" iichid_load="YES" hw.iichid.debug=5

to /boot/loader.conf

scanned dmesg and all that shows is:

ig4iic0: iomem 0x91323000-0x91323fff irq 36 on acpi0 iicbus0: <Philips I2C bus (ACPI-hinted)> on ig4iic0 iicbus0: at addr 0x1a ig4iic1: iomem 0x91325000-0x91325fff irq 37 on acpi0 iicbus1: <Philips I2C bus (ACPI-hinted)> on ig4iic1 iicbus1: at addr 0x15

nothing about iichid, hidbus and ietp

mattdrepo commented 2 years ago

evemu-record doesn't show anything other than my usb mouse and system mouse, which i believe is a dummy. So no loading of the mouse. Hope I have done everything correctly:

pkg install nano git-tiny wget

rm -rf /usr/src/ /usr/src/.[^.] git clone https://git.freebsd.org/src.git --branch stable/13 /usr/src

wget https://people.freebsd.org/~wulf/ietp.patch

cd /usr/src patch -p1 < ~/ietp.patch

make buildkernel make -j2 installkernel

add

ig4_load="YES" iicbus_load="YES" iichid_load="YES" hw.iichid.debug=5

to /boot/loader.conf

reboot.

pkg install xorg i3 i3status i3lock dmenu

sysrc kld_list="i915kms"

pw groupmod video -M $USER

add to .xinitrc

set resolution

xrandr --output default --mode 1366x768

i3

exec i3

reboot

dmesg > dmesg.txt (output shown here)

ig4iic0: iomem 0x91323000-0x91323fff irq 36 on acpi0 iicbus0: <Philips I2C bus (ACPI-hinted)> on ig4iic0 iicbus0: at addr 0x1a ig4iic1: iomem 0x91325000-0x91325fff irq 37 on acpi0 iicbus1: <Philips I2C bus (ACPI-hinted)> on ig4iic1 iicbus1: at addr 0x15

then build evemu from ports, ran evemu-record and no dice.

mattdrepo commented 2 years ago

did you want me to do the other patches as well as this new patch file? Just wondered whether I had interpreted you properly? If so, I didnt do the other patches you asked me to do before this new approach and thus this could be why nothing has happened.

mattdrepo commented 2 years ago

You may apply very first patch from this thread to get ig4.ko loaded automatically on boot, but alternatively you can load it with any other method. - didn'r do this, doh! which patch was it so i can start over?

mattdrepo commented 2 years ago

--- sys/dev/ichiic/ig4_acpi.c +++ sys/dev/ichiic/ig4_acpi.c @@ -193,3 +193,4 @@ static driver_t ig4iic_acpi_driver = { DRIVER_MODULE_ORDERED(ig4iic, acpi, ig4iic_acpi_driver, ig4iic_devclass, 0, 0, SI_ORDER_ANY); MODULE_DEPEND(ig4iic, acpi, 1, 1, 1); +ACPI_PNP_INFO(ig4iic_ids);

wulf7 commented 2 years ago

If you added ig4_load="YES" to /boot/loader.conf only patch under link is needed.

Could you email to me /usr/src/sys/dev/iicbus/iichid.c content to check that you apply the patch right?

wulf7 commented 2 years ago

Me is wulf@FreeBSD.org

mattdrepo commented 2 years ago

ah, sorry. Just got your message. Presently downloading source again and applying the first patch and the later one. So the machine is currently making (slowly) the kernel

wulf7 commented 2 years ago

First patch is required to autoload ig4.ko. If you load it explicitly via /boot/loader.conf it is not needed

mattdrepo commented 2 years ago

sent mail

mattdrepo commented 2 years ago

out of curiosity I continued with applying the first patch, building the kernel and rebooted. Still no response from Xorg, but as the root user, evemu-record reported /dev/input/event4: ELAN0000:43 04F3:0400 Mouse

However no response on the screen when i move over the trackpad or click.

mattdrepo commented 2 years ago

PS I applied the first patch and your patch after.

wulf7 commented 2 years ago

That is better.

what kldstat -n ietp returns?

mattdrepo commented 2 years ago

I am now cloning the source again (thought why not apply the other two patches after?) or is that a bad move?

Can Ctrl C and cancel and do that command if you prefer?

wulf7 commented 2 years ago

2-nd and 3-rd patches are included in people.freebsd.org patch in slightly different form. They can not be applied.

mattdrepo commented 2 years ago

ah OK. I'll quit the clone and doing that and reply in a few seconds

mattdrepo commented 2 years ago

Id Refs Address Size Name 14 1 0xffffffff82f08000 21b8 ietp.ko

wulf7 commented 2 years ago

Try to type kldunload hmt on system console. What is the output?

mattdrepo commented 2 years ago

kldunload: can't find file hmt

wulf7 commented 2 years ago

it should be kldunload hms. Ia am sorry

mattdrepo commented 2 years ago

hms0: detached ietp0: on hidbus0 ietp0: [3214:1840], clickpad

wulf7 commented 2 years ago

Than try evemu-record

mattdrepo commented 2 years ago

yeah that worked, evemu-record registered movements and logging in as my user now registers the mousepad.

mattdrepo commented 2 years ago

Do I need to do anything to keep this set each boot?

mattdrepo commented 2 years ago

Other than entropy issues (and thus having to use a custom FreeBSD installer) this seems to of made this very basic chromebook very useable as a FreeBSD laptop. Thank you. (been consoling myself with copying every Fedora setting I liked and finding the FBSD variant, or taking note of Xorg differences) :-)

mattdrepo commented 2 years ago

so I take it unloading hms is permanent across reboots?

wulf7 commented 2 years ago

Can you post evemu-record output for two finger scrolling gesture?

wulf7 commented 2 years ago

so I take it unloading hms is permanent across reboots?

You may try to add ietp_load="YES" to /boot/loader.conf

I will update the patch to give ietp priority over hms to make things work out of box

mattdrepo commented 2 years ago

remind me how i get the output to a txt file? I thought dmesg picked it up but it didnt?

PS, just tried two finger scroll and it works as standard

mattdrepo commented 2 years ago

evemu-record i cant get the output and cant post

wulf7 commented 2 years ago

Run evemu-record from Xorg session and copy-paste xterm output. I do not need kernel output now

mattdrepo commented 2 years ago

REPORT (1) ---------- +18ms E: 3.034615 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.034615 0003 0035 1641 # EV_ABS / ABS_MT_POSITION_X 1641 E: 3.034615 0003 0036 1125 # EV_ABS / ABS_MT_POSITION_Y 1125 E: 3.034615 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.034615 0003 0035 2146 # EV_ABS / ABS_MT_POSITION_X 2146 E: 3.034615 0003 0036 0914 # EV_ABS / ABS_MT_POSITION_Y 914 E: 3.034615 0003 0000 1641 # EV_ABS / ABS_X 1641 E: 3.034615 0003 0001 1125 # EV_ABS / ABS_Y 1125 E: 3.034615 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.051476 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.051476 0003 0036 1080 # EV_ABS / ABS_MT_POSITION_Y 1080 E: 3.051476 0003 003a 0022 # EV_ABS / ABS_MT_PRESSURE 22 E: 3.051476 0003 0034 0001 # EV_ABS / ABS_MT_ORIENTATION 1 E: 3.051476 0003 0031 0189 # EV_ABS / ABS_MT_TOUCH_MINOR 189 E: 3.051476 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.051476 0003 0035 2154 # EV_ABS / ABS_MT_POSITION_X 2154 E: 3.051476 0003 0036 0876 # EV_ABS / ABS_MT_POSITION_Y 876 E: 3.051476 0003 0001 1080 # EV_ABS / ABS_Y 1080 E: 3.051476 0003 0018 0022 # EV_ABS / ABS_PRESSURE 22 E: 3.051476 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +17ms E: 3.068488 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.068488 0003 0035 1643 # EV_ABS / ABS_MT_POSITION_X 1643 E: 3.068488 0003 0036 1036 # EV_ABS / ABS_MT_POSITION_Y 1036 E: 3.068488 0003 003a 0024 # EV_ABS / ABS_MT_PRESSURE 24 E: 3.068488 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.068488 0003 0035 2156 # EV_ABS / ABS_MT_POSITION_X 2156 E: 3.068488 0003 0036 0838 # EV_ABS / ABS_MT_POSITION_Y 838 E: 3.068488 0003 003a 0029 # EV_ABS / ABS_MT_PRESSURE 29 E: 3.068488 0003 0000 1643 # EV_ABS / ABS_X 1643 E: 3.068488 0003 0001 1036 # EV_ABS / ABS_Y 1036 E: 3.068488 0003 0018 0024 # EV_ABS / ABS_PRESSURE 24 E: 3.068488 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +17ms E: 3.086484 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.086484 0003 0035 1649 # EV_ABS / ABS_MT_POSITION_X 1649 E: 3.086484 0003 0036 1000 # EV_ABS / ABS_MT_POSITION_Y 1000 E: 3.086484 0003 003a 0025 # EV_ABS / ABS_MT_PRESSURE 25 E: 3.086484 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.086484 0003 0036 0801 # EV_ABS / ABS_MT_POSITION_Y 801 E: 3.086484 0003 0034 0000 # EV_ABS / ABS_MT_ORIENTATION 0 E: 3.086484 0003 0031 0252 # EV_ABS / ABS_MT_TOUCH_MINOR 252 E: 3.086484 0003 0000 1649 # EV_ABS / ABS_X 1649 E: 3.086484 0003 0001 1000 # EV_ABS / ABS_Y 1000 E: 3.086484 0003 0018 0025 # EV_ABS / ABS_PRESSURE 25 E: 3.086484 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.104523 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.104523 0003 0035 1648 # EV_ABS / ABS_MT_POSITION_X 1648 E: 3.104523 0003 0036 0973 # EV_ABS / ABS_MT_POSITION_Y 973 E: 3.104523 0003 003a 0024 # EV_ABS / ABS_MT_PRESSURE 24 E: 3.104523 0003 0034 0000 # EV_ABS / ABS_MT_ORIENTATION 0 E: 3.104523 0003 0031 0252 # EV_ABS / ABS_MT_TOUCH_MINOR 252 E: 3.104523 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.104523 0003 0035 2155 # EV_ABS / ABS_MT_POSITION_X 2155 E: 3.104523 0003 0036 0770 # EV_ABS / ABS_MT_POSITION_Y 770 E: 3.104523 0003 003a 0028 # EV_ABS / ABS_MT_PRESSURE 28 E: 3.104523 0003 0000 1648 # EV_ABS / ABS_X 1648 E: 3.104523 0003 0001 0973 # EV_ABS / ABS_Y 973 E: 3.104523 0003 0018 0024 # EV_ABS / ABS_PRESSURE 24 E: 3.104523 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.122518 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.122518 0003 0036 0952 # EV_ABS / ABS_MT_POSITION_Y 952 E: 3.122518 0003 003a 0025 # EV_ABS / ABS_MT_PRESSURE 25 E: 3.122518 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.122518 0003 0036 0743 # EV_ABS / ABS_MT_POSITION_Y 743 E: 3.122518 0003 0034 0001 # EV_ABS / ABS_MT_ORIENTATION 1 E: 3.122518 0003 0031 0189 # EV_ABS / ABS_MT_TOUCH_MINOR 189 E: 3.122518 0003 0001 0952 # EV_ABS / ABS_Y 952 E: 3.122518 0003 0018 0025 # EV_ABS / ABS_PRESSURE 25 E: 3.122518 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.140425 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.140425 0003 0035 1649 # EV_ABS / ABS_MT_POSITION_X 1649 E: 3.140425 0003 0036 0933 # EV_ABS / ABS_MT_POSITION_Y 933 E: 3.140425 0003 003a 0024 # EV_ABS / ABS_MT_PRESSURE 24 E: 3.140425 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.140425 0003 0035 2159 # EV_ABS / ABS_MT_POSITION_X 2159 E: 3.140425 0003 0036 0718 # EV_ABS / ABS_MT_POSITION_Y 718 E: 3.140425 0003 003a 0029 # EV_ABS / ABS_MT_PRESSURE 29 E: 3.140425 0003 0000 1649 # EV_ABS / ABS_X 1649 E: 3.140425 0003 0001 0933 # EV_ABS / ABS_Y 933 E: 3.140425 0003 0018 0024 # EV_ABS / ABS_PRESSURE 24 E: 3.140425 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.157494 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.157494 0003 0035 1645 # EV_ABS / ABS_MT_POSITION_X 1645 E: 3.157494 0003 0036 0902 # EV_ABS / ABS_MT_POSITION_Y 902 E: 3.157494 0003 003a 0025 # EV_ABS / ABS_MT_PRESSURE 25 E: 3.157494 0003 0034 0001 # EV_ABS / ABS_MT_ORIENTATION 1 E: 3.157494 0003 0031 0189 # EV_ABS / ABS_MT_TOUCH_MINOR 189 E: 3.157494 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.157494 0003 0035 2162 # EV_ABS / ABS_MT_POSITION_X 2162 E: 3.157494 0003 0036 0690 # EV_ABS / ABS_MT_POSITION_Y 690 E: 3.157494 0003 0000 1645 # EV_ABS / ABS_X 1645 E: 3.157494 0003 0001 0902 # EV_ABS / ABS_Y 902 E: 3.157494 0003 0018 0025 # EV_ABS / ABS_PRESSURE 25 E: 3.157494 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +17ms E: 3.175590 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.175590 0003 0035 1647 # EV_ABS / ABS_MT_POSITION_X 1647 E: 3.175590 0003 0036 0874 # EV_ABS / ABS_MT_POSITION_Y 874 E: 3.175590 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.175590 0003 0035 2161 # EV_ABS / ABS_MT_POSITION_X 2161 E: 3.175590 0003 0036 0661 # EV_ABS / ABS_MT_POSITION_Y 661 E: 3.175590 0003 0000 1647 # EV_ABS / ABS_X 1647 E: 3.175590 0003 0001 0874 # EV_ABS / ABS_Y 874 E: 3.175590 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.192560 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.192560 0003 0035 1648 # EV_ABS / ABS_MT_POSITION_X 1648 E: 3.192560 0003 0036 0846 # EV_ABS / ABS_MT_POSITION_Y 846 E: 3.192560 0003 003a 0026 # EV_ABS / ABS_MT_PRESSURE 26 E: 3.192560 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.192560 0003 0036 0633 # EV_ABS / ABS_MT_POSITION_Y 633 E: 3.192560 0003 003a 0028 # EV_ABS / ABS_MT_PRESSURE 28 E: 3.192560 0003 0000 1648 # EV_ABS / ABS_X 1648 E: 3.192560 0003 0001 0846 # EV_ABS / ABS_Y 846 E: 3.192560 0003 0018 0026 # EV_ABS / ABS_PRESSURE 26 E: 3.192560 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +17ms E: 3.210588 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.210588 0003 0035 1649 # EV_ABS / ABS_MT_POSITION_X 1649 E: 3.210588 0003 0036 0823 # EV_ABS / ABS_MT_POSITION_Y 823 E: 3.210588 0003 0034 0000 # EV_ABS / ABS_MT_ORIENTATION 0 E: 3.210588 0003 0031 0252 # EV_ABS / ABS_MT_TOUCH_MINOR 252 E: 3.210588 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.210588 0003 0036 0603 # EV_ABS / ABS_MT_POSITION_Y 603 E: 3.210588 0003 003a 0027 # EV_ABS / ABS_MT_PRESSURE 27 E: 3.210588 0003 0034 0000 # EV_ABS / ABS_MT_ORIENTATION 0 E: 3.210588 0003 0031 0252 # EV_ABS / ABS_MT_TOUCH_MINOR 252 E: 3.210588 0003 0000 1649 # EV_ABS / ABS_X 1649 E: 3.210588 0003 0001 0823 # EV_ABS / ABS_Y 823 E: 3.210588 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.228024 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.228024 0003 0036 0800 # EV_ABS / ABS_MT_POSITION_Y 800 E: 3.228024 0003 003a 0025 # EV_ABS / ABS_MT_PRESSURE 25 E: 3.228024 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.228024 0003 0035 2159 # EV_ABS / ABS_MT_POSITION_X 2159 E: 3.228024 0003 0036 0575 # EV_ABS / ABS_MT_POSITION_Y 575 E: 3.228024 0003 003a 0028 # EV_ABS / ABS_MT_PRESSURE 28 E: 3.228024 0003 0034 0001 # EV_ABS / ABS_MT_ORIENTATION 1 E: 3.228024 0003 0031 0189 # EV_ABS / ABS_MT_TOUCH_MINOR 189 E: 3.228024 0003 0001 0800 # EV_ABS / ABS_Y 800 E: 3.228024 0003 0018 0025 # EV_ABS / ABS_PRESSURE 25 E: 3.228024 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.245562 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.245562 0003 0035 1648 # EV_ABS / ABS_MT_POSITION_X 1648 E: 3.245562 0003 0036 0779 # EV_ABS / ABS_MT_POSITION_Y 779 E: 3.245562 0003 003a 0026 # EV_ABS / ABS_MT_PRESSURE 26 E: 3.245562 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.245562 0003 0035 2161 # EV_ABS / ABS_MT_POSITION_X 2161 E: 3.245562 0003 0036 0551 # EV_ABS / ABS_MT_POSITION_Y 551 E: 3.245562 0003 003a 0029 # EV_ABS / ABS_MT_PRESSURE 29 E: 3.245562 0003 0000 1648 # EV_ABS / ABS_X 1648 E: 3.245562 0003 0001 0779 # EV_ABS / ABS_Y 779 E: 3.245562 0003 0018 0026 # EV_ABS / ABS_PRESSURE 26 E: 3.245562 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +17ms E: 3.263532 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.263532 0003 0036 0765 # EV_ABS / ABS_MT_POSITION_Y 765 E: 3.263532 0003 003a 0025 # EV_ABS / ABS_MT_PRESSURE 25 E: 3.263532 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.263532 0003 0035 2162 # EV_ABS / ABS_MT_POSITION_X 2162 E: 3.263532 0003 0036 0532 # EV_ABS / ABS_MT_POSITION_Y 532 E: 3.263532 0003 0001 0765 # EV_ABS / ABS_Y 765 E: 3.263532 0003 0018 0025 # EV_ABS / ABS_PRESSURE 25 E: 3.263532 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.281477 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.281477 0003 0035 1646 # EV_ABS / ABS_MT_POSITION_X 1646 E: 3.281477 0003 0036 0751 # EV_ABS / ABS_MT_POSITION_Y 751 E: 3.281477 0003 003a 0026 # EV_ABS / ABS_MT_PRESSURE 26 E: 3.281477 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.281477 0003 0035 2163 # EV_ABS / ABS_MT_POSITION_X 2163 E: 3.281477 0003 0036 0518 # EV_ABS / ABS_MT_POSITION_Y 518 E: 3.281477 0003 0000 1646 # EV_ABS / ABS_X 1646 E: 3.281477 0003 0001 0751 # EV_ABS / ABS_Y 751 E: 3.281477 0003 0018 0026 # EV_ABS / ABS_PRESSURE 26 E: 3.281477 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.299578 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.299578 0003 0035 1645 # EV_ABS / ABS_MT_POSITION_X 1645 E: 3.299578 0003 0036 0743 # EV_ABS / ABS_MT_POSITION_Y 743 E: 3.299578 0003 003a 0025 # EV_ABS / ABS_MT_PRESSURE 25 E: 3.299578 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.299578 0003 0036 0509 # EV_ABS / ABS_MT_POSITION_Y 509 E: 3.299578 0003 0000 1645 # EV_ABS / ABS_X 1645 E: 3.299578 0003 0001 0743 # EV_ABS / ABS_Y 743 E: 3.299578 0003 0018 0025 # EV_ABS / ABS_PRESSURE 25 E: 3.299578 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.317521 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.317521 0003 0035 1644 # EV_ABS / ABS_MT_POSITION_X 1644 E: 3.317521 0003 0036 0740 # EV_ABS / ABS_MT_POSITION_Y 740 E: 3.317521 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.317521 0003 0036 0504 # EV_ABS / ABS_MT_POSITION_Y 504 E: 3.317521 0003 0000 1644 # EV_ABS / ABS_X 1644 E: 3.317521 0003 0001 0740 # EV_ABS / ABS_Y 740 E: 3.317521 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.334954 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.334954 0003 0036 0739 # EV_ABS / ABS_MT_POSITION_Y 739 E: 3.334954 0003 003a 0024 # EV_ABS / ABS_MT_PRESSURE 24 E: 3.334954 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.334954 0003 0036 0502 # EV_ABS / ABS_MT_POSITION_Y 502 E: 3.334954 0003 003a 0028 # EV_ABS / ABS_MT_PRESSURE 28 E: 3.334954 0003 0001 0739 # EV_ABS / ABS_Y 739 E: 3.334954 0003 0018 0024 # EV_ABS / ABS_PRESSURE 24 E: 3.334954 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +17ms E: 3.351485 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.351485 0003 0036 0738 # EV_ABS / ABS_MT_POSITION_Y 738 E: 3.351485 0003 003a 0022 # EV_ABS / ABS_MT_PRESSURE 22 E: 3.351485 0003 0030 0189 # EV_ABS / ABS_MT_TOUCH_MAJOR 189 E: 3.351485 0003 0031 0189 # EV_ABS / ABS_MT_TOUCH_MINOR 189 E: 3.351485 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.351485 0003 0036 0501 # EV_ABS / ABS_MT_POSITION_Y 501 E: 3.351485 0003 003a 0026 # EV_ABS / ABS_MT_PRESSURE 26 E: 3.351485 0003 0001 0738 # EV_ABS / ABS_Y 738 E: 3.351485 0003 0018 0022 # EV_ABS / ABS_PRESSURE 22 E: 3.351485 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +17ms E: 3.368478 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.368478 0003 0035 1643 # EV_ABS / ABS_MT_POSITION_X 1643 E: 3.368478 0003 003a 0015 # EV_ABS / ABS_MT_PRESSURE 15 E: 3.368478 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.368478 0003 0035 2162 # EV_ABS / ABS_MT_POSITION_X 2162 E: 3.368478 0003 0036 0500 # EV_ABS / ABS_MT_POSITION_Y 500 E: 3.368478 0003 003a 0022 # EV_ABS / ABS_MT_PRESSURE 22 E: 3.368478 0003 0000 1643 # EV_ABS / ABS_X 1643 E: 3.368478 0003 0018 0015 # EV_ABS / ABS_PRESSURE 15 E: 3.368478 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +17ms E: 3.385546 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.385546 0003 0036 0739 # EV_ABS / ABS_MT_POSITION_Y 739 E: 3.385546 0003 003a 0008 # EV_ABS / ABS_MT_PRESSURE 8 E: 3.385546 0003 0034 0001 # EV_ABS / ABS_MT_ORIENTATION 1 E: 3.385546 0003 0031 0126 # EV_ABS / ABS_MT_TOUCH_MINOR 126 E: 3.385546 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.385546 0003 0035 2160 # EV_ABS / ABS_MT_POSITION_X 2160 E: 3.385546 0003 0036 0499 # EV_ABS / ABS_MT_POSITION_Y 499 E: 3.385546 0003 003a 0011 # EV_ABS / ABS_MT_PRESSURE 11 E: 3.385546 0003 0034 0000 # EV_ABS / ABS_MT_ORIENTATION 0 E: 3.385546 0003 0030 0189 # EV_ABS / ABS_MT_TOUCH_MAJOR 189 E: 3.385546 0003 0001 0739 # EV_ABS / ABS_Y 739 E: 3.385546 0003 0018 0008 # EV_ABS / ABS_PRESSURE 8 E: 3.385546 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +17ms E: 3.403471 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.403471 0003 0034 0000 # EV_ABS / ABS_MT_ORIENTATION 0 E: 3.403471 0003 0030 0063 # EV_ABS / ABS_MT_TOUCH_MAJOR 63 E: 3.403471 0003 0031 0063 # EV_ABS / ABS_MT_TOUCH_MINOR 63 E: 3.403471 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.403471 0003 0030 0063 # EV_ABS / ABS_MT_TOUCH_MAJOR 63 E: 3.403471 0003 0031 0063 # EV_ABS / ABS_MT_TOUCH_MINOR 63 E: 3.403471 0003 001c 0000 # EV_ABS / ABS_TOOL_WIDTH 0 E: 3.403471 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +18ms E: 3.420498 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0 E: 3.420498 0003 0039 -001 # EV_ABS / ABS_MT_TRACKING_ID -1 E: 3.420498 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1 E: 3.420498 0003 0039 -001 # EV_ABS / ABS_MT_TRACKING_ID -1 E: 3.420498 0001 014a 0000 # EV_KEY / BTN_TOUCH 0 E: 3.420498 0001 014d 0000 # EV_KEY / BTN_TOOL_DOUBLETAP 0 E: 3.420498 0003 0018 0000 # EV_ABS / ABS_PRESSURE 0 E: 3.420498 0000 0000 0001 # ------------ SYN_REPORT (1) ---------- +17ms

mattdrepo commented 2 years ago

this was making sure i just scrolled down and up and nothing else

mattdrepo commented 2 years ago

your patch will now cover the 4 TERRA codenamed laptops and to my knowledge 2 other laptops by asus meaning 6 machines sharing the same Vendor and Device ID's. Thanks :-)

wulf7 commented 2 years ago

Looks good.

OK, I will update patch in couple of days with hms priority fix and some minor improvements and give you it to test

mattdrepo commented 2 years ago

Thank you for all your time and patience. This will now mean I have a nice low power (low battery consumption) machine to take around with me :-)