Thank you William for the link, I will try this later.
In between I found if I load the module in the /etc/init.d/boot.local the module is loaded 2-3s before X server starts
So now X found the device /dev/fb0 (see Xorg.0.log below)
But unfortunately I still have NOTHING on the display, it’s really frustrating.
The login manager lightdm process is running so I should see it on the screen.
After a while the LCD backlight turns OFF, when I touch the screen it turns back ON so I guess it’s working.
I’m using the fdt file am335x-boneblack-emmc-overlay.dtb (but I didn’t find how to check this really happeing since this parameter are loaded after the auto-boot)
I’m loading the module BB-BONE-LCD7-01-00A3.dtbo succesfully
So I tried to compare the Xorg.0.log between the opensuse and the debian which is running without issue on the eMMc with the LCD 7" 4D-CAPE-70T (wile using the same xorg.conf)
I found several differences:
On debian
II) FBDEV(0): hardware: (video memory: 750kB)
while on opensuse
II) FBDEV(0): hardware: (video memory: 2250kB)
→ I tried to override this parameter with the parameter VideoRam 750 in the device section of my xorg.conf but It has no impact the log is still the same
On debian I have several built-in extensions
[ 13.488] (==) RandR enabled
[ 13.490] (II) Initializing built-in extension Generic Event Extension
[ 13.490] (II) Initializing built-in extension SHAPE
[ 13.491] (II) Initializing built-in extension MIT-SHM
[ 13.491] (II) Initializing built-in extension XInputExtension
[ 13.491] (II) Initializing built-in extension XTEST
[ 13.492] (II) Initializing built-in extension BIG-REQUESTS
[ 13.492] (II) Initializing built-in extension SYNC
[ 13.492] (II) Initializing built-in extension XKEYBOARD
[ 13.492] (II) Initializing built-in extension XC-MISC
[ 13.492] (II) Initializing built-in extension SECURITY
[ 13.493] (II) Initializing built-in extension XINERAMA
[ 13.494] (II) Initializing built-in extension XFIXES
[ 13.494] (II) Initializing built-in extension RENDER
[ 13.495] (II) Initializing built-in extension RANDR
[ 13.495] (II) Initializing built-in extension COMPOSITE
[ 13.495] (II) Initializing built-in extension DAMAGE
[ 13.497] (II) SELinux: Disabled on system
[ 13.751] (II) AIGLX: Screen 0 is not DRI2 capable
while on opensuse I have none
[ 52.716] (==) RandR enabled
[ 52.862] (II) AIGLX: Screen 0 is not DRI2 capable
On Debian tps65217 is identified
(II) Using input driver ‘evdev’ for ‘tps65217_pwr_but’
[ 15.134] () tps65217_pwr_but: always reports core events
[ 15.134] () evdev: tps65217_pwr_but: Device: “/dev/input/event0”
[ 15.134] (–) evdev: tps65217_pwr_but: Vendor 0 Product 0
[ 15.134] (–) evdev: tps65217_pwr_but: Found keys
[ 15.134] (II) evdev: tps65217_pwr_but: Configuring as keyboard
[ 15.134] (**) Option “config_info” “udev:/sys/devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0/event0”
[ 15.141] (II) XINPUT: Adding extended input device “tps65217_pwr_but” (type: KEYBOARD, id 6)
while on opensuse I have gpio_keys
(II) Using input driver ‘evdev’ for ‘gpio_keys’
[ 53.895] () gpio_keys: always reports core events
[ 53.895] () evdev: gpio_keys: Device: “/dev/input/event0”
[ 53.896] (–) evdev: gpio_keys: Vendor 0x1 Product 0x1
[ 53.896] (–) evdev: gpio_keys: Found keys
[ 53.896] (II) evdev: gpio_keys: Configuring as keyboard
[ 53.896] (**) Option “config_info” “udev:/sys/devices/platform/gpio_keys/input/input0/event0”
[ 53.896] (II) XINPUT: Adding extended input device “gpio_keys” (type: KEYBOARD, id 6)
linux:~ # cat /var/log/Xorg.0.log
[ 52.436]
X.Org X Server 1.16.1
Release Date: 2014-09-21
[ 52.436] X Protocol Version 11, Revision 0
[ 52.436] Build Operating System: openSUSE SUSE LINUX
[ 52.436] Current Operating System: Linux linux.site 4.1.6 #1 SMP PREEMPT Sun Aug 23 16:43:56 UTC 2015 armv7l
[ 52.436] Kernel command line: root=/dev/disk/by-id/mmc-SL16G_0x28cf527e-part2 loader=uboot disk=/dev/disk/by-id/mmc-SL16G_0x28cf527e plymouth.enable=0 console=ttyO0
[ 52.437] Build Date: 12 June 2015 07:53:26PM
[ 52.437]
[ 52.437] Current version of pixman: 0.32.6
[ 52.437] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 52.437] Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 52.447] (==) Log file: “/var/log/Xorg.0.log”, Time: Wed Sep 2 08:09:27 2015
[ 52.462] (==) Using config file: “/etc/X11/xorg.conf”
[ 52.462] (==) Using config directory: “/etc/X11/xorg.conf.d”
[ 52.462] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 52.465] (==) ServerLayout “Builtin Default Layout”
[ 52.465] (**) |–>Screen “Builtin Default fbdev Screen 0” (0)
[ 52.465] (**) | |–>Monitor “Builtin Default Monitor”
[ 52.466] (**) | |–>Device “Builtin Default fbdev Device 0”
[ 52.466] (==) Automatically adding devices
[ 52.466] (==) Automatically enabling devices
[ 52.466] (==) Automatically adding GPU devices
[ 52.491] (WW) The directory “/usr/share/fonts/misc/sgi” does not exist.
[ 52.491] Entry deleted from font path.
[ 52.491] (==) FontPath set to:
/usr/share/fonts/misc:unscaled,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/ghostscript/,
/usr/share/fonts/cyrillic:unscaled,
/usr/share/fonts/truetype/,
built-ins
[ 52.491] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 52.491] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 52.492] (II) Loader magic: 0x1dbe80
[ 52.492] (II) Module ABI versions:
[ 52.492] X.Org ANSI C Emulation: 0.4
[ 52.492] X.Org Video Driver: 18.0
[ 52.492] X.Org XInput driver : 21.0
[ 52.492] X.Org Server Extension : 8.0
[ 52.493] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 52.494] (II) no primary bus or device found
[ 52.495] falling back to /sys/devices/platform/ocp/4830e000.lcdc/drm/card0
[ 52.495] (II) LoadModule: “glx”
[ 52.517] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 52.608] (II) Module glx: vendor=“X.Org Foundation”
[ 52.609] compiled for 1.16.1, module version = 1.0.0
[ 52.609] ABI class: X.Org Server Extension, version 8.0
[ 52.609] (==) AIGLX enabled
[ 52.609] (II) LoadModule: “fbdev”
[ 52.620] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 52.621] (II) Module fbdev: vendor=“X.Org Foundation”
[ 52.622] compiled for 1.16.1, module version = 0.4.4
[ 52.622] Module class: X.Org Video Driver
[ 52.622] ABI class: X.Org Video Driver, version 18.0
[ 52.622] (II) FBDEV: driver for framebuffer: fbdev
[ 52.622] (++) using VT number 7
[ 52.630] (WW) Falling back to old probe method for fbdev
[ 52.630] (II) Loading sub module “fbdevhw”
[ 52.630] (II) LoadModule: “fbdevhw”
[ 52.631] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 52.632] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 52.632] compiled for 1.16.1, module version = 0.0.2
[ 52.632] ABI class: X.Org Video Driver, version 18.0
[ 52.633] (II) FBDEV(0): using default device
[ 52.633] (II) FBDEV(0): Creating default Display subsection in Screen section
“Builtin Default fbdev Screen 0” for depth/fbbpp 16/16
[ 52.633] (**) FBDEV(0): Depth 16, (–) framebuffer bpp 16
[ 52.633] (==) FBDEV(0): RGB weight 565
[ 52.633] (==) FBDEV(0): Default visual is TrueColor
[ 52.634] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 52.634] (II) FBDEV(0): hardware: (video memory: 2250kB)
[ 52.634] (II) FBDEV(0): checking modes against framebuffer device…
[ 52.634] (II) FBDEV(0): checking modes against monitor…
[ 52.634] (–) FBDEV(0): Virtual size is 800x480 (pitch 800)
[ 52.634] (**) FBDEV(0): Built-in mode “current”
[ 52.634] (==) FBDEV(0): DPI set to (96, 96)
[ 52.634] (II) Loading sub module “fb”
[ 52.634] (II) LoadModule: “fb”
[ 52.635] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 52.646] (II) Module fb: vendor=“X.Org Foundation”
[ 52.646] compiled for 1.16.1, module version = 1.0.0
[ 52.646] ABI class: X.Org ANSI C Emulation, version 0.4
[ 52.646] (**) FBDEV(0): using shadow framebuffer
[ 52.646] (II) Loading sub module “shadow”
[ 52.646] (II) LoadModule: “shadow”
[ 52.647] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 52.661] (II) Module shadow: vendor=“X.Org Foundation”
[ 52.661] compiled for 1.16.1, module version = 1.1.0
[ 52.661] ABI class: X.Org ANSI C Emulation, version 0.4
[ 52.711] (==) FBDEV(0): Backing store enabled
[ 52.712] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.712] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.712] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.712] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.712] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.713] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.714] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.715] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.716] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.716] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.716] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.716] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 52.716] (==) FBDEV(0): DPMS enabled
[ 52.716] (==) RandR enabled
[ 52.862] (II) AIGLX: Screen 0 is not DRI2 capable
[ 52.862] (EE) AIGLX: reverting to software rendering
[ 53.362] (II) AIGLX: Loaded and initialized swrast
[ 53.365] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 53.888] (II) config/udev: Adding input device gpio_keys (/dev/input/event0)
[ 53.888] () gpio_keys: Applying InputClass “evdev keyboard catchall”
[ 53.888] () gpio_keys: Applying InputClass “system-keyboard”
[ 53.889] () gpio_keys: Applying InputClass “evdev keyboard catchall”
[ 53.889] (II) LoadModule: “evdev”
[ 53.889] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 53.894] (II) Module evdev: vendor=“X.Org Foundation”
[ 53.894] compiled for 1.16.1, module version = 2.9.0
[ 53.895] Module class: X.Org XInput Driver
[ 53.895] ABI class: X.Org XInput driver, version 21.0
[ 53.895] (II) Using input driver ‘evdev’ for ‘gpio_keys’
[ 53.895] () gpio_keys: always reports core events
[ 53.895] () evdev: gpio_keys: Device: “/dev/input/event0”
[ 53.896] (–) evdev: gpio_keys: Vendor 0x1 Product 0x1
[ 53.896] (–) evdev: gpio_keys: Found keys
[ 53.896] (II) evdev: gpio_keys: Configuring as keyboard
[ 53.896] () Option “config_info” “udev:/sys/devices/platform/gpio_keys/input/input0/event0”
[ 53.896] (II) XINPUT: Adding extended input device “gpio_keys” (type: KEYBOARD, id 6)
[ 53.896] () Option “xkb_rules” “evdev”
[ 53.896] () Option “xkb_model” “pc104”
[ 53.896] () Option “xkb_layout” “us”
[ 54.045] (II) config/udev: Adding input device ti-tsc (/dev/input/event1)
_[ 54.046] () ti-tsc: Applying InputClass “evdev touchscreen catchall”_
[ 54.046] (**) ti-tsc: Applying InputClass “evdev touchscreen catchall”
[ 54.046] (II) Using input driver ‘evdev’ for ‘ti-tsc’
[ 54.046] (**) ti-tsc: always reports core events
[ 54.046] (**) evdev: ti-tsc: Device: “/dev/input/event1”
[ 54.046] (–) evdev: ti-tsc: Vendor 0 Product 0
[ 54.047] (–) evdev: ti-tsc: Found absolute axes
[ 54.047] (–) evdev: ti-tsc: Found x and y absolute axes
[ 54.047] (–) evdev: ti-tsc: Found absolute touchscreen
[ 54.047] (II) evdev: ti-tsc: Configuring as touchscreen
[ 54.047] (**) evdev: ti-tsc: YAxisMapping: buttons 4 and 5
[ 54.047] (**) evdev: ti-tsc: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 54.047] () Option “config_info” “udev:/sys/devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1/event1”
[ 54.047] (II) XINPUT: Adding extended input device “ti-tsc” (type: TOUCHSCREEN, id 7)
[ 54.048] (II) evdev: ti-tsc: initialized for absolute axes.
_[ 54.049] () ti-tsc: (accel) keeping acceleration scheme 1_
[ 54.049] (**) ti-tsc: (accel) acceleration profile 0
[ 54.049] (**) ti-tsc: (accel) acceleration factor: 2.000
[ 54.049] (**) ti-tsc: (accel) acceleration threshold: 4
[ 54.052] (II) config/udev: Adding input device ti-tsc (/dev/input/mouse0)
[ 54.052] (II) No input driver specified, ignoring this device.
[ 54.052] (II) This device may have been added with another device file.