Re: [DIGImend-devel] Genius PenSketch 12x9 in Ubuntu Precise (12.04)
Brought to you by:
spb_nick
|
From: Favux ... <fav...@gm...> - 2012-07-25 18:59:24
|
On Wed, Jul 25, 2012 at 1:39 PM, Nikolai Kondrashov <sp...@gm...> wrote:
> On 07/25/2012 09:21 PM, Favux ... wrote:
>>
>> Without something known to match to in udev I think the only way
>> reasonable way to make progress would be to actually get a UC-Logic
>> tablet and run tests on it.
>
>
> There is a way to match event device type. There is just no way to rename
> input devices, I think. We can disable the interfering/unneeded ones,
> though.
>
> I think we can match an event device type, then attach a tag using
> TAG+="tag" in the udev rules. Then use MatchTag and Option "Ignore" in input
> class configuration in /etc/X11/xorg.conf.d.
>
> Look into corresponding /sys/class/input/input*/uevent files for capability
> bitmasks to match against.
>
> Sincerely,
> Nick
Oh, now that is a different story. If we can match capability
bitmasks for pen, mouse, keyboard, etc. then what I was thinking of
was trying something on this order:
ENV{NAME}="Serial Wacom Tablet $attr{id}"
Using ENV{NAME} to change the name to what we want with device type
appended. Should show up in xinput list and Gimp etc. The thing I
was wondering about was how to number them if needed, e.g. pen1, pen2
and so on.
From: http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Fixed_device_files_with_udev#Serial_Wacom_tablet_rules
Favux
|