On Fri, Feb 10, 2012 at 11:54 AM, Przemo Firszt <prz...@firszt.eu> wrote: > Dnia 2012-02-11, sob o godzinie 03:27 +1000, Peter Hutterer pisze: >> On Fri, Feb 10, 2012 at 04:56:11PM +0000, Przemo Firszt wrote: >> > I was trying to find out why "xsetwacom --list devices" shows nothing >> > and I found that my tablet is being handled by evdev. >> > Details here: http://pastebin.com/jASCqiKC >> > >> > I can't see any "blacklisted devices" list in evdev, so I could exclude >> > it nor I can see anything wrong in xorg driver for wacom (it's the same >> > as for Graphire4 Bluetooth and for that one xsetwacom worked). >> > >> > Any ideas where to look for solution? >> >> /usr/share/X11/xorg.conf/d/50-wacom.conf on my machine matches mainly >> against "Wacom" in the product name - that's missing on this device. Try >> using MatchVendor, provided that contains a string that's matchable. >> If so, pls let us know so we can update the .conf file. >> > Hi Peter, > Spot on, 10/10, bull's-eye and the main prize :-) > >> [przemo@pldmachine ~]$ head /usr/share/X11/xorg.conf.d/50-wacom.conf >> Section "InputClass" >> Identifier "Wacom class" >> MatchProduct "Wacom|WACOM|WALTOP|Hanwang|PTK-540WL" >> MatchDevicePath "/dev/input/event*" >> Driver "wacom" >> EndSection >> >> Section "InputClass" >> Identifier "Wacom serial class" >> MatchProduct "Serial Wacom Tablet" > > I added PTK-540WL to MatchProduct. I'm not sure if that's the best way, but > it's > hard to decide without knowing how other wacom devices are called. > Patch on the way in a next 5 minutes. > > Thanks!! :-)
It would be better to have a new rule that matches Vendor name. Section "InputClass" Identifier "Wacom Vendor class" MatchVendor "Wacom" MatchDevicePath "/dev/input/event*" Driver "wacom" EndSection For "wacom" USB kernel driver, the phrase "Wacom" is hard coded into Product name in by driver and it ignores the Product field from HW. If it came purely from USB, it would look just like your seeing. For example, the Product value in USB Device Descriptor for my Bamboo shows "CTH-670". For "wacom_w801" serial touchscreen driver, "Wacom" is also hard coding Product name in driver. hid-wacom is doing the reasonable thing of letting the base HID logic set the Vendor and Product values from HID report. I think its safe to assume Vendor will always be "Wacom Co., Ltd" for Wacoms since there are little options on were to get that info from but that Product name may or may not contain phrase Wacom. Chris ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel