On Tue, Aug 14, 2012 at 10:35:40PM +0200, Alexis de BRUYN wrote: > On 14.08.2012 17:58, Matthieu Herrb wrote: > > On Tue, Aug 14, 2012 at 04:39:57PM +0200, Matthieu Herrb wrote: > >> On Tue, Aug 14, 2012 at 10:31:24AM +0200, Alexis de BRUYN wrote: > >>> On 13.08.2012 23:34, Matthieu Herrb wrote: > >>>> On Sun, Aug 12, 2012 at 10:04:17PM +0200, Alexis de BRUYN wrote: > >>>>> On 11.08.2012 23:33, Alexis de BRUYN wrote: > >>>>> I still have my previous issue, but I have another one : while the > >>>>> in-board display device is actived through my xorg.conf, the udl devices > >>>>> are not working too. > >>>> > >>>> Yes, this is a know issue. The OpenBSD-specific part of Xorg has no > >>>> way to handle a dual-screen setup between udl and one (or more) > >>>> regular VGA card(s) on most architectures. > >>> > >>> Thanks Matthieu for your answer. However can it handle multi-screens > >>> with *only* udl devices (without configuring the regular VGA card in > >>> xorg.conf) ? I didn't succeed. > >> > >> Right now, I don't see a reason why 2 udl devices wouldn't work, but > >> I'm not sure I ever tried it. > >> > > > > Ok, just tried it. It fails because the privilege separation code > > refuses to open /dev/ttyE0. Fixed in -current... > > I have reinstalled and rebuilt (incl. xenocara) 5.2/amd64, but I still > have the issue, only udl0 is working, but not the 2 others.
Did you get xserver/os/privsep.c rev 1.25 ? Since I did the commit at the same time I was writing the mail, it may take a few hours more to get make it to all the cvs mirrors. > > [ 421.287] (EE) wsudl(1): We are not attached to the udl driver > [ 421.287] (EE) wsudl(2): We are not attached to the udl driver > > I found something different in dmesg for the 2 others, is that relevant ? > > udl0 at uhub4 port 3 "DisplayLink CONV-USB2DVI" rev 2.00/0.03 addr 8 > wsdisplay1 at udl0 mux 1 > wsdisplay1: screen 0 added (std, vt100 emulation) > [...] > udl1 at uhub6 port 2 "DisplayLink CONV-USB2DVI" rev 2.00/0.03 addr 4 > no data for est. mode 832x768x74 > no data for est. mode 640x480x67 > no data for est. mode 720x400x70 > [...] > wsdisplay2 at udl1 mux 1 > wsdisplay2: screen 0 added (std, vt100 emulation) > udl2 at uhub6 port 3 "DisplayLink CONV-USB2DVI" rev 2.00/0.03 addr 5 > no data for est. mode 832x768x74 > no data for est. mode 640x480x67 > no data for est. mode 720x400x70 > [...] > wsdisplay3 at udl2 mux 1 > wsdisplay3: screen 0 added (std, vt100 emulation) > > **** > # cat /etc/X11/xorg.conf > > > Section "ServerLayout" > Identifier "Server Layout" > Screen 0 "Screen0" 0 0 > Screen 1 "Screen1" LeftOf "Screen0" > Screen 2 "Screen2" RightOf "Screen0" > Option "Xinerama" "On" > EndSection > > Section "Screen" > Identifier "Screen0" > Device "Card0" > EndSection > > Section "Screen" > Identifier "Screen1" > Device "Card1" > EndSection > > Section "Screen" > Identifier "Screen2" > Device "Card2" > EndSection > > Section "Device" > Identifier "Card0" > Driver "wsudl" > Option "Device" "/dev/ttyD0" > EndSection > > Section "Device" > Identifier "Card1" > Driver "wsudl" > Option "Device" "/dev/ttyE0" > EndSection > > Section "Device" > Identifier "Card2" > Driver "wsudl" > Option "Device" "/dev/ttyF0" > EndSection did you create all the /dev/tty[EEF]0 devices with MAKEDEV this time ? In my tests I created explicit display sub-sections too. Generally the xorg.conf parser is a bit flakey in this area, and rejects some configurations for no good reason Here's the working xorg.conf I used (with privsep.c 1.25) for 2 devices: Some parts may be useless, but since it took some fiddling to get this working I stopped there. Section "ServerLayout" Identifier "L1" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" EndSection Section "Device" Identifier "Card0" Driver "wsudl" Option "Device" "/dev/ttyD0" EndSection Section "Device" Identifier "Card1" Driver "wsudl" Option "Device" "/dev/ttyE0" EndSection Section "Monitor" Identifier "Monitor0" EndSection Section "Monitor" Identifier "Monitor1" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Depth 16 Modes "800x480" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Card1" Monitor "Monitor1" SubSection "Display" Depth 16 Modes "1024x768" EndSubSection EndSection -- Matthieu Herrb