Woot! I've got hotplugging working now. Favux, you were a big help. I had previously beed quite afraid of the wacom.fdi, but it wasn't too tricky. It took some trial-and-error, but I've got dual-monitor hot plugging supporting working *almost* perfectly using this custom fdi file:
Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="input.x11_driver" contains="wacom">
<match key="input.x11_options.Type" contains="stylus">
<merge key="input.x11_options.USB" type="string">on</merge>
<merge key="input.x11_options.TPCButton" type="string">off</merge>
<merge key="input.x11_options.KeepShape" type="string">off</merge>
<merge key="input.x11_options.Threshold" type="string">1</merge>
<merge key="input.x11_options.PressCurve" type="string">5,0,100,95</merge>
<merge key="input.x11_options.MMonitor" type="string">off</merge>
<merge key="input.x11_options.TwinView" type="string">horizontal</merge>
<merge key="input.x11_options.TVResolution" type="string">1600x1200,1680x1050</merge>
<merge key="input.x11_options.ScreenNo" type="string">0</merge>
<merge key="input.x11_options.Serial" type="string">94379391</merge>
</match>
</match>
<match key="input.x11_driver" contains="wacom">
<match key="input.x11_options.Type" contains="eraser">
<merge key="input.x11_options.USB" type="string">on</merge>
<merge key="input.x11_options.TPCButton" type="string">off</merge>
<merge key="input.x11_options.KeepShape" type="string">off</merge>
<merge key="input.x11_options.Threshold" type="string">1</merge>
<merge key="input.x11_options.PressCurve" type="string">0,5,95,100</merge>
<merge key="input.x11_options.MMonitor" type="string">off</merge>
<merge key="input.x11_options.TwinView" type="string">horizontal</merge>
<merge key="input.x11_options.TVResolution" type="string">1600x1200,1680x1050</merge>
<merge key="input.x11_options.ScreenNo" type="string">0</merge>
</match>
</match>
</device>
<!--device>
<match key="input.x11_driver" contains="wacom">
<match key="input.x11_options.Type" contains="stylus">
<merge key="input.x11_options.USB" type="string">on</merge>
<merge key="input.x11_options.TPCButton" type="string">off</merge>
<merge key="input.x11_options.KeepShape" type="string">on</merge>
<merge key="input.x11_options.Threshold" type="string">1</merge>
<merge key="input.x11_options.PressCurve" type="string">0,5,95,100</merge>
<merge key="input.x11_options.MMonitor" type="string">off</merge>
<merge key="input.x11_options.TwinView" type="string">horizontal</merge>
<merge key="input.x11_options.TVResolution" type="string">1600x1200,1680x1050</merge>
<merge key="input.x11_options.ScreenNo" type="string">0</merge>
<merge key="input.x11_options.Serial" type="string">90178677</merge>
</match>
</match>
</device-->
</deviceinfo>
I say *almst* perfectly because it only works for the first stylus. As you can see, I have an entry commented out for the second stylus there. When it's not commented out, HAL overrules the first stylus with the rules for the second one, meaning that *only* my second stylus is usable. So for now, I have it set so only my first stylus is usable.
I know that I have to give them separate names somehow... but I'm not sure how to do that. Back in xorg is was easy enough to do with the Identifier tag, but in with the fdi I can't seem to figure out where to do that.
I'm pretty sure it has something to do with the differences between the match and merge entries, but at this point, it's Greek to me.
I'm also not sure if I need to enter anything for the "pad" entry that I had in xorg... that's for the custom buttons on the tablet. Also, do I need to do anything to replace the "SendCoreEvents" entries that used to be in xorg?
Bookmarks