tablet PC wacom screen not working because of missing 13.37 udev config

July 09th, 2011 - 04:38 pm ET by Jim Diamond | Report spam
Just in case some other Slackware user runs into the same issue...

I have a Fujitsu T900 which has a wacom-enabled screen. It worked
fine with 13.1, but the pen input was not functioning with 13.37.

I fixed it by creating /etc/udev/rules.d/10-wacom.rules
with the contents
ACTION!="add|change", GOTO="wacom_end"
# Match all wacom tablets with a serial ID starting with WACf or FUJ*
ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
ATTRS{id}=="FUJ*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
LABEL="wacom_end"

(In case your newsreader mangles that, there are supposed to be 5
lines, the ATTRS lines are > 80 chars.)

To give credit where due, I found the answer here:
https://wiki.archlinux.org/index.php/Wacom_Tablet
The first ATTRS line appears to be the match for (at least some)
Thinkpad tablets, the second is for (at least some) Fujitsu tablets.

Cheers
Jim
email Follow the discussionReplies 3 repliesReplies Make a reply

Similar topics

Replies

#1 Robby Workman
July 11th, 2011 - 10:53 am ET | Report spam
On 2011-07-09, Jim Diamond wrote:
Just in case some other Slackware user runs into the same issue...

I have a Fujitsu T900 which has a wacom-enabled screen. It worked
fine with 13.1, but the pen input was not functioning with 13.37.




I saw the earlier thread referencing our discussions and my conclusion that
Xorg had removed serial device support. Note that I am not suggesting that
you made it up - BUT - I do not recall any of that, and now I'm curious as
to what the hell I was smoking. Do you happen to have the logs/emails/whatever
handy still, and if so, could you send them to me? I'd *really* like to know
what I was talking about :-)


I fixed it by creating /etc/udev/rules.d/10-wacom.rules
with the contents
ACTION!="add|change", GOTO="wacom_end"
# Match all wacom tablets with a serial ID starting with WACf or FUJ*
ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
ATTRS{id}=="FUJ*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
LABEL="wacom_end"

(In case your newsreader mangles that, there are supposed to be 5
lines, the ATTRS lines are > 80 chars.)

To give credit where due, I found the answer here:
https://wiki.archlinux.org/index.php/Wacom_Tablet
The first ATTRS line appears to be the match for (at least some)
Thinkpad tablets, the second is for (at least some) Fujitsu tablets.




Very nice. I wonder why that hasn't been put in the upstream sources of
xf86-input-wacom -- in my not so humble opinion, that's where it should
be.

-RW
Replies Reply to this message
#2 Jim Diamond
July 11th, 2011 - 12:03 pm ET | Report spam
On 2011-07-11 at 11:53 ADT, Robby Workman wrote:
On 2011-07-09, Jim Diamond wrote:
Just in case some other Slackware user runs into the same issue...

I have a Fujitsu T900 which has a wacom-enabled screen. It worked
fine with 13.1, but the pen input was not functioning with 13.37.



I saw the earlier thread referencing our discussions and my
conclusion that Xorg had removed serial device support. Note that I
am not suggesting that you made it up - BUT - I do not recall any of
that, and now I'm curious as to what the hell I was smoking. Do you
happen to have the logs/emails/whatever handy still, and if so,
could you send them to me? I'd *really* like to know what I was
talking about :-)


That's not exactly how it went, as I recall.

In "Call for Testing: Xorg Updates"
http://www.linuxquestions.org/quest...age12.html
*I* said
Reading from another (possibly) outdated list, someone may
have removed the serial wacom code from the wacom driver.

The place I got that info was
http://codelab.wordpress.com/2010/0...m-hacking/
where the guy says
After a lot of digging around the source of multiple wacom
driver versions, it turns out the guys at the linuxwacom
project removed the code for old serial tablets from the
driver sometime last year!
Since the guy goes on to say
So instead I started from scratch in the opposite direction,
re-integrating the old serial code from 0.8.4 to the most
recent 0.10.4 wacom driver.
I assumed that he knew what he was talking about.

Given that it works now, I am a bit confused. Perhaps he was talking
about code that was specific to external serial tablets, as opposed to
built-in-to-the-screen serial tablets. At first blush it seems odd
that there would be two different sets of code (one for internal, one
for external), but there you go.


I was perhaps not careful enough with the way I expressed the "I am
out of luck" thing, but one of the messages in the "Call for testing"
saga led me to believe that if there was no support there "now" for
serial, there wasn't going to be. That is why I thought I'd be out of
luck. Sorry if we words in the earlier thread made it look like I
claimed you were the one who said the serial code was removed.


You may well have been smoking something, but that's another issue :-)


