I second Aryuthia!I am just happy that you are assisting with this!
I needed to review the .fdi again anyway.
What would be very nice is if you checked out the alt.touch .fdi now that we know the other one works. I'm interested in seeing if that works without breaking anything and if the debug line in the touch section returns anything.
I did that a few times as well and it is now the first place I'm looking when there is something not working as it was before the last patch.
I'll try the latest and greatest patch a little later tonight and report with the logs. I'll add the touch section in my .fdi file as well to see. And I'll revise my lshal to make sure the information I'm getting should match a 'contains="Wacom"'.
Yep, that's what the problem was. I had switched to using 10-wacom.fdi, but the compilation produces 10-linuxwacom.fdi, so with each compilation I was creating an fdi conflict. I'd spotted it before (when the difference between if0 and input was an issue), but had completely forgotten.That's something you will have to remember. Each time you do the make install, it will copy the 10-linuxwacom.fdi (or 10-wacom.fdi) over the one in /usr/share/hal/fdi/policy/20thirdparty
The latest patch is working as the others, with the alt.touch.fdi file, which also seems to work a treat.
Various outputs and logs attached, in the hope of them being useful. Gotta sign off for the night now.
I've tried the new patch. I guess the only way I can describe it is not worst, not better. To me, it seems the same. I still have to get in-range/out-of-range 2 times to switch from pen to eraser and back (except the first time). Note that it seems that it is at getting out-of-range the second time that it is switching, not when I'm getting back into range.
Otherwise said, I have this:
Eraser (but was trying pen)
Pen (but was trying eraser
and so on. That's what you will see in my logs (messages and Xorg.0.log). I've also tried the buttons on the tablet and the touch.
I've included the .fdi and the lshal. Favux, for an unknown reason, it seems to work now with the containts on Wacom. I'll keep an eye on it as it was not working properly before. You will also see that the touch definition in the .fdi is there. The touch is in lshal as well. Don't know why it is not picking up.
I think it is pretty much what I can say for now.
I've not noticed if the f0, f1, f8 and f9 where wrong at these particular time. Usually, they are correct (f0 is in range with pen, f1 - contact with pen, f8 - in range with eraser, f9 - contact with eraser) and I can reproduce it as I want.
Note that I saw that the e0, e1, e8 and e9 are for the same situation but when I'm just on the border of the area (at the white line that is printed on the tablet). That's answer where it was coming from. These are reproducible as well.
I hope this clarify more what I was referring too.
Good to see both of the test2 .fdi's worked for you. Disappointing that xinput doesn't show touch. That was with the alt.touch .fdi, correct? Messages seems to be seeing both events. Did you look at the xorg.conf I posted here?
I think it would be better to remove:
when trying to configure touch through if1. Interesting that hal-setup-wacom did generate a daughter for touch off if0. Xorg says:Code:<append key="wacom.types" type="strlist">touch</append>
The if1 line in the .fdi also seemed to configured if1 correctly. Maybe it's the combination that caused in Xorg.0.log:Code:(II) config/hal: Adding input device stylus touch
But that's the first time I've seen touch stuff with debug. So it looks like progress to me! This:Code:(II) config/hal: Adding input device touch (**) touch: always reports core events (**) touch device is /dev/input/event8 (**) Option "DebugLevel" "12" (**) WACOM: touch debug level set to 12 (**) touch is in absolute mode (**) WACOM: suppress value is 2 (**) Option "BaudRate" "9600" (**) touch: serial speed 9600 (II) XINPUT: Adding extended input device "touch" (type: Wacom Touch) BEGIN xf86WcmProc dev=0xb229bd0 priv=0xb21e2e0 type=eraser(touch) flags=16642 fd=-1 what=INIT xf86WcmDevOpen opening /dev/input/event8 (**) Option "Device" "/dev/input/event8" usbDetect touch Wacom X driver grabbed event device initializing USB tablet WACOM: touch max value(s) was wrong MaxTouchY = 0 MaxTouchY = 0. Failed to open device (fd=-1) xf86WcmProc INIT FAILED (EE) Couldn't init device "touch" xf86WcmUninit (II) UnloadModule: "wacom" (EE) config/hal: NewInputDeviceRequest failed (1)
may be actually telling us something. Is the resolution for touch the same as stylus? It isn't for the usb tablet pc's with touch.Code:WACOM: touch max value(s) was wrong MaxTouchY = 0 MaxTouchY = 0.
Now I'm reading "How to get help on Linux forums". Please join me.