On Thu, May 27, 2010 at 12:37 PM, Owain Ainsworth <zer...@googlemail.com> wrote:
> On Thu, May 27, 2010 at 11:02:10AM -0400, Bryan Vyhmeister wrote:
>> Using your patches as a starting point, I was able to get the device
>> recognized as udl0 and attach to wsdisplay1. Does anyone have a
>> working xorg.conf that uses wsudl as a second display? I have tried a
>> bunch of different options but keep getting errors. I want to verify
>> that this device can even work and then I'll submit the patches back
>> to the list. Thank you.
>
> Try using just udl for X at first to make sure it is working. Then play
> with multi-head.

That's a good idea but I couldn't get it to work either. Below are the
xorg.conf and Xorg.0.log. I believe the problem is stated here:

(EE) wsudl(0): We are not attached to the udl driver

I'm just not sure how to go about fixing this.

Bryan


Section "ServerLayout"
       Identifier     "X.org Configured"
       Screen      0  "Screen0" 0 0
       InputDevice    "Mouse0" "CorePointer"
       InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
       ModulePath   "/usr/X11R6/lib/modules"
       FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
       FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
       FontPath     "/usr/X11R6/lib/X11/fonts/OTF"
       FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
       FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
       FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
       Load  "dbe"
       Load  "dri"
       Load  "dri2"
       Load  "extmod"
       Load  "glx"
EndSection

Section "InputDevice"
       Identifier  "Keyboard0"
       Driver      "kbd"
EndSection

Section "InputDevice"
       Identifier  "Mouse0"
       Driver      "mouse"
       Option      "Protocol" "wsmouse"
       Option      "Device" "/dev/wsmouse"
       Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
       Identifier   "Monitor0"
       VendorName   "Monitor Vendor"
       ModelName    "Monitor Model"
EndSection

Section "Device"
       Identifier  "Card0"
       Driver      "wsudl"
EndSection

Section "Screen"
       Identifier "Screen0"
       Device     "Card0"
       Monitor    "Monitor0"
       SubSection "Display"
               Viewport   0 0
               Depth     24
       EndSubSection
EndSection

(--) checkDevMem: using aperture driver /dev/xf86
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.7 i386
Current Operating System: OpenBSD myhostname 4.7 GENERIC.MP#0 i386
Build Date: 26 May 2010  10:02:59PM

       Before reporting problems, check http://wiki.x.org
       to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
       (++) from command line, (!!) notice, (II) informational,
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 27 13:58:25 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Not automatically adding devices
(==) Not automatically enabling devices
(**) 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/,
       /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/
(**) ModulePath set to "/usr/X11R6/lib/modules"
(II) Loader magic: 0x7ec0
(II) Module ABI versions:
       X.Org ANSI C Emulation: 0.4
       X.Org Video Driver: 5.0
       X.Org XInput driver : 4.0
       X.Org Server Extension : 2.0
(II) Loader running on openbsd
(--) PCI:*(0:0:2:0) 8086:27ae:17aa:3870 Intel 82945GME Video rev 3,
Mem @ 0x98280000/524288, 0x80000000/268435456, 0x98300000/262144, I/O
@ 0x000060c0/8
(--) PCI: (0:0:2:1) 8086:27a6:17aa:3870 Intel 82945GM Video rev 3, Mem
@ 0x98200000/524288
(II) System resource ranges:
       [0] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
       [1] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
       [2] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
       [3] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
       [4] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also
specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also
specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also
specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also
specified in the config file.
(II) "dri2" will be loaded. This was enabled by default and also
specified in the config file.
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
       compiled for 1.6.5, module version = 1.0.0
       Module class: X.Org Server Extension
       ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
       compiled for 1.6.5, module version = 1.0.0
       ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/X11R6/lib/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
       compiled for 1.6.5, module version = 1.1.0
       ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
       compiled for 1.6.5, module version = 1.0.0
       Module class: X.Org Server Extension
       ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
       compiled for 1.6.5, module version = 1.0.0
       ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "wsudl"
(II) Loading /usr/X11R6/lib/modules/drivers//wsudl_drv.so
(II) Module wsudl: vendor="X.Org Foundation"
       compiled for 1.6.5, module version = 0.0.1
       ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
       compiled for 1.6.5, module version = 1.4.0
       Module class: X.Org XInput Driver
       ABI class: X.Org XInput driver, version 4.0
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
       compiled for 1.6.5, module version = 1.3.2
       Module class: X.Org XInput Driver
       ABI class: X.Org XInput driver, version 4.0
(II) wsudl: driver for: DisplayLink
(WW) Falling back to old probe method for wsudl
(II) wsudl(0): using default device
(II) Running in FRAMEBUFFER Mode
(EE) wsudl(0): We are not attached to the udl driver
(II) UnloadModule: "wsudl"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional
information.

Reply via email to