Dorian Stoll
Dorian Stoll
Patch for not sending `SET_MODE` (untested): ```diff From af13ea8a753cbe3f4e366a8a927c5f1892360843 Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Wed, 3 Jun 2020 15:41:15 +0200 Subject: [PATCH] no set-mode --- receiver.c...
My earlier experiments with sending HID GET_FEATURE reports using host2me feedback: https://gist.github.com/StollD/89f1c8d094c41e6ab5e3bbbe0dd0335b Raw HID requests using host2me (aka. hid2me) feedback from the old Intel driver: https://github.com/ipts-linux-org/ipts-linux-new/blob/master/drivers/misc/ipts/ipts-hid.c#L221
Nice! We want to figure out the initialization sequence that the new IPTS uses, so we need to look for that. It will be encapsulated by an unknown amount of...
Alright, there are some interesting things. ----- https://gist.github.com/StollD/e2fa122521bef3241782ef827285d998#file-trace-001-L3049-L3053 This is the command that sets the mode of the IPTS hardware. The parameters are all zeros, which, on the old IPTS,...
> @StollD I can get the same trace from gen6 (I believe) device (surface book 2) if it helps That would be great actually! I was planning to research how...
Out of curiosity could you post the dmesg? Maybe I can find some clue in there. If simply changing the parameter for `SET_MODE` doesn't work, I think the next step...
> I've also tried to record another very short session trace on qemu, touching device only with pen, that `0x10` are still there, exactly 2 :( Well, its part of...
Ok. Maybe the parameter has actually lost all its meaning. Btw, I guess I know why the feedback that was sent looks weird to me. On linux we often had...
I wrote a patch that sends the same `SET_POLICIES` command that is being sent in your trace. It seems to work fine on SB2. I would be curious what would...
Damm. I had really hoped that would work. The other new command (the 0xf one) seems to contain a memory address, so sending that ourselves might not be that simple....