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

=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== gustavold1 is now known as gustavold
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
cr3has anyone used a wacom bamboo tablet as a multi touch device? is there anything special I need to do?19:37
cr3running mtdev-test /dev/input/event12 returns nothing after supported mt events :(19:44
cr3however, the hardware support page seems to indicate that wacom usb has been supported since 11.04: https://wiki.ubuntu.com/Multitouch/HardwareSupport19:45
dandradernot me20:04
cndcr3: the bamboo touch should work out of the box as a touchpad20:06
cndwhich means that X synaptics will grab the dev event node20:06
cndso mtdev and any similar programs like evemu and evtest will not work unless you stop X or vt switch away20:07
=== dandrader is now known as dandrader|afk
cr3cnd: it should work as a touchscreen rather than a touchpad, right? ie, I shouldn't expect to do two finger scrolling, not that I know how to get it working with my finger anyways20:13
cndcr3: you can make it behave like a touchscreen if you want20:13
cndbut by default it behaves like a touchpad20:13
cndbecause it isn't a touchscreen20:13
cndand the bamboo touch line is usually a bit too small to actually behave like a touchscreen20:14
cr3cnd: this is a bamboo tablet (mte-450) though, it behaved like a touchscreen when I plugged it in: http://www.tablet4u.co.uk/product/en/bamboo-tablet.html20:15
cndcr3: when you say it behaved like a touchscreen, what exactly do you mean?20:15
cndmaybe I am misunderstanding20:15
cr3cnd: heh, and maybe I'm not expressing myself well because this is all new to me :) first, in system settings, it appears as a wacom graphics tablet. second, the tablet only responds to the stylus so I can't imagine how it could be used as a touchpad20:18
cndcr3: in X terms, we use "direct" and "indirect" input devices20:19
cnda direct input device, like a touchscreen, makes the cursor move to wherever you touch on the device20:19
cndif you touch the top left corner, the cursor will move to the top left corner of the screen, no matter where it was previously20:19
cndan indirect device will behave like a touchpad, where the cursor movement is controlled by relative motion of the input device20:20
cndan indirect device is also a relative device, like a mouse20:20
cndin fact, indirect is very similar to "relative", and direct is very similar to "absolute" positioning20:20
cndI'm not exactly sure how your bamboo tablet would behave, I was thinking about my bamboo touch, which only has touch input (no pen)20:21
cndI actually do expect your tablet to behave like a touchscreen, but we'd have to check to be sure20:21
cndif it's behaving like a touchscreen, then it should work with mtdev20:22
cndcan you run xinput --list --all and pastebin the results?20:22
cr3cnd: I could try mtdev-test in a vt, one sec20:22
cndok20:22
cr3cnd: ok, stuff is happening when I run mtdev-test, but I don't see the usual ABS_MT_* at the top of running mtdev-test20:23
cr3cnd: as for running xinput --list --all, that returns: unable to find device --all20:24
cndthen my guess would be that your tablet isn't being recognized as a multitouch device20:24
cndif it only has pen input, no touch input, then it's just single touch input anyway, right?20:24
cr3cnd: it could be single touch input, I was hoping it might be more to touch real multitouch devices20:25
cndxinput --list --long is what we need20:25
cr3cnd: http://pastebin.ubuntu.com/1187794/20:27
cndcr3: yeah, no multitouch :(20:28
=== dandrader|afk is now known as dandrader
cndit's just a singletouch pen tablet20:28
cr3cnd: do you think that the bamboo tablet is essentially like a touchscreen? in other words, are touchscreens multitouch?20:28
cnda touchscreen can be single-touch20:29
cndso your tablet is like a singletouch touchscreen20:29
cr3cnd: when a touchpad supports two finger scrolling, is that reall multi touch?20:31
cr3s/reall/really/20:31
cndit depends20:31
cndit might be multi-finger singletouch20:32
cndwhere it reports only one location, but guesses the number of touches on the trackpad20:32
cndor it may be full multitouch20:32
cr3cnd: so, on the CheckingMTDevice wiki page, it says to use mtdev-test to test for multi touch. however, I ran it on a few laptops, some of which didn't even support ABS_MT_*, and it always outputs stuff when moving the touchpad mouse20:41
cr3cnd: I'm quite sure these laptops are not all multi touch though, so perhaps I'm not looking for the right thing in the output20:42
cndhmmm… that page is out of date...20:42
cr3some laptops are from 2006, so not recent20:42
cndxinput --list is the best way20:42
cndyou're right that it will always output stuff20:42
cndyou have to check that mtdev outputs ABS_MT_*20:43
cndbut that's easier said than done20:43
cr3cnd: so, if I understand correctly, when mtdev outputs ABS_MT_* that means that the touchpad can report two or more absolute coordinates in order to be considered multitouch, right?20:48
cndcorrect20:48
cr3cnd: is there a possibility that mtdev outputs ABS_MT_* but physically pressing two fingers on the touchpad doesn't work? in other words, do you think that physical validation of multitouch support will uncover potential problems?20:49
cndnot likely20:49
cnddevices need linux drivers to have multitouch suppor20:49
cndit doesn't magically occur :)20:50
cndso anything that does say it is multitouch almost assuredly is20:50
cr3cnd: that's great because the test can be automated! however, do you know of a way to script such a test considering that ctrl-alt-f1 to vt in order to run mtdev-test is going to be really difficult to script :)20:51
cndwell, mtdev-test isn't the best way to go at this point20:51
cr3cnd: I mean, is there a way to determine whether a touchpad outputs ABS_MT_* other than running mtdev-test in a vt :)20:51
cndit would be better to use the output of xinput --list --long20:51
cndand look for XITouchClass20:52
cr3cnd: ok, let me compare a couple systems, one moment..20:52
cndk20:52
cr3cnd: seems to be quite apparent: Class originated from: 0. Type: XITouchClass20:57
cr3cnd: could multitouch screens be tested the same way? ie, will they also appear with XITouchClass for a separate input device in the output of xinput --list --long?20:59
cndyes, they will have XItouchClass too21:02
cr3cnd: interesting, a colleague just sent me the output of their xinput --list --long from a laptop that apparently has a multitouch touchscreen: http://pastebin.ubuntu.com/1187841/21:05
cr3cnd: from what I can see, it doesn't look like the touchscreen supports multitouch though, right?21:05
cndso serial wacom tablets are a bit of a sore point21:06
cndthey can be multitouch21:06
cndbut you have to force them into a specific mode using a user-space tool21:06
cndI don't really know how to do it myself21:06
cndbut I know bdmurray has been able to get it to work21:06
cndbut in its default startup state it behaves like a single touch touchscreen21:07
cr3cnd: hm, I remember seeing something about wacom serial on the HardwareSupport page under the MultiTouch wiki pages: " Need to use setserial to configure. "21:07
cndyeah21:07
cr3cnd: ok, for enablement purposes, I still want to fail the device because user experience is bad and I want the vender to know about it :)21:07
cndI would say so21:08
cndif it doesn't boot up into multitouch mode, then it's a poor experience21:09
cr3cnd: apparently, multitouch worked out of the box in quantal. if you'd like, I could ask him to join this channel if you might have a few questions21:09
cndI don't have any questions?21:09
cndI personally don't care about wacom21:09
cndwell, old wacom serial I mean21:09
cndthey are only two touch21:10
cndwhich doesn't get you much in ubuntu right now21:10
cr3cnd: if a toushcreen is not reporting XITouchClass, as in the case of wacom serial, but it does actually support two finger touch, how would you suggest I test for that?21:16
cndwell, that's a practically impossible task21:16
cndyou can't do anything if the kernel says it's not supported21:16
cr3cnd: if the kernel says it's not support, how can it work?21:18
cr3supported even?21:18
cndit can't?21:20
cndI don't understand what you're asking21:20
cr3cnd: in this output of xinput, the touchscreen apparently doesn't support multitouch (no XITouchClass) but my colleague says it supports multitouch: http://pastebin.ubuntu.com/1187841/21:24
cndyes21:24
cndthere's no way for a script to know that21:24
cr3cnd: to recap, a touchpad or a touchscreen that reports XITouchClass in the output of xinput will necessarily work, but the opposite is not necessarily true where these devices don't report XITouchClass then they might work, right?21:27
cndyou could say that, but most likely devices that don't have a touch class just aren't multitouch devices21:27
cndlike your tablet21:27
cndit just isn't a multitouch device21:27
cndmost multitouch devices these days work out of the box21:28
cr3cnd: if it's not a multitouch device but it behaves well enough according to criteria I'm not in control of, I might want to test physically21:30
cr3cnd: could you recommend a way for me to detect something like: when user presses two fingers on the touchscreen, the test passes?21:31
cndI don't understand21:31
cr3cnd: for example, would it be possible to listen on the output of xinput test-xi2 for specific events?21:31
cndif xinput says it's not multitouch, then it's not multitouch21:31
cndit won't work21:31
cndyou can listen to the output of events from xinput test-xi221:32
cndit will tell you when there are touch events21:32
cndbut you won't get any touch events from non-multitouch devices21:32
cr3cnd: so how does the system simulate support for two finger touch for a wacom serial touchscreen?21:34
cndit doesn't21:34
cndthere's no "simulation" of multitouch21:34
cndif it's not multitouch, then it's not multitouch :)21:34
cndor the driver doesn't support multitouch, which is basically the same21:35
cndas far as any script can tell21:35
cr3so, it doesn't seem to be possible to determine whether a device that is physically a multitouch actually works as a multitouch device:21:37
cr31. if it's detected as a multitouch device, it'll just work21:37
cr32. if it's not detected as a multitouch device, then who's to know it's physically a multitouch device21:37
cr3cnd: does that sound about right?21:38
cndexactly :)21:38
cr3cnd: if I wanted to make double sure that multitouch was working, like wearing a belt and suspenders, I would first check for XITouchClass but I would then want to verify physically...21:51
cr3cnd: if I listen to the output of events from xinput test-xi2, is there anything I should be paying attention to for multitouch events?21:51
cndcr3: yes, look for XITouch{Begin,Update,End} events21:56
cr3cnd: sweet, I think that will make everyone happy :)21:57
cndgood :)21:57

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