Difference between revisions of "Talk:Engage 10"
From Bloominglabs
(Created page with "I have tried to copy everything in my brain about these devices to this page. A lot of it is written in first person, but I expect that to change as other people learn things...") |
|||
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
I have tried to copy everything in my brain about these devices to this page. | I have tried to copy everything in my brain about these devices to this page. | ||
A lot of it is written in first person, but I expect that to change as other people learn things or confirm my suspicions. | A lot of it is written in first person, but I expect that to change as other people learn things or confirm my suspicions. | ||
+ | |||
+ | here is my latest xorg.conf that supports 2 displaylink displays... | ||
+ | |||
+ | <pre> | ||
+ | Section "Device" | ||
+ | Identifier "displaylink device1" | ||
+ | driver "fbdev" | ||
+ | Option "fbdev" "/dev/fb1" | ||
+ | Option "ShadowFB" "off" | ||
+ | Option "Monitor-VGA" "displaylink monitor1" | ||
+ | EndSection | ||
+ | |||
+ | Section "Device" | ||
+ | Identifier "displaylink device2" | ||
+ | driver "fbdev" | ||
+ | Option "fbdev" "/dev/fb2" | ||
+ | Option "ShadowFB" "off" | ||
+ | Option "Monitor-VGA" "displaylink monitor2" | ||
+ | EndSection | ||
+ | |||
+ | Section "Modes" | ||
+ | Identifier "dlmodes" | ||
+ | Modeline "1024x600_60.00" 49.00 1024 1149 1245 1312 600 601 611 624 -hsync +vsync | ||
+ | Modeline "1024x600R" 43.75 1024 1072 1104 1184 600 603 613 619 +hsync -vsync | ||
+ | EndSection | ||
+ | |||
+ | Section "Monitor" | ||
+ | Identifier "displaylink monitor1" | ||
+ | DisplaySize 221 129 | ||
+ | UseModes "dlmodes" | ||
+ | Option "DPMS" "off" | ||
+ | EndSection | ||
+ | |||
+ | Section "Monitor" | ||
+ | Identifier "displaylink monitor2" | ||
+ | DisplaySize 221 129 | ||
+ | UseModes "dlmodes" | ||
+ | Option "DPMS" "off" | ||
+ | EndSection | ||
+ | |||
+ | Section "Screen" | ||
+ | Identifier "displaylink screen1" | ||
+ | Device "displaylink device1" | ||
+ | Monitor "displaylink monitor1" | ||
+ | DefaultDepth 16 | ||
+ | SubSection "Display" | ||
+ | Depth 16 | ||
+ | Modes "1024x600_60.00" | ||
+ | EndSubSection | ||
+ | EndSection | ||
+ | |||
+ | Section "Screen" | ||
+ | Identifier "displaylink screen2" | ||
+ | Device "displaylink device2" | ||
+ | Monitor "displaylink monitor2" | ||
+ | DefaultDepth 16 | ||
+ | SubSection "Display" | ||
+ | Depth 16 | ||
+ | Modes "1024x600_60.00" | ||
+ | EndSubSection | ||
+ | EndSection | ||
+ | |||
+ | Section "ServerLayout" | ||
+ | Identifier "Default Layout" | ||
+ | Screen 0 "displaylink screen1" 0 0 | ||
+ | Screen 1 "displaylink screen2" RightOf "displaylink screen1" | ||
+ | Option "Xinerama" "1" | ||
+ | EndSection | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | |||
+ | ...and this will wrangle the touch panels onto just one monitor each... | ||
+ | |||
+ | <pre> | ||
+ | Section "InputClass" | ||
+ | Identifier "Touch1" | ||
+ | MatchDevicePath "/dev/input/event3" | ||
+ | Option "GrabDevice" "1" | ||
+ | Option "Calibration" "25 4032 184 3982" | ||
+ | Option "SwapAxes" "1" | ||
+ | Option "InvertX" "0" | ||
+ | Option "InvertY" "1" | ||
+ | Option "TransformationMatrix" "0.5 0 0 0 1 0 0 0 1" | ||
+ | EndSection | ||
+ | |||
+ | |||
+ | Section "InputClass" | ||
+ | Identifier "Touch2" | ||
+ | MatchDevicePath "/dev/input/event5" | ||
+ | Option "GrabDevice" "1" | ||
+ | Option "Calibration" "25 4032 184 3982" | ||
+ | Option "SwapAxes" "1" | ||
+ | Option "InvertX" "0" | ||
+ | Option "InvertY" "1" | ||
+ | Option "TransformationMatrix" "0.5 0 0.5 0 1 0 0 0 1" | ||
+ | EndSection | ||
+ | </pre> | ||
+ | |||
+ | [https://en.wikipedia.org/wiki/Affine_transformation#/media/File:2D_affine_transformation_matrix.svg This diagram] helps explain the transformation matrix. | ||
+ | I think there are better options to tie a touch device to a monitor, (maybe "screenno"?) but I got this to work first... | ||
-mouse | -mouse |
Latest revision as of 19:39, 6 January 2017
I have tried to copy everything in my brain about these devices to this page. A lot of it is written in first person, but I expect that to change as other people learn things or confirm my suspicions.
here is my latest xorg.conf that supports 2 displaylink displays...
Section "Device" Identifier "displaylink device1" driver "fbdev" Option "fbdev" "/dev/fb1" Option "ShadowFB" "off" Option "Monitor-VGA" "displaylink monitor1" EndSection Section "Device" Identifier "displaylink device2" driver "fbdev" Option "fbdev" "/dev/fb2" Option "ShadowFB" "off" Option "Monitor-VGA" "displaylink monitor2" EndSection Section "Modes" Identifier "dlmodes" Modeline "1024x600_60.00" 49.00 1024 1149 1245 1312 600 601 611 624 -hsync +vsync Modeline "1024x600R" 43.75 1024 1072 1104 1184 600 603 613 619 +hsync -vsync EndSection Section "Monitor" Identifier "displaylink monitor1" DisplaySize 221 129 UseModes "dlmodes" Option "DPMS" "off" EndSection Section "Monitor" Identifier "displaylink monitor2" DisplaySize 221 129 UseModes "dlmodes" Option "DPMS" "off" EndSection Section "Screen" Identifier "displaylink screen1" Device "displaylink device1" Monitor "displaylink monitor1" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1024x600_60.00" EndSubSection EndSection Section "Screen" Identifier "displaylink screen2" Device "displaylink device2" Monitor "displaylink monitor2" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1024x600_60.00" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen 0 "displaylink screen1" 0 0 Screen 1 "displaylink screen2" RightOf "displaylink screen1" Option "Xinerama" "1" EndSection
...and this will wrangle the touch panels onto just one monitor each...
Section "InputClass" Identifier "Touch1" MatchDevicePath "/dev/input/event3" Option "GrabDevice" "1" Option "Calibration" "25 4032 184 3982" Option "SwapAxes" "1" Option "InvertX" "0" Option "InvertY" "1" Option "TransformationMatrix" "0.5 0 0 0 1 0 0 0 1" EndSection Section "InputClass" Identifier "Touch2" MatchDevicePath "/dev/input/event5" Option "GrabDevice" "1" Option "Calibration" "25 4032 184 3982" Option "SwapAxes" "1" Option "InvertX" "0" Option "InvertY" "1" Option "TransformationMatrix" "0.5 0 0.5 0 1 0 0 0 1" EndSection
This diagram helps explain the transformation matrix. I think there are better options to tie a touch device to a monitor, (maybe "screenno"?) but I got this to work first...
-mouse