I fixed it by creating /etc/udev/rules.d/10-wacom.rules
with the contents
ACTION!="add|change", GOTO="wacom_end"
# Match all wacom tablets with a serial ID starting with WACf or FUJ*
ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
ATTRS{id}=="FUJ*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
LABEL="wacom_end"

(In case your newsreader mangles that, there are supposed to be 5
lines, the ATTRS lines are > 80 chars.)

To give credit where due, I found the answer here:
https://wiki.archlinux.org/index.php/Wacom_Tablet
The first ATTRS line appears to be the match for (at least some)
Thinkpad tablets, the second is for (at least some) Fujitsu tablets.



Very nice.


Indeed. Short, to the point, and, above all else, it works.

I wonder why that hasn't been put in the upstream sources of
xf86-input-wacom -- in my not so humble opinion, that's where it
should be.


That sounds reasonable to me.

I see that in Slack64 13.1 there is
/usr/share/hal/fdi/policy/10osvendor/11-x11-wacom.fdi
which contains

<match key="info.capabilities" contains="serial">
<match key="@info.parent:pnp.id" contains_outof="WACf;FUJ02e5;FUJ02e7">
<append key="info.capabilities" type="strlist">input</append>
<merge key="input.x11_driver" type="string">wacom</merge>
<merge key="input.x11_options.ForceDevice" type="string">ISDV4</merge>
<merge key="input.device" type="copy_property">serial.device</merge>
</match>
</match>

which is simular to part of xf86-input-wacom's wacom.fdi file:

<match key="info.capabilities" contains="serial">
<match key="@info.parent:pnp.id" contains_outof="WACf;FUJ02e5;FUJ02e7;FUJ02e9">
<append key="info.capabilities" type="strlist">input</append>
<merge key="input.x11_driver" type="string">wacom</merge>
<merge key="input.device" type="copy_property">serial.device</merge>
</match>
</match>

Although that is old stinky hal stuff, I now wonder whether having
that file in 13.37 would also have made things work. Maybe after I
send this off I'll undo my udev change, copy the hal file in, reboot,
and see.

I see that 13.37 does, in fact, have xf86-input-wacom's 50-wacom.conf
file in /usr/share/X11/xorg.conf.d/. I wonder why the .fdi file
didn't get into 13.37.

Cheers.
Jim
Replies Reply to this message
#3 Jim Diamond
July 11th, 2011 - 01:31 pm ET | Report spam
On 2011-07-11 at 13:03 ADT, Jim Diamond wrote:
On 2011-07-11 at 11:53 ADT, Robby Workman wrote:

I fixed it by creating /etc/udev/rules.d/10-wacom.rules
with the contents
ACTION!="add|change", GOTO="wacom_end"
# Match all wacom tablets with a serial ID starting with WACf or FUJ*
ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
ATTRS{id}=="FUJ*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
LABEL="wacom_end"

(In case your newsreader mangles that, there are supposed to be 5
lines, the ATTRS lines are > 80 chars.)

To give credit where due, I found the answer here:
https://wiki.archlinux.org/index.php/Wacom_Tablet
The first ATTRS line appears to be the match for (at least some)
Thinkpad tablets, the second is for (at least some) Fujitsu tablets.



Very nice.


Indeed. Short, to the point, and, above all else, it works.

I wonder why that hasn't been put in the upstream sources of
xf86-input-wacom -- in my not so humble opinion, that's where it
should be.


That sounds reasonable to me.

I see that in Slack64 13.1 there is
/usr/share/hal/fdi/policy/10osvendor/11-x11-wacom.fdi
which contains

<match key="info.capabilities" contains="serial">
<match key="@info.parent:pnp.id" contains_outof="WACf;FUJ02e5;FUJ02e7">
<append key="info.capabilities" type="strlist">input</append>
<merge key="input.x11_driver" type="string">wacom</merge>
<merge key="input.x11_options.ForceDevice" type="string">ISDV4</merge>
<merge key="input.device" type="copy_property">serial.device</merge>
</match>
</match>

which is simular to part of xf86-input-wacom's wacom.fdi file:

<match key="info.capabilities" contains="serial">
<match key="@info.parent:pnp.id" contains_outof="WACf;FUJ02e5;FUJ02e7;FUJ02e9">
<append key="info.capabilities" type="strlist">input</append>
<merge key="input.x11_driver" type="string">wacom</merge>
<merge key="input.device" type="copy_property">serial.device</merge>
</match>
</match>

Although that is old stinky hal stuff, I now wonder whether having
that file in 13.37 would also have made things work. Maybe after I
send this off I'll undo my udev change, copy the hal file in, reboot,
and see.



Nope. The output of lshal was more informative, but without the
udev/rules.d file the wacom interface serial port does not
(apparently) get set up correctly.

Jim
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search