Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question

migrated from serverfault.com Aug 23 '11 at 11:01

This question came from our site for professional system and network administrators.

    
good luck. (i predict pain!) –  Sirex Aug 23 '11 at 10:16
2  
Yes, it should be possible to differentiate between the two input devices and map them to the displays, but you will end up doing a full manual configuration of your x.org server. I did something like that many years ago, but the config files I used are long gone and I don't remember the details, only that it worked. Also, I have no clue if x.org is able to handle any kind of multitouch. –  SvW Aug 23 '11 at 10:22
add comment

1 Answer 1

You need to setup the two input devices manually in xorg.conf and specify the offset for each one so that they map to the correct location in your overall X screen setup.

Each input driver will need to be specifically mapped by to the ID of the device it corresponds to. Not specifying this will cause the driver to take over ANY matching devices.

After you have two separate input devices working, you just need to use the corresponding option for whatever the driver is to specify the coordinate space or offset.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.