2015-10-30 19:15 keltezéssel, Chris Wilson írta:
> On Fri, Oct 30, 2015 at 06:17:50PM +0100, Boszormenyi Zoltan wrote:
>> In my case with this particular POS machine, the intended primary display,
>> the built-in LVDS with a touchscreen attached is apparently wired to pipe 1.
>>
>> With this driver behaviour, I can't configure it to be kept as the default 
>> :0.0 screen
>> if an external display is plugged in. Can this behaviour be changed?
> It would need another user parameter. There are several technical
> limitations that make automatic assignment difficult. So try
>
> commit 94d271b239d358f71ae0bcfcc31422a569d73d41
> Author: Chris Wilson <ch...@chris-wilson.co.uk>
> Date:   Fri Oct 30 18:07:37 2015 +0000
>
>     sna: Allow pipes to be manually assigned to ZaphodHead
> -Chris

Thanks for your work, I just tested it. At startup, it seems to work:
1. it doesn't complain about invalid pipe
2. cursor appears on :0
3. application appears on :0

Then as soon as I touch the touchscreen, the cursor jumps to :1 and
further cursor movements are on :1 from that point.

Attached is my current configuration, hopefully I got it right.

Best regards,
Zoltán Böszörményi

Section "Monitor"
        Identifier "Monitor-LVDS1"
EndSection

Section "Monitor"
        Identifier "Monitor-VGA1"
        #Option "RightOf"  "Monitor-LVDS1"
EndSection

Section "Device"
        Identifier "Intel0"
        Driver     "intel"
        BusID      "PCI:0:2:0"
        Screen     0
        Option      "AccelMethod"  "sna"
        Option     "Monitor-LVDS1" "LVDS1"
        Option     "ZaphodHeads" "1:LVDS1"
        Option     "TearFree" "on"
EndSection

Section "Device"
        Identifier "Intel1"
        Driver     "intel"
        BusID      "PCI:0:2:0"
        Screen     1
        Option      "AccelMethod"  "sna"
        Option     "Monitor-VGA1" "VGA1"
        Option     "ZaphodHeads" "0:VGA1"
        Option     "TearFree" "on"
EndSection

Section "Screen"
        Identifier      "SCREEN0"
        Option          "AutoServerLayout" "on"
        Device          "Intel0"
        Monitor         "Monitor-LVDS1"
        SubSection "Display"
                Viewport 0 0
                Modes "1024x768"
                Depth 24
        EndSubSection
EndSection

Section "Screen"
        Identifier      "SCREEN1"
        Option          "AutoServerLayout" "on"
        Device          "Intel1"
        Monitor         "Monitor-VGA1"
        SubSection "Display"
                Viewport 0 0
                Depth 24
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "LAYOUT"
        Option          "AutoServerLayout" "on"
        Screen 0 "SCREEN0"
        Screen 1 "SCREEN1"
EndSection
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to