As a part of my current project I need to set up a Linux-based workstation with two monitors, both of which are multitouch-enabled (ViewSonic VX2258wm, Quanta touch panel). So, naturally, I set up a dual-head configuration and I connect the touchpanels using USB cables. While dual-head output works just fine, the operating system doesn't differentiate between the first and the second touch panels (so, if the first monitor is active, and I touch the second, the mouse pointer moves to the corresponding coordinates of the first monitor). I understand that the X server knows nothing about which touch panel corresponds to which monitor (since those are logically and, as a matter of fact, physically, different devices).
Does anyone know if it is possible to make such configuration work right? Any suggestions, hints, kludges will be appreciated.