/srv/irclogs.ubuntu.com/2008/08/30/#ubuntu-x.txt

wgranttjaalton: Are input-device properties meant to actually work on Intrepid? I can see that you've patched xinput and libxi to support them, but xinput can't seem to talk properly.03:43
wgrant(upstream xinput seems to want XI2 support to do anything with input properties... does the server only return them if it detects that the client knows about XI2?)03:45
tjaaltonwgrant: it should work, the properties stuff has been backported to XI 1.507:31
tjaaltonbut I have to double-check it when I have more bandwith07:31
tjaaltonour evdev doesn't support it yet, that's known07:34
wgrantAh.07:36
wgrantAnd I guess that somebody will need to teach Synaptics about it.07:37
wgrantI can see a 'Device Enabled' property, and that's all.07:37
tjaaltonit should support it as well07:37
wgrantWhich doesn't appear in any of the listings that I've seen on the web.07:37
tjaaltonI'll try my experimental evdev driver to make sure the plumbing is ok07:38
tjaaltonyeah, evdev works so the synaptics driver is botched somehow07:41
tjaaltongone ->07:41
wgrantSee you.07:41
wgrantThanks.07:42
tjaaltonwgrant: you could try patching out "#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3", then it should work10:53
tjaaltonfrom src/properties.c10:54
tjaaltonwgrant: don't bother, I'll upload a new version11:26
wgranttjaalton: Boom.14:31
wgranttjaalton: dlopen: /usr/lib/xorg/modules/input//synaptics_drv.so: undefined symbol: SetProperty14:31
tjaaltongreat14:42
wgrantIndeed.14:44
wgrantSo it does really need the new XI?14:44
wgrantOr is just getting confused?14:45
tjaaltonI think it's the latter14:51
tjaaltonanway, I'll revert the patch for now14:52
tjaaltonthat's what you get without hardware to test on14:57
tjaaltonalthough, in this case loading the driver would've been enough14:57
wgrantI'll poke at it a bit and try to get it working.15:00
tjaaltonfor evdev to make it work with XI 1.5 the only thing it needed was to rip off the #ifdef's15:03
wgrantBrb, restarting with a hopefully-fixed driver.15:04
tjaaltonand Bool SetProperty is defined in synaptics.c, that's why I think it's a problem with the driver code15:04
wgrantIt's defined in properties.c, actually.15:07
wgrantWhich probably wasn't being linked in.15:07
Q-FUNKok, got around upgrading my development Geode workstation to Intrepid and I confirm:  odd artifacts where the cursor is, using -geode on X 1.515:07
wgranttjaalton: Right, got it.15:19
wgrantproperties.o wasn't being linked in.15:19
wgrantWhich probably means that src/Makefile.in wasn't being regenerated.15:20
tjaaltonwgrant: yeah I saw the same..15:27
tjaaltonI'll fix the package, again, shortly15:28
wgranttjaalton: Running automake fixes it, and produces just a tiny diff.15:28
wgrantAnd it works excellently.15:28
wgrantThanks.15:28
tjaaltonwgrant: excellent :)15:29
tjaaltondinner->15:29
wgranttjaalton: You wouldn't be able to upload the fix for bug #262292 as well, would you?15:34
ubottuLaunchpad bug 262292 in xfree86-driver-synaptics "[intrepid] clicking is not working after merging" [High,Triaged] https://launchpad.net/bugs/26229215:34
tjaaltonwgrant: yep15:38
wgranttjaalton: It is fixable through xinput now, but it's still annoying.15:40
tjaaltonyes, it's been reverted upstream too15:40
wgrantAnd it for some reason won't let me set the necessary property to have the right number of items.15:40
wgrantWhat odd behaviour.15:43
wgrantI'm trying to override the tap actions through xinput, but it will only accept 6 arguments for that property, when it needs (and has initially) 7. If I give it a different name, it will accept 7 fine.15:44
wgrantIs that likely to be a driver or server bug?15:45
tjaaltonI'm not sure, there are some limitations to the settings that can be changed atm15:45
wgrantI can change it fine, just not to the right length.15:47
wgrantNo error is given, but it doesn't take effect, and watch-props doesn't see it.15:47
tjaaltonmaybe a driver bug15:48
wgrantAh.15:48
wgrantIt seems that anything that wants more than one will accept only one less than it should actually take.15:49
* wgrant pokes in the code.15:49
tjaaltonjcristau: does autoreconf generate config.h.in?15:55
jcristauyeah, autoheader does, iirc15:56
tjaaltonI'll autoreconfify synaptics, and noticed that the file is changed15:56
* wgrant deletes lots of =15:57
wgranttjaalton: I've located and am fixing the off-by-one property issue, so xinput will be useful on it shortly.15:58
wgrantWill you accept such a patch?15:58
tjaaltonwgrant: excellent15:58
tjaaltonsure, if it works properly after that. You should also send it to xorg@ :)15:58
wgrantOf course, I shall.15:59
wgrantTesting now.15:59
wgrantNeeeed mooore baaandwidth.16:03
tjaaltonI've got maybe 5kt/s16:04
wgrantI've 64Kbps for another day or two.16:05
wgrantkt?16:05
tjaaltonoops16:05
tjaaltonKB/s16:05
wgrantOw.16:05
tjaaltonGPRS ftw16:06
wgrantSounds expensive.16:06
wgrantBut I guess you're not in .au.16:07
tjaaltonnah, maybe 10EUR /month16:07
tjaalton3G (~128Kbps) where there is coverage16:07
tjaaltonbuilt-in adapter in the laptop :P16:08
wgrant1.5c/KB on some of the more common plans here.16:08
wgrantFor both 3G and GPRS.16:08
tjaaltonuh16:08
wgrantIt would go down a bit if you were to get a few hundred megabytes. But it's still very expensive.16:09
wgrantOK, now I've tested this trivial patch, and it works well.16:10
tjaaltoncool, post it somewhere16:10
wgrantYou need to delete a total of two characters.16:10
wgrantLine 458, line 470. >= should be just >.16:10
wgrant(src/properties.c)16:11
tjaaltonif (prop->size >= MAX_CLICK and MAX_TAP?16:13
wgrantYep.16:13
tjaaltonok, the driver built fine, uploading16:22
tjaaltonthree uploads in one day16:22
wgrantThanks!16:23
tjaaltonwhich is nice, Top10 here I come :)16:23
wgrantHeh.16:23
tjaaltonso, send the patch to xorg@lists.freedesktop.org16:24
wgrantAny particular format/subject?16:26
wgrantI guess I'll check the archives.16:26
tjaaltonI don't think it matters much16:26
jcristau'git format-patch origin/master; git send-email' works16:31
jcristaui think xorg@ is subscriber-only though16:31
* wgrant is rejected, so subscribes.16:36
* wgrant -> bed16:49
wgrantThanks for the uploads today, tjaalton.16:49
tjaaltonwgrant: thanks for testing, and patches :)16:49

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