On 02.08.2012 22:31, Alexis de BRUYN wrote: > On 02.08.2012 21:48, Matthieu Herrb wrote: >> >> This is the xorg.conf I use to test wsudl: >> >> Section "Devicë >> Identifier "Card0" >> Driver "wsudl" >> Option "Devicë "/dev/ttyD0" >> EndSection >> >> (Yes that's it. Modern X can figure out everything else). > Thanks for your help Matthieu, but I still have the issue (with OpenBSD > snapshot amd64) : > > [ 22191.865] (II) LoadModule: "wsudl" > [ 22191.865] (II) Loading /usr/X11R6/lib/modules/drivers/wsudl_drv.so > [ 22191.865] (II) Module wsudl: vendor="X.Org Foundation" > [ 22191.865] compiled for 1.12.2, module version = 0.2.1 > [ 22191.865] ABI class: X.Org Video Driver, version 12.0 > [ 22191.865] (II) wsudl: driver for: DisplayLink > [ 22191.865] (WW) Falling back to old probe method for wsudl > [ 22191.865] (II) wsudl(0): using /dev/ttyD0 > [ 22191.865] (EE) wsudl(0): We are not attached to the udl driver > [ 22191.865] (II) UnloadModule: "wsudl" > [ 22191.865] (EE) Screen(s) found, but none have a usable configuration. > [ 22191.865] > Fatal server error: > [ 22191.865] no screens found > Hi Everybody,
I have restarted my tests, and found that /dev/ttyDO was missing, so I did a sh MAKEDEV ttyD0 in /dev and now I can launch X. Thanks Matthieu. I am trying now to add a second usb display : udl0 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 max_dotclock according to supported modes: 162000 wsdisplay1 at udl0 mux 1 wsdisplay1: screen 0 added (std, vt100 emulation) udl1 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 max_dotclock according to supported modes: 162000 wsdisplay2 at udl1 mux 1 wsdisplay2: screen 0 added (std, vt100 emulation) So I did sh MAKEDEV ttyD1, and modify my xorg.conf like, Section "ServerLayout" Identifier "Server Layout" Screen 0 "Screen1" 0 0 Screen 1 "Screen2" RightOf "Screen1" Option "Xinerama" "On" EndSection Section "Screen" Identifier "Screen1" Device "Card1" EndSection Section "Screen" Identifier "Screen2" Device "Card2" EndSection Section "Device" Identifier "Card1" Driver "wsudl" Option "Device" "/dev/ttyD0" EndSection Section "Device" Identifier "Card2" Driver "wsudl" Option "Device" "/dev/ttyD1" EndSection I have just one display working and the following error (complete log after) : [377893.438] (EE) wsudl(1): We are not attached to the udl driver Is my xorg.conf right? Do I need to be more specific with BusID? Can I use more than one ttyD* device? Thanks again for your help. Here my Xorg.0.log ---- # cat /var/log/Xorg.0.log [378524.137] (--) checkDevMem: using aperture driver /dev/xf86 [378524.151] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32) [378524.227] X.Org X Server 1.11.4 Release Date: 2012-01-27 [378524.227] X Protocol Version 11, Revision 0 [378524.227] Build Operating System: OpenBSD 5.1 amd64 [378524.227] Current Operating System: OpenBSD test 5.1 GENERIC#0 amd64 [378524.227] Build Date: 11 February 2012 09:52:29PM [378524.227] [378524.227] Current version of pixman: 0.22.2 [378524.227] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [378524.227] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [378524.228] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 11 18:41:27 2012 [378524.247] (==) Using config file: "/etc/X11/xorg.conf" [378524.247] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [378524.272] (==) ServerLayout "Server Layout" [378524.272] (**) |-->Screen "Screen1" (0) [378524.272] (**) | |-->Monitor "<default monitor>" [378524.297] (**) | |-->Device "Card1" [378524.297] (==) No monitor specified for screen "Screen1". Using a default monitor configuration. [378524.297] (**) |-->Screen "Screen2" (1) [378524.297] (**) | |-->Monitor "<default monitor>" [378524.297] (**) | |-->Device "Card2" [378524.297] (==) No monitor specified for screen "Screen2". Using a default monitor configuration. [378524.297] (**) Option "Xinerama" "On" [378524.297] (==) Disabling SIGIO handlers for input devices [378524.297] (==) Automatically adding devices [378524.297] (==) Automatically enabling devices [378524.313] (**) Xinerama: enabled [378524.428] (==) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [378524.428] (==) ModulePath set to "/usr/X11R6/lib/modules" [378524.428] (II) The server relies on wscons to provide the list of input devices. If no devices become available, reconfigure wscons or disable AutoAddDevices. [378524.439] (II) Loader magic: 0x79e220 [378524.439] (II) Module ABI versions: [378524.439] X.Org ANSI C Emulation: 0.4 [378524.439] X.Org Video Driver: 11.0 [378524.439] X.Org XInput driver : 13.0 [378524.439] X.Org Server Extension : 6.0 [378524.442] (--) PCI:*(0:0:2:0) 8086:0116:106b:00e7 rev 9, Mem @ 0xa0000000/4194304, 0x90000000/268435456, I/O @ 0x00002000/64 [378524.442] (II) LoadModule: "extmod" [378524.464] (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so [378524.472] (II) Module extmod: vendor="X.Org Foundation" [378524.472] compiled for 1.11.4, module version = 1.0.0 [378524.472] Module class: X.Org Server Extension [378524.472] ABI class: X.Org Server Extension, version 6.0 [378524.472] (II) Loading extension MIT-SCREEN-SAVER [378524.472] (II) Loading extension XFree86-VidModeExtension [378524.472] (II) Loading extension XFree86-DGA [378524.472] (II) Loading extension DPMS [378524.472] (II) Loading extension XVideo [378524.472] (II) Loading extension XVideo-MotionCompensation [378524.472] (II) Loading extension X-Resource [378524.472] (II) LoadModule: "dbe" [378524.473] (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.so [378524.477] (II) Module dbe: vendor="X.Org Foundation" [378524.477] compiled for 1.11.4, module version = 1.0.0 [378524.477] Module class: X.Org Server Extension [378524.477] ABI class: X.Org Server Extension, version 6.0 [378524.477] (II) Loading extension DOUBLE-BUFFER [378524.477] (II) LoadModule: "glx" [378524.477] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [378524.483] (II) Module glx: vendor="X.Org Foundation" [378524.484] compiled for 1.11.4, module version = 1.0.0 [378524.484] ABI class: X.Org Server Extension, version 6.0 [378524.484] (==) AIGLX enabled [378524.484] (II) Loading extension GLX [378524.484] (II) LoadModule: "record" [378524.485] (II) Loading /usr/X11R6/lib/modules/extensions/librecord.so [378524.485] (II) Module record: vendor="X.Org Foundation" [378524.486] compiled for 1.11.4, module version = 1.13.0 [378524.486] Module class: X.Org Server Extension [378524.486] ABI class: X.Org Server Extension, version 6.0 [378524.486] (II) Loading extension RECORD [378524.486] (II) LoadModule: "dri" [378524.486] (II) Loading /usr/X11R6/lib/modules/extensions/libdri.so [378524.495] (II) Module dri: vendor="X.Org Foundation" [378524.495] compiled for 1.11.4, module version = 1.0.0 [378524.495] ABI class: X.Org Server Extension, version 6.0 [378524.495] (II) Loading extension XFree86-DRI [378524.495] (II) LoadModule: "dri2" [378524.496] (II) Loading /usr/X11R6/lib/modules/extensions/libdri2.so [378524.496] (II) Module dri2: vendor="X.Org Foundation" [378524.496] compiled for 1.11.4, module version = 1.2.0 [378524.496] ABI class: X.Org Server Extension, version 6.0 [378524.496] (II) Loading extension DRI2 [378524.496] (II) LoadModule: "wsudl" [378524.497] (II) Loading /usr/X11R6/lib/modules/drivers/wsudl_drv.so [378524.501] (II) Module wsudl: vendor="X.Org Foundation" [378524.501] compiled for 1.11.4, module version = 0.2.1 [378524.501] ABI class: X.Org Video Driver, version 11.0 [378524.501] (II) wsudl: driver for: DisplayLink [378524.501] (WW) Falling back to old probe method for wsudl [378524.502] (II) Loading /usr/X11R6/lib/modules/drivers/wsudl_drv.so [378524.502] (II) wsudl(0): using /dev/ttyD0 [378524.502] (II) Loading /usr/X11R6/lib/modules/drivers/wsudl_drv.so [378524.502] (II) wsudl(1): using /dev/ttyD1 [378524.502] (II) wsudl(0): Creating default Display subsection in Screen section "Screen1" for depth/fbbpp 16/16 [378524.502] (==) wsudl(0): Depth 16, (--) framebuffer bpp 16 [378524.502] (==) wsudl(0): RGB weight 565 [378524.502] (==) wsudl(0): Default visual is TrueColor [378524.502] (==) wsudl(0): Using gamma correction (1.0, 1.0, 1.0) [378524.502] (II) wsudl(0): Vidmem: 4050k [378524.502] (==) wsudl(0): DPI set to (96, 96) [378524.502] (II) Loading sub module "fb" [378524.502] (II) LoadModule: "fb" [378524.510] (II) Loading /usr/X11R6/lib/modules/libfb.so [378524.517] (II) Module fb: vendor="X.Org Foundation" [378524.517] compiled for 1.11.4, module version = 1.0.0 [378524.517] ABI class: X.Org ANSI C Emulation, version 0.4 [378524.517] (EE) wsudl(1): We are not attached to the udl driver [378524.517] (II) UnloadModule: "wsudl" [378524.517] (II) Unloading wsudl [378524.537] (==) wsudl(0): Backing store disabled [378524.561] (==) RandR enabled [378524.561] (II) Initializing built-in extension Generic Event Extension [378524.561] (II) Initializing built-in extension SHAPE [378524.561] (II) Initializing built-in extension MIT-SHM [378524.561] (II) Initializing built-in extension XInputExtension [378524.561] (II) Initializing built-in extension XTEST [378524.561] (II) Initializing built-in extension BIG-REQUESTS [378524.561] (II) Initializing built-in extension SYNC [378524.561] (II) Initializing built-in extension XKEYBOARD [378524.561] (II) Initializing built-in extension XC-MISC [378524.561] (II) Initializing built-in extension SECURITY [378524.561] (II) Initializing built-in extension XINERAMA [378524.561] (II) Initializing built-in extension XFIXES [378524.561] (II) Initializing built-in extension RENDER [378524.561] (II) Initializing built-in extension RANDR [378524.561] (II) Initializing built-in extension COMPOSITE [378524.561] (II) Initializing built-in extension DAMAGE [378524.575] (II) AIGLX: Screen 0 is not DRI2 capable [378524.576] (II) AIGLX: Screen 0 is not DRI capable [378524.667] (II) AIGLX: Loaded and initialized swrast [378524.667] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [378525.097] (II) config/wscons: checking input device /dev/wskbd [378525.097] (II) wskbd: using layout fr [378525.117] (II) LoadModule: "kbd" [378525.117] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so [378525.126] (II) Module kbd: vendor="X.Org Foundation" [378525.126] compiled for 1.11.4, module version = 1.6.1 [378525.126] Module class: X.Org XInput Driver [378525.127] ABI class: X.Org XInput driver, version 13.0 [378525.127] (II) Using input driver 'kbd' for '/dev/wskbd' [378525.127] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so [378525.127] (**) /dev/wskbd: always reports core events [378525.127] (**) /dev/wskbd: always reports core events [378525.127] (**) Option "Protocol" "standard" [378525.127] (**) Option "XkbRules" "base" [378525.127] (**) Option "XkbModel" "pc105" [378525.127] (**) Option "XkbLayout" "fr" [378525.127] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6) [378525.162] (II) config/wscons: checking input device /dev/wsmouse [378525.162] (II) LoadModule: "ws" [378525.163] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so [378525.163] (II) Module ws: vendor="X.Org Foundation" [378525.163] compiled for 1.11.4, module version = 1.3.0 [378525.163] Module class: X.Org XInput Driver [378525.163] ABI class: X.Org XInput driver, version 13.0 [378525.163] (II) Using input driver 'ws' for '/dev/wsmouse' [378525.163] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so [378525.164] (**) /dev/wsmouse: always reports core events [378525.164] (II) ws: /dev/wsmouse: debuglevel 0 [378525.164] (**) Option "Device" "/dev/wsmouse" [378525.164] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5 [378525.164] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7 [378525.164] (**) ws: /dev/wsmouse: associated screen: 0 [378525.164] (II) ws: /dev/wsmouse: minimum x position: 0 [378525.164] (II) ws: /dev/wsmouse: maximum x position: 1919 [378525.164] (II) ws: /dev/wsmouse: minimum y position: 0 [378525.164] (II) ws: /dev/wsmouse: maximum y position: 1079 [378525.164] (==) ws: /dev/wsmouse: Buttons: 7 [378525.165] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5 [378525.165] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 7) [378525.165] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1 [378525.165] (**) /dev/wsmouse: (accel) acceleration profile 0 [378525.165] (**) /dev/wsmouse: (accel) acceleration factor: 2.000 [378525.165] (**) /dev/wsmouse: (accel) acceleration threshold: 4 -- Alexis de BRUYN