/srv/irclogs.ubuntu.com/2012/09/07/#ubuntu-touch.txt

adlrI'm not sure if this is a good place to ask: When sending ABS_MT events to userspace, the kernel only sends information that's changed, effectively delta compressing the information00:24
adlrDoes anyone here know where the code is that does this compression? I've been grepping for like an hour00:24
cndadlr: where in the kernel?00:33
adlryeah00:33
cndI would guess somewhere in drivers/input/evdev.c00:33
cndwhy do you want to know though?00:34
adlrdebugging a case where I didn't get  SYN_DROPPED when I should have00:34
cndadlr: looks like it's here: http://lxr.linux.no/linux+v3.5.3/drivers/input/input.c#L16600:35
cndit returns INPUT_IGNORE_EVENT if *pold == *pval00:36
cndit's specific only to absolute events though00:36
cndas it should be00:36
adlryeah, makes sense. thanks very much!00:36
cndnp00:36
=== gustavold1 is now known as gustavold
=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
cndbregma: would you be able to review this asap? https://code.launchpad.net/~chasedouglas/geis/fix-geisv1-class-ids/+merge/12335419:54
cnddandrader is out19:54
bregmaOK19:54
cndhmm… the other option is to say that we've committed to a specific abi19:55
cndand we could just change the implementation back to match these hardcoded values19:55
cndthat way we don't have to rebuild any clients, or force them to build against a specific version of geis19:56
cndbregma: what do you think?19:56
bregmait is an ABI change: existing clients would need to be recompiled for it to work19:57
cndyeah19:57
bregmato avoid an ABI change the new values would have to be mapped to the old values in geis_v1.c19:58
cndyeah19:58
cndit's a simple change19:58
cndI'm leaning towards that instead now19:58
bregmathe proposed change would have subtle breakage with existing clients19:58
cndbregma: please review the MP again20:21

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