[Libdlo] module loads and unloads

Mulchman mulchman at gmail.com
Wed Jun 24 11:42:05 PDT 2009


I apologize in advance if this message appears out of whack with the
rest of the "module loads and unloads" thread. I've just subscribed to
the list and am trying to post so that the message appears in that
thread since I'm getting a similar error message that S.K Han was/is
getting.

In one of S.K Han's posts in the "module loads and unloads" thread this
X log snippet was posted:

> -----------log-------------
> (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 12 15:59:22 2009
> (==) Using config file: "/etc/X11/xorg.conf"
> (EE) DL(0): Unknown EDID version 162
> (EE) DL(0): Unknown EDID version 163


I'm getting something similar except the number following "version" is
zero. Here are the DisplayLink snippets from Xorg.0.log:

-----------Xorg.0.log-------------

(II) Module displaylink: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 0.0.1
    ABI class: X.Org Video Driver, version 5.0
(II) DL: driver for : displaylink
(WW) Falling back to old probe method for displaylink
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux//libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 0.0.2
    ABI class: X.Org Video Driver, version 5.0
(II) DL(0): using /dev/fb0
(II) resource ranges after probing:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[B]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[B]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[B]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[B]
(EE) DL(0): Unknown EDID version 0
(**) DL(0): Depth 24, (--) framebuffer bpp 32
(==) DL(0): RGB weight 888
(==) DL(0): Default visual is TrueColor
(==) DL(0): Using gamma correction (1.0, 1.0, 1.0)
(II) DL(0): hardware: Sewell DVI Card (video memory: 2560kB)
(**) DL(0): Option "fbdev" "/dev/fb0"
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) DL(0): Output Sewell DVI Card using monitor section Monitor2
(EE) DL(0): Unknown EDID version 0



My xorg.conf looks like this (only pasting DisplayLink related items):

-----------Xorg.0.log-------------

Section "Device"
    Identifier    "dl0"
    driver        "displaylink"
    Option    "fbdev"    "/dev/fb0"
EndSection

Section "Screen"
    Identifier    "Screen2"
    Device         "dl0"
    Monitor     "Monitor2"
    DefaultDepth    24
    SubSection "Display"
        Depth    24
        Modes    "1280x1024"
    EndSubSection
EndSection

Section "Monitor"
    Identifier    "Monitor2"
    HorizSync       30.0 - 82.0
    VertRefresh     56.0 - 76.0
    Option        "DPMS"
EndSection

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen           "Screen2" RightOf "Screen1" # This line I toggle
on/off as mentioned next
EndSection


With the "Screen2" line from "ServerLayout" commented out (and even with
it enabled) I get a green screen on the DisplayLink device when booting
but it turns black once the Ubuntu loading progress bar has finished and
the login screen is about to show. With the line "Screen2" from
"ServerLayout" enabled I'm forced into a console mode on the DisplayLink
device where I usually end up removing the "Screen2" line from
"ServerLayout" through emacs and rebooting as the other two displays are
black at this time and I end up with the Xorg.0.log shown above (& X
fails to start). With the "Screen2" line from "ServerLayout" commented
out everything boots fine and I can get into X (Gnome, specifically) but
once the login screen is shown the DisplayLink device goes black.
Unplugging the device and plugging it back in gets the DisplayLink
device to show a green screen again.

I'm using libdlo from git and the "udlfb 0.2.3 and
xf86-video-displaylink 0.3" package from a prior thread. (It's unclear
to me whether the latter package requires libdlo but I downloaded and
compiled it anyway to test the device through it's "make check" option
in the Makefile.) When running "make check" from libdlo I do see a bunch
of stuff display on the DisplayLink device so that aspect seems to be
working fine. After make check is done there are no indications in the
console that any errors occurred. It's when I try to add the DisplayLink
device to xorg.conf (to have a 3rd monitor) and use Roberto's
udlfb/xf86-video-displaylink package that it has the "Unknown EDID
version 0" message in the Xorg.0.log.

For compiling udlfb the steps I took were "make && sudo make install"
(as the README file is 0 bytes and I couldn't find any other documentation).

For compiling xf86-video-displaylink the steps I took were "./configure
&& make && sudo make install". (I couldn't find any other documentation
detailing how the lib should be compiled.)


Typical dmesg output from plugging in the DisplayLink device while in
Gnome looks like this:

-----------dmesg-------------

[   69.055834] Console: switching to colour VGA+ 80x25
[   69.056045] DisplayLink device disconnected
[   72.960014] usb 1-3: new high speed USB device using ehci_hcd and
address 5
[   73.095789] usb 1-3: configuration #1 chosen from 1 choice
[   73.099934] DisplayLink device attached
[   73.100097] ret control msg 0: 4 0500fffffff0
[   73.180193] EDID XRES 1280 YRES 1024
[   73.180196] INIT VIDEO 0 800 480
[   73.180197] INIT VIDEO 1 1024 768
[   73.180199] INIT VIDEO 2 1280 1024
[   73.180564] ret control msg 1 (STD_CHANNEL): 16
[   73.180705] ret bulk 2: 156 156
[   73.180812] ret bulk 3: 0
[   73.180814] found valid mode...9259
[   73.181376] screen base allocated !!!
[   73.182059] colormap allocated
[   73.182231] Console: switching to colour frame buffer device 160x64

... which to me looks like everything is just fine.


I'm running Ubuntu 9.04 64 bit & 'uname -a' reports: Linux wamu
2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:55:09 UTC 2009 x86_64
GNU/Linux



With all that said, does anyone have any insights on the "Unknown EDID
version 0" message or some other things I could try or other insights?

-Pat O'Leary


More information about the Libdlo mailing list