/srv/irclogs.ubuntu.com/2014/03/21/#ubuntu-x.txt

qenghoRAOF: Hi, we're trading email about touchpads and XI2 touch events.  IRC may be quicker.00:26
RAOFqengho: Sure.00:30
qenghoRAOF: I really want your nick to be ROUS, every time I read it.00:31
RAOFqengho: If it makes you feel any better, it stands for Running Around On Fire.00:31
* RAOF 's cooperteam.net domain name may suggest the origin of that for the owner of sufficiently exotic trivia :)00:32
qenghoThat does comfort me.00:32
qenghoRAOF: I don't know the trivia, but sounds like some racing mishap.00:40
RAOFqengho: So the problem is indeed that synaptics isn't giving you two-finger touches, and is instead returning scroll events?00:41
RAOFie: evdev worked?00:41
qenghoRAOF: Right.00:41
RAOFSo, this is where input becomes terrible.00:42
qenghoI can paste the events it *does* show, if you'd like.00:42
RAOFFor evdev, or synaptics (or, I guess, both :))00:42
RAOFYeah, the events might be interesting.00:42
qenghoEr, I don't know what "synaptics" means.00:43
RAOFOh, the synaptics driver.00:43
RAOFie: before you deleted the “load synaptics for touchpads” xorg configuration.00:44
RAOFBut, in general - Peter Hutterer is the maintainer of synaptics, and would prefer very much to do gestures in-driver. Because you can't assume that clients will handle them, and sending both raw touches and synthesised scroll events becomes awkward.00:46
RAOFI'm not _entirely_ sure that we can't do that sensibly, though. I'd like to try anyway :)00:47
qenghoRAOF: http://pastebin.ubuntu.com/7128187/     Unmodified xorg config, two-finger pinch.00:48
qenghoI'll have to go away and fabricate the other one.00:49
qenghoModified to have no synaptics driver, I mean as other.00:49
RAOFRight.00:49
qenghoRight, you need it? 00:50
RAOFI'd be interested to see it, but I could also get the same thing by charging some batteries, pairing my magic touchpad, and seeing whether it still panics my kernel.00:50
RAOFAnd in that log you're seeing all the events on valuators 2 and 3, which are v. scroll and h. scroll respectively.00:51
qenghoOh, I had that same problem, kernel panic.  Thinkpad?00:51
RAOFSystem7600:52
RAOFI think it's a bug in hid-magicmouse.00:52
qenghoHuh. I'm on a Darter.00:52
RAOFGalago here.00:52
qengho...now.00:52
qenghoBack in 5min.00:53
qenghoROUS: Well.  Commenting everything out isn't right. Builtin trackpad doesn't do anything.00:57
* qengho restarts X.01:03
qenghoRAOF: I'm realizing I don't really know what you wish me to change.01:09
RAOFqengho: Oh. I wanted you to delete /usr/share/X11/xorg.conf.d/50-synaptics.conf and restart X; that'll switch your touchpad to using evdev, which definitely won't eat events to synthesise other events.01:10
qenghoRAOF: I didn't delete, but I added "#### " to the start of every line.  That made neither builtin nor APPL bluetooth pad work.01:11
RAOFHm, that shouldn't happen.01:11
qenghoRAOF, right now, I added a new section that tries to match the device and assign it Driver evdev before the first one assigns synaptics.  I don't think it's doing what I expected. Perhaps it's not matching.01:12
RAOFYeah, you'd need to do the matching *after* the synaptics one.01:12
RAOF(/var/log/Xorg.0.log should show you which driver is getting loaded)01:13
qenghoI did it there too. I'm thorough.01:13
RAOFI'm surprised that commenting out 50-synaptics.conf didn't work; evdev should still match in that case. Maybe could you throw me your Xorg.0.log at some point?01:14
qenghoComment all, get log?01:16
RAOFYeah, thanks.01:16
Sarvattyou're going to need to force it to evdev for it to work, synaptics wont work unless its a non synaptics touchpad that works with it like a macbook one, seems like a lost cause01:17
qenghoRAOF: log, conf lacks 50-synaptics.  http://pastebin.ubuntu.com/7128307/01:21
RAOFSarvatt: I think synaptics doesn't report TouchBegin/.../TouchEnd for two-fingers, right?01:22
qenghoAt three, it magically wakes up and starts reporting. It decided it wasn't a scroll request.01:22
RAOFRight.01:23
RAOFMy magic touchpad agrees.01:25
RAOFqengho: So, the answer is - ugliness.01:26
RAOFI think for the moment you get to assume that you won't get two-finger touch data on touchpads, and give up on getting pinch & such to work :(01:26
qenghoIs the long answer, kill kill kill the old scroll hack and make every client xi2-aware?01:27
RAOFWell, and also the _new_ scroll hack.01:28
qenghoOh. I didn't know there was a new one.01:28
RAOFYeah, rather than translating to buttons we translate to scroll axes - which is why you can get smooth scrolling support.01:28
qenghoSo. .....so! I kind of reckon that a UDS immediately after 14.04 is a perfect point to propose this.01:30
RAOFBut this needs core input support - we can't send both synthesised scroll events and touch events, because clients won't be expecting it.01:31
RAOFCan I interest you in getting this to work on Mir instead? :)01:31
RAOFHm. Maybe it wouldn't be _so_ terrible in X.01:32
qenghoI don't know anything about mir. I'm some browser guy01:33
RAOFI think the answer is that it should actually just work in Mir - check out racarr's Chromium-on-Mir work.01:33
qenghoI keep meaning to merge that and get it into upstream.01:34
qenghoAnd, that's good news.01:35
RAOFI should _keep_ it working on Mir, too.01:39
RAOF:)01:39
RAOFHey! It looks like magic trackpads no longer panic my kernel. Bitchn'!01:40
qenghoI'm taking credit for that.01:43
qenghoRAOF: Okay. So, 1a) give up on synaptics pinch. 1b) break the bad news to ara and manager-y people.  2) get mir patches into chromium, first local, then upstream. 3) something about future driver or clients or something that I don't understand and will leave to you.01:45
qenghoRAOF: thanks for your time.01:46
RAOFqengho: No problem!01:51
qenghoSummary in email to ara.01:51
RAOFWhich I will be receiving shortly, I guess? :)01:52
qenghoNow, I must go fall unconscious and hallucinate for 8 hours.01:52
qenghoStrange we think that's normal.01:52
qenghoLaters.01:52
RAOFSleep well!01:53
RAOFHey! Looks like Chrome managed to wedge i915 pretty good.03:32
mlankhorstRAOF: known bug i think08:43
=== psivaa_ is now known as psivaa
=== psivaa is now known as psivaa-afk
=== psivaa-afk is now known as psivaa
=== qengho is now known as CardinalFang
=== CardinalFang is now known as qengho
=== qengho is now known as CardinalFang
=== CardinalFang is now known as qengho

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!