just testing your latest patch with its fdi.
What I've noticed about starting X and plugging in the tablet:
Start X while tablet is plugged in:
Stylus and eraser are fine, touch is fine (although a bit jittery as with other patches). Touch scale is wrong (only about 3/4 of the width and 3/4 of the heighth of the tablet are used). No accidental left-clicks when putting down the finger to move the cursor so far.
Start X while tablet is plugged in, then unplug/replug tablet:
Stylus and eraser still fine, touch still as above (including the scale). But: tapping on the tablet for left-clicking moves the cursor to the lower right corner in relative mode and causes smaller cursor jumps in abslute mode.
Start X without tablet plugged in, then plug it in
I'm also getting closer to reproducing the X hangs (which I still have): It involves tapping on the tablet on the root window to open the menu of the window manager, then moving the cursor away with the menu still open and pressing the bottommost tablet button. This doesn't hang X every time, but quite often. Don't know if I can make it 100% reproducable.
Oh, and on Debian, I didn't get any compile warnings either. I'm wondering if I can drop my hack to place some links in the kernel header directory now...