[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-09-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Vladimir Kondratyev changed: What|Removed |Added Status|New |Closed Resolution|--

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-09-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #69 from Jason W. Bacon --- Thanks for your hard work on this! -- You are receiving this mail because: You are the assignee for the bug.

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-09-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #68 from commit-h...@freebsd.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=139144a7ae7c72eda955b1fbc5e31f5feb7a403a commit 139144a7ae7c72eda955b1fbc5e31f5feb7a403a Author

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-08-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #67 from commit-h...@freebsd.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8d73071c47ff1f911bdaec6356f37feb4e3b7cb5 commit 8d73071c47ff1f911bdaec6356f37feb4e3b7cb5 Author:

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-05-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Matt Anton changed: What|Removed |Added CC||m...@lv223.org --- Comment #66 from M

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-05-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #40 from Constantin Fürst --- The Touchpad of my MacBook Pro 13" late 2011 is 10,5cm x 7,5cm. If I remember correctly this size is standard for all MBP until 2016. -- You are receiving this mail because: You are the assignee f

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-05-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Constantin Fürst changed: What|Removed |Added CC||constan...@fuersten.info --- Co

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #38 from Vladimir Kondratyev --- Could anyone take a ruler and measure a size of active touch area of his Apple trackpad? It is required by WIP EVDEV-awared moused https://github.com/wulf7/moused -- You are receiving this mai

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Vladimir Kondratyev changed: What|Removed |Added Attachment #223450|0 |1 is obsolete|

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #36 from Vladimir Kondratyev --- (In reply to Vladimir Kondratyev from comment #35) > Also latest patch ... removed .025 sec delay from it to follow Linux/OpenBSD. It looks like we can safely remove hid_get_report() and followin

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #35 from Vladimir Kondratyev --- (In reply to Greg V from comment #33) > Three mistakes in the hidbus one: Hopefully fixed. > But it continues sending events on the hms device as well I added dummy RAW-mode only HID report desc

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Vladimir Kondratyev changed: What|Removed |Added Attachment #223347|0 |1 is obsolete|

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #33 from Greg V --- (In reply to Vladimir Kondratyev from comment #32) Three mistakes in the hidbus one: - forgotten sc->sc_dev = dev - evdev_set_methods needs dev (not sc) as second argument, because that's what hidbus_intr_s

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Vladimir Kondratyev changed: What|Removed |Added Attachment #223229|0 |1 is obsolete|

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #31 from Greg V --- (In reply to Vladimir Kondratyev from comment #30) The number field always matches the calculated value from lengths. But indeed touch_major 0 is key. This fixes that problem: @@ -1109,7 +1109,7 @@ wsp_intr

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #30 from Vladimir Kondratyev --- (In reply to Greg V from comment #29) I see a difference between our and Linux way of getting of number of touches. They calculate it based on packet length while we read it from packet data. -

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #29 from Greg V --- (In reply to Vladimir Kondratyev from comment #28) The log is from wsp, it has "wsp" in the name :) But of course autorel is enabled in my driver too. I guess the matching algorithm keeps matching to the pr

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #28 from Vladimir Kondratyev --- (In reply to Greg V from comment #27) There are no finger release events in your log. Is it produced by my driver? or your? If driver is your, don't forget to add evdev_set_flag(sc->sc_evdev,

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Greg V changed: What|Removed |Added Attachment #223277|text/x-log |text/plain mime type|

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #26 from Greg V --- Created attachment 223276 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223276&action=edit linuxbcm.log Comparing evemu logs to Linux, the only reason I can find for libinput to not like your eve

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #25 from Greg V --- Created attachment 223232 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223232&action=edit wsp HID dump And this is HID. I use https://eleccelerator.com/usbdescreqparser/ to decode usually. Inte

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #24 from Greg V --- Created attachment 223231 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223231&action=edit wsp dump_all_desc Here's the USB stuff -- You are receiving this mail because: You are the assignee fo

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #23 from Jason W. Bacon --- (In reply to Jason W. Bacon from comment #13) Scratch this, typo in my grep command looking for patch failures in the output. So this patch does not apply cleanly on 12.2. -- You are receiving thi

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #22 from Vladimir Kondratyev --- (In reply to Greg V from comment #20) > Yes, it's a working basic hms mouse before switching to raw mode. I need to know is trackpad's report descriptor is usable or not to recognize its interfa

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Vladimir Kondratyev changed: What|Removed |Added Attachment #223223|0 |1 is obsolete|

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #20 from Greg V --- (In reply to Vladimir Kondratyev from comment #19) > Does touchpad interface have a HID report descriptor? Yes, it's a working basic hms mouse before switching to raw mode. There's a comment in wsp explaini

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #19 from Vladimir Kondratyev --- (In reply to Greg V from comment #18) > hmm right now quirks can only exclude a whole device, not just an interface. > That would prevent usbhid from attaching to the keyboard interface. Does tou

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #18 from Greg V --- (In reply to Vladimir Kondratyev from comment #16) > wsp IDS should be blacklisted in usbhid quirk table hmm right now quirks can only exclude a whole device, not just an interface. That would prevent usbhi

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #17 from Vladimir Kondratyev --- (In reply to Jason W. Bacon from comment #13) > Interestingly, this patch applies cleanly to 12.2-RELEASE as well. It wont even compile under 12.2. -- You are receiving this mail because: You

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #16 from Vladimir Kondratyev --- (In reply to Greg V from comment #14) > 1. wasted quite some time trying to "fix" wsp_probe wsp IDS should be blacklisted in usbhid quirk table > 2. the touchpad's evdev only reports events when

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Vladimir Kondratyev changed: What|Removed |Added Attachment #223176|0 |1 is obsolete|

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #14 from Greg V --- (In reply to Vladimir Kondratyev from comment #12) Testing on MacBookPro12,1 (BTW this is the amazing generation that supports both USB and SPI, so I'm trying to do something with SPI as well) 1. wasted qui

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #13 from Jason W. Bacon --- (In reply to Vladimir Kondratyev from comment #12) Interestingly, this patch applies cleanly to 12.2-RELEASE as well. For now, I only applied the patch to a copy of src out of curiosity. I'll try a

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Vladimir Kondratyev changed: What|Removed |Added Attachment #222890|0 |1 is obsolete|

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #11 from Jason W. Bacon --- (In reply to Vladimir Kondratyev from comment #10) > Setting kern.evdev.rcpt_mask to 12, that is what aforementioned patch is > addressing, effectively disables any driver's gesture handling, so you

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-03-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #10 from Vladimir Kondratyev --- (In reply to Jason W. Bacon from comment #9) > So wsp is not usable on on this MacBook with 12.2-RELEASE. Setting kern.evdev.rcpt_mask to 12, that is what aforementioned patch is addressing, ef

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-02-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #9 from Jason W. Bacon --- FYI, I got wsp working, almost. Originally wsp wasn't detecting my touchpad and I thought my old hardware might not be supported. Today I spent a little time on it and discovered that it will recogni

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-02-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #8 from Vladimir Kondratyev --- Created attachment 222890 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222890&action=edit wsp_evdev_support.patch Finally, I imported OpenBSD touch-tracking code and modified wsp dri

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-01-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #7 from Jason W. Bacon --- (In reply to Vladimir Kondratyev from comment #6) By jumpy I mean I move my fingers a considerable distance without any response and then the window suddenly scrolls 1/4 to 1/2 its height. I recall r

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-01-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #6 from Vladimir Kondratyev --- (In reply to Jason W. Bacon from comment #5) > My only complaint, and not a serious one, is two-finger scrolling is jumpy. What do the word "jumpy" means? Two-finger scrolling is represented as m

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-01-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #5 from Jason W. Bacon --- All I can tell you is the mouse generally works well on my MacBook Pro with kern.evdev.rcpt_mask=3. My only complaint, and not a serious one, is two-finger scrolling is jumpy. FreeBSD beluga.acadix

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-01-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #4 from Vladimir Kondratyev --- (In reply to Greg V from comment #3) > I'm pretty sure atp already does this. Yes it is. It uses some sort of naive assignment alghoritm: https://github.com/freebsd/freebsd-src/blob/main/sys/dev/u

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-01-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #3 from Greg V --- (In reply to Vladimir Kondratyev from comment #2) I'm pretty sure atp already does this. There is support for in-driver scrolling gesture recognition after all. The code has functions named like `match_stroke

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2021-01-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 --- Comment #2 from Vladimir Kondratyev --- (In reply to Greg V from comment #1) > atp needs a patch similar to > https://cgit.freebsd.org/src/commit/?id=54d2dfc4b24db110c8a4b75e2f02a2360fd9fc8c Unfortunately, patch should be more complex

[Bug 252236] atp(4): Need EVDEV support for modern input stack

2020-12-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252236 Emmanuel Vadot changed: What|Removed |Added Component|Individual Port(s) |kern Product|Ports & P