[Libdlo] Sheevaplug and UM-720S Intermittent failure to display
Todd McCandlish
mccandlt at gmail.com
Fri May 28 13:34:49 PDT 2010
I have "simplified" my setup a little bit to try and isolate the issue
but I still have had no luck. My setup now just has a base debian
install without the GDM environment. I then added the
x-windows-system-core so that I could run X.
As far a I can tell I do not have the fbcon module.
# modinfo fbcon
ERROR: modinfo: could not find module fbcon
# lsmod
Module Size Used by
usbhid 35546 0
hid 62858 1 usbhid
udlfb 13909 2
fb 38994 5 udlfb
fb_sys_fops 1041 1 udlfb
sysimgblt 1717 1 udlfb
sysfillrect 2836 1 udlfb
syscopyarea 2604 1 udlfb
joydev 8009 0
evdev 6582 1
usbtouchscreen 7449 0
ipv6 253189 18
ext2 55407 1
loop 11411 0
mv_cesa 4648 0
aes_generic 32820 1 mv_cesa
ext3 111008 2
jbd 37430 1 ext3
mbcache 4860 2 ext2,ext3
mmc_block 7658 5
ehci_hcd 35122 0
mvsdio 5318 0
usbcore 121948 5 usbhid,udlfb,usbtouchscreen,ehci_hcd
mv643xx_eth 22562 0
nls_base 5367 1 usbcore
mmc_core 49980 2 mmc_block,mvsdio
libphy 14240 1 mv643xx_eth
I have compiled the libdlo and executed the "make test" The graphics
are displayed and the test passes
When I launch Xorg by itself by entering X -retro at the prompt I get
the retro splash screen with the cursor that I can control. If I kill
X and run it again I get the flashing sequence of colors as I
originally mentioned. If I kill X and enter the same command again I
get the retro screen. I can keep repeating that for a very long time.
So to me it seems like the low level fb driver is ok and it is
something with the X start up.
Here is my xorg.conf
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "touchscreen"
Driver "evdev"
Option "Device" "/dev/input/event0"
Option "DeviceName" "touchscreen"
Option "MinX" "619"
Option "MinY" "957"
Option "MaxX" "32116"
Option "MaxY" "31299"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons" "false"
# Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
Option "InvertY" "1"
Option "InvertX" "1"
EndSection
#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
#EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
ModulePath "/usr/local/lib/xorg/modules"
EndSection
############### DisplayLink Stuff ###############
Section "Device"
Identifier "DisplayLinkDevice"
driver "displaylink"
# driver "fbdev"
Option "fbdev" "/dev/fb0"
EndSection
Section "Monitor"
Identifier "DisplayLinkMonitor"
EndSection
Section "Screen"
Identifier "DisplayLinkScreen"
Device "DisplayLinkDevice"
Monitor "DisplayLinkMonitor"
# SubSection "Display"
# Depth 16
# Modes "800x480"
# EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "DisplayLinkScreen"
InputDevice "touchscreen"
EndSection
This is a dump of my xorg.0.log of a case when the screen flashes
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-rc9 armv5tel Debian
Current Operating System: Linux ACAMS 2.6.32-3-kirkwood #1 Sat Feb 27
14:27:55 UTC 2010 armv5tel
Kernel command line: console=ttyS0,115200
Build Date: 06 May 2010 01:12:29AM
xorg-server 2:1.7.7-1 (Julien Cristau <jcristau at debian.org>)
Current version of pixman: 0.16.4
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: Fri May 28 16:32:14 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) ServerLayout "Default Layout"
(**) |-->Screen "DisplayLinkScreen" (0)
(**) | |-->Monitor "DisplayLinkMonitor"
(**) | |-->Device "DisplayLinkDevice"
(**) |-->Input Device "touchscreen"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in
"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
Entry deleted from font path.
(Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
(**) ModulePath set to "/usr/lib/xorg/modules,/usr/local/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable
AutoAddDevices.
(II) Loader magic: 0x1a698c
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 2
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(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: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, 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: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, 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/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "displaylink"
(II) Loading /usr/local/lib/xorg/modules/drivers/displaylink_drv.so
(II) Module displaylink: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 0.0.1
ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.7.6.901, module version = 2.3.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.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.7.7, module version = 0.0.2
ABI class: X.Org Video Driver, version 6.0
(II) DL(0): using /dev/fb0
(II) DL(0): Manufacturer: NAV Model: 10 Serial#: 700
(II) DL(0): Year: 2008 Week: 30
(II) DL(0): EDID Version: 1.3
(II) DL(0): Digital Display Input
(II) DL(0): Max Image Size [cm]: horiz.: 8 vert.: 5
(II) DL(0): Gamma: 2.20
(II) DL(0): No DPMS capabilities specified
(II) DL(0): Supported color encodings: RGB 4:4:4
(II) DL(0): First detailed timing not preferred mode in violation of standard!
(II) DL(0): redX: 0.640 redY: 0.330 greenX: 0.300 greenY: 0.600
(II) DL(0): blueX: 0.150 blueY: 0.060 whiteX: 0.312 whiteY: 0.329
(II) DL(0): Manufacturer's mask: 0
(II) DL(0): Supported detailed timing:
(II) DL(0): clock: 33.0 MHz Image Size: 152 x 91 mm
(II) DL(0): h_active: 800 h_sync: 840 h_sync_end 968 h_blank_end
1056 h_border: 0
(II) DL(0): v_active: 480 v_sync: 481 v_sync_end 484 v_blanking: 505
v_border: 0
(II) DL(0): Ranges: V min: 59 V max: 63 Hz, H min: 29 H max: 33 kHz,
PixClock max 40 MHz
(II) DL(0): Monitor name: NANOVISION
(II) DL(0): Serial No: U7098300142
(II) DL(0): EDID (in hex):
(II) DL(0): 00ffffffffffff0038361000bc020000
(II) DL(0): 1e1201038008057800ee91a3544c9926
(II) DL(0): 0f505400000001010101010101010101
(II) DL(0): 010101010101e40c200031e019102880
(II) DL(0): 1300985b0000001e000000fd003b3f1d
(II) DL(0): 2104000a202020202020000000fc004e
(II) DL(0): 414e4f564953494f4e0a0a0a000000ff
(II) DL(0): 0055373039383330303134320a0a002c
(II) DL(0): Creating default Display subsection in Screen section
"DisplayLinkScreen" for depth/fbbpp 16/16
(==) DL(0): Depth 16, (==) framebuffer bpp 16
(==) DL(0): RGB weight 565
(==) DL(0): Default visual is TrueColor
(==) DL(0): Using gamma correction (1.0, 1.0, 1.0)
(II) DL(0): hardware: udlfb (video memory: 752kB)
(**) 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.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) DL(0): Output udlfb using monitor section DisplayLinkMonitor
(II) DL(0): EDID for output udlfb
(II) DL(0): Manufacturer: NAV Model: 10 Serial#: 700
(II) DL(0): Year: 2008 Week: 30
(II) DL(0): EDID Version: 1.3
(II) DL(0): Digital Display Input
(II) DL(0): Max Image Size [cm]: horiz.: 8 vert.: 5
(II) DL(0): Gamma: 2.20
(II) DL(0): No DPMS capabilities specified
(II) DL(0): Supported color encodings: RGB 4:4:4
(II) DL(0): First detailed timing not preferred mode in violation of standard!
(II) DL(0): redX: 0.640 redY: 0.330 greenX: 0.300 greenY: 0.600
(II) DL(0): blueX: 0.150 blueY: 0.060 whiteX: 0.312 whiteY: 0.329
(II) DL(0): Manufacturer's mask: 0
(II) DL(0): Supported detailed timing:
(II) DL(0): clock: 33.0 MHz Image Size: 152 x 91 mm
(II) DL(0): h_active: 800 h_sync: 840 h_sync_end 968 h_blank_end
1056 h_border: 0
(II) DL(0): v_active: 480 v_sync: 481 v_sync_end 484 v_blanking: 505
v_border: 0
(II) DL(0): Ranges: V min: 59 V max: 63 Hz, H min: 29 H max: 33 kHz,
PixClock max 40 MHz
(II) DL(0): Monitor name: NANOVISION
(II) DL(0): Serial No: U7098300142
(II) DL(0): EDID (in hex):
(II) DL(0): 00ffffffffffff0038361000bc020000
(II) DL(0): 1e1201038008057800ee91a3544c9926
(II) DL(0): 0f505400000001010101010101010101
(II) DL(0): 010101010101e40c200031e019102880
(II) DL(0): 1300985b0000001e000000fd003b3f1d
(II) DL(0): 2104000a202020202020000000fc004e
(II) DL(0): 414e4f564953494f4e0a0a0a000000ff
(II) DL(0): 0055373039383330303134320a0a002c
(II) DL(0): EDID vendor "NAV", prod id 16
(II) DL(0): Using EDID range info for horizontal sync
(II) DL(0): Using EDID range info for vertical refresh
(II) DL(0): Printing DDC gathered Modelines:
(II) DL(0): Modeline "800x480"x0.0 33.00 800 840 968 1056 480 481
484 505 +hsync +vsync (31.2 kHz)
(II) DL(0): EDID vendor "NAV", prod id 16
(II) DL(0): EDID for output udlfb
(II) DL(0): Manufacturer: NAV Model: 10 Serial#: 700
(II) DL(0): Year: 2008 Week: 30
(II) DL(0): EDID Version: 1.3
(II) DL(0): Digital Display Input
(II) DL(0): Max Image Size [cm]: horiz.: 8 vert.: 5
(II) DL(0): Gamma: 2.20
(II) DL(0): No DPMS capabilities specified
(II) DL(0): Supported color encodings: RGB 4:4:4
(II) DL(0): First detailed timing not preferred mode in violation of standard!
(II) DL(0): redX: 0.640 redY: 0.330 greenX: 0.300 greenY: 0.600
(II) DL(0): blueX: 0.150 blueY: 0.060 whiteX: 0.312 whiteY: 0.329
(II) DL(0): Manufacturer's mask: 0
(II) DL(0): Supported detailed timing:
(II) DL(0): clock: 33.0 MHz Image Size: 152 x 91 mm
(II) DL(0): h_active: 800 h_sync: 840 h_sync_end 968 h_blank_end
1056 h_border: 0
(II) DL(0): v_active: 480 v_sync: 481 v_sync_end 484 v_blanking: 505
v_border: 0
(II) DL(0): Ranges: V min: 59 V max: 63 Hz, H min: 29 H max: 33 kHz,
PixClock max 40 MHz
(II) DL(0): Monitor name: NANOVISION
(II) DL(0): Serial No: U7098300142
(II) DL(0): EDID (in hex):
(II) DL(0): 00ffffffffffff0038361000bc020000
(II) DL(0): 1e1201038008057800ee91a3544c9926
(II) DL(0): 0f505400000001010101010101010101
(II) DL(0): 010101010101e40c200031e019102880
(II) DL(0): 1300985b0000001e000000fd003b3f1d
(II) DL(0): 2104000a202020202020000000fc004e
(II) DL(0): 414e4f564953494f4e0a0a0a000000ff
(II) DL(0): 0055373039383330303134320a0a002c
(II) DL(0): EDID vendor "NAV", prod id 16
(II) DL(0): Using hsync ranges from config file
(II) DL(0): Using vrefresh ranges from config file
(II) DL(0): Printing DDC gathered Modelines:
(II) DL(0): Modeline "800x480"x0.0 33.00 800 840 968 1056 480 481
484 505 +hsync +vsync (31.2 kHz)
(II) DL(0): EDID vendor "NAV", prod id 16
(II) DL(0): Printing probed modes for output udlfb
(II) DL(0): Modeline "800x480"x61.9 33.00 800 840 968 1056 480 481
484 505 +hsync +vsync (31.2 kHz)
(II) DL(0): Output udlfb connected
(II) DL(0): Using exact sizes for initial modes
(II) DL(0): Output udlfb using initial mode 800x480
(II) DL(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
(--) DL(0): Virtual size is 800x480 (pitch 0)
(**) DL(0): Driver mode "800x480": 33.0 MHz (scaled from 0.0 MHz),
31.2 kHz, 61.9 Hz
(II) DL(0): Modeline "800x480"x61.9 33.00 800 840 968 1056 480 481
484 505 +hsync +vsync (31.2 kHz)
(**) DL(0): Display dimensions: (80, 50) mm
(**) DL(0): DPI set to (254, 243)
(==) DL(0): Backing store disabled
(==) DL(0): DPMS enabled
(II) DL(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(WW) DL(0): Option "fbdev" is not used
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
SELinux: Disabled on system, not enabling in X server
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(**) Option "SendCoreEvents" "On"
(**) touchscreen: always reports core events
(**) touchscreen: Device: "/dev/input/event0"
(**) Option "InvertX" "1"
(**) Option "InvertY" "1"
(II) touchscreen: Found absolute axes
(II) touchscreen: Found x and y absolute axes
(II) touchscreen: Found absolute touchscreen
(II) touchscreen: Configuring as touchscreen
(**) Option "Emulate3Buttons" "false"
(II) touchscreen: Forcing middle mouse button emulation off.
(**) touchscreen: YAxisMapping: buttons 4 and 5
(**) touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10,
EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "touchscreen" (type: TOUCHSCREEN)
(II) touchscreen: initialized for absolute axes.
(II) config/udev: Adding input device e2i Technology, Inc. USB
Touchpanel (/dev/input/event0)
(**) e2i Technology, Inc. USB Touchpanel: Applying InputClass "evdev
touchscreen catchall"
(**) e2i Technology, Inc. USB Touchpanel: always reports core events
(**) e2i Technology, Inc. USB Touchpanel: Device: "/dev/input/event0"
(WW) e2i Technology, Inc. USB Touchpanel: device file already in use. Ignoring.
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for "e2i Technology, Inc. USB Touchpanel"
(II) config/udev: Adding input device e2i Technology, Inc. USB
Touchpanel (/dev/input/mouse0)
(II) No input driver/identifier specified (ignoring)
I appreciate any guidance that you can provide!
Thanks
Todd
On Fri, May 28, 2010 at 12:26 PM, Bernie Thompson
<bernie at berniethompson.com> wrote:
> On Fri, May 28, 2010 at 9:02 AM, Todd McCandlish <mccandlt at gmail.com> wrote:
>> Does anybody know where the cycling of the different screens
>> comes from? Is it an internal displaylink thing, a framebuffer thing ,
>> or an X driver thing?
>
> Not something the hardware does on its own, and not something udlfb
> tells the hardware to do (udlfb sets the default mode from edid on
> startup, then paints the green screen -- but then doesn't do anything
> on its own unless a client asks, after that).
>
> Could fbcon be contending with X for the framebuffer?
> http://libdlo.freedesktop.org/wiki/TextConsole
>
> Failing that, I think you'll need to post more about your xorg.conf &
> gdm configuration for getting the display to start on the sheevaplug.
>
> Best wishes,
> Bernie
>
More information about the Libdlo
mailing list