Hi folks, I would like to write up a description of the serial protocol on the wiki; alas, I presently have no write access there.
In any case, I have written a kernel driver for protocol four devices that works for me and my Digitizer II, without any changes to xf86-input-wacom. I have done my best to accomidate other devices supported by the prior driver, but of course these remain untested. No doubt there are still many gotchas, especially since my own testing is not terribly extensive (simple stylus and eraser work in the gimp). You can get the code here: http://cipht.net/2011/07/02/wacom_serial-initial-release.html Please let me know whether this works or not on your devices. Feedback on the code would also be appreciated. I have a few questions or topics to address: It seems to me that it would be cleaner to keep the protocol five device support in a separate driver. Does this seem reasonable? While I don't have one of these devices, if there is interest in having a driver I would be willing to write one. Related to that: I notice in wcmSerial, everything save Intuos and Intuos2 tablets uses protocol four. Are there any devices here which are being run in some kind of compatibility mode, that might be better served by using protocol five? Also, the link speed. I notice that in all the code I've looked at, everything except the protocol five devices is run at 9600 bps, although some reset commands are sent at higher rates (I'm planning to do that from inputattach rather than the driver itself). Are there any protocol four devices which would be better served by running at a faster rate? Does anyone know what the WC_ZFILTER ("ZF\r") does? It's not part of the setup string in older versions of the code, and the comment is clearly wrong in wcmSerial.h. How should macro buttons be reported? As BTN_0..BTN_F key events? I have avoided adding support for this yet as I'm not sure what event to send, and what devices should be reported as in proximity in this case. Thanks in advance. -- Julian Squires ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
