On Tue, Apr 24, 2012 at 07:16:34AM +1000, Peter Hutterer wrote: > On Mon, Apr 23, 2012 at 10:51:59AM -0700, Jason Gerecke wrote: > > On Fri, Apr 20, 2012 at 7:40 PM, Adam Nielsen <a.niel...@shikadi.net> wrote: > > > data: add DTI-520 to tablet database > > > > > > Signed-off-by: Adam Nielsen <a.niel...@shikadi.net> > > > --- > > > > > >>> Add support for the DTI-520 > > >> > > >> pushed, thanks. Can you make a patch to libwacom as well please? > > > > > > Here it is. Let me know if this is all you need. A few things to note: > > > > > > The stylus I have has a translucent plastic end which I assume is an > > > eraser, > > > but nothing happens when I touch it to the display (no data is sent over > > > USB.) > > > The pen seems to be model IP-110-01 if that means anything. > > > Unfortunately I > > > don't have any other tools to test with, so I don't know whether the lack > > > of > > > an eraser is due to the pen or the tablet. > > > > > > Two of the buttons on the display surface also send the same scancode > > > over the > > > USB bus, so there is no way to tell them apart. I have therefore listed > > > button "B" twice in Buttons/Bottom - hopefully that won't break anything. > > > > > > The button map seems to suggest A=1, B=2, etc. however according to xev > > > buttons 4 through 7 are never used (since they are reserved for scroll > > > wheels.) Therefore button D produces an event for X11 mouse button 8, > > > button > > > E is X11 button 9, and so on. I guess this is expected, and the numbers > > > refer > > > to the input subsystem instead? > > > > > That's correct. Skipping buttons 4-7 is a quirk to prevent having > > buttons scroll under X11. Libwacom's A-Z labels should correspond to > > the kernel buttons BTN_0, BTN_1, etc. > > > > > I'm also unsure what the "BuiltIn" option is for (the description in > > > wacom.example doesn't really explain it.) I went with "driver built in > > > to the > > > kernel rather than a module" as opposed to "tablet built in to an LCD > > > display". > > > > > The "BuiltIn" option lets callers determine if the tablet is also a > > monitor. For example, tablet PCs and Cintiqs have the pen-sensing > > electronics directly beneath the LCD and so have "BuiltIn=true". The > > DTI-series tablets would also fall into this camp from what I can > > tell. You'd set "BuiltIn=false" if the tablet doesn't act as a monitor > > (e.g. Intuos, Bamboo, Graphire, etc.). > > > > > Also I posted a patch to LKML last week with the input driver for this > > > tablet > > > but there was no followup. The tablet won't work without that, so should > > > I > > > post the patch here instead? Here is the original post: > > > https://lkml.org/lkml/2012/4/14/20 > > > > > LKML is the right place to submit your patches, though if you want to > > maximize your chances of someone here seeing/reviewing it, it doesn't > > hurt to CC this list as well. The only time I'd not involve the LKML > > is if you're backporting something to our input-wacom repository. > > > > > Thanks, > > > Adam. > > > > > > > > > data/dti-520.tablet | 38 ++++++++++++++++++++++++++++++++++++++ > > > 1 file changed, 38 insertions(+) > > > create mode 100644 data/dti-520.tablet > > > > > > diff --git a/data/dti-520.tablet b/data/dti-520.tablet > > > new file mode 100644 > > > index 0000000..6bdd0d7 > > > --- /dev/null > > > +++ b/data/dti-520.tablet > > > @@ -0,0 +1,38 @@ > > > +# Wacom > > > +# DTI-520 Interactive Pen Display > > > +# > > > +# Button Map: > > > +# (A=1, B=2, C=3, ...) > > > +# > > > +# F G H I J > > > +# *-----------------* > > > +# | | > > > +# | DISPLAY | > > > +# | | > > > +# *-----------------* > > > +# D > > > +# B A C B > > > +# E > > > + > > > +[Device] > > > +Name=Wacom DTI520UB/L > > > +DeviceMatch=usb:056a:003a > > > +Width=13.5 > > > +Height=11.8 > > libwacom doesn't handle fractional sizes right now -- this should be 14x12. > > or just fix libwacom for fractional sizes? we're young enough that we can > afford API breaks.
fwiw, I've committed this with 14x12 now, might as well get it done for now until we support fractional sizes. Cheers, Peter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel