Hi Robert,

If I plugged the HDMI cable while I started the board with the LCD cape
connected the desktop is displayed on the HDMI output
On the LCD I have juste the backlight on but the touch panel is working.

I thought the HDMI should not work with my config ?

It looks like the file uEnv.txt is ignored

linux:~ # cat /boot/uEnv.txt
dtb=am335x-boneblack-emmc-overlay.dtb
bone_capemgr.enable_partno=BB-BONE-LCD7-01:00A3



2015-08-27 19:43 GMT+02:00 matthieu claire <mclaire....@gmail.com>:

> I have added to /etc/init.d/after.local
> *sudo sh -c "echo 'BB-BONE-LCD7-01:00A3' >
> /sys/devices/platform/bone_capemgr/slots"*
>
> The backlight turns ON but I see nothing on the screen while I see that my
> X server and lightdm is running see below Xorg.0.log
>
> linux:~ # cat /var/log/Xorg.0.log
> [    51.843]
> X.Org X Server 1.16.1
> Release Date: 2014-09-21
> [    51.843] X Protocol Version 11, Revision 0
> [    51.843] Build Operating System: openSUSE SUSE LINUX
> [    51.843] Current Operating System: Linux linux.site 4.1.6 #1 SMP
> PREEMPT Sun Aug 23 16:43:56 UTC 2015 armv7l
> [    51.843] 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
> [    51.844] Build Date: 12 June 2015  07:53:26PM
> [    51.844]
> [    51.844] Current version of pixman: 0.32.6
> [    51.844]    Before reporting problems, check http://wiki.x.org
>         to make sure that you have the latest version.
> [    51.844] Markers: (--) probed, (**) from config file, (==) default
> setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [    51.850] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 27
> 17:29:53 2015
> [    51.859] (==) Using config file: "/etc/X11/xorg.conf"
> [    51.865] (==) Using config directory: "/etc/X11/xorg.conf.d"
> [    51.865] (==) Using system config directory
> "/usr/share/X11/xorg.conf.d"
> [    51.868] (==) ServerLayout "Builtin Default Layout"
> [    51.868] (**) |-->Screen "Builtin Default fbdev Screen 0" (0)
> [    51.868] (**) |   |-->Monitor "Builtin Default Monitor"
> [    51.868] (**) |   |-->Device "Builtin Default fbdev Device 0"
> [    51.869] (==) Automatically adding devices
> [    51.869] (==) Automatically enabling devices
> [    51.869] (==) Automatically adding GPU devices
> [    51.909] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
> [    51.909]    Entry deleted from font path.
> [    51.909] (==) 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
> [    51.909] (==) ModulePath set to "/usr/lib/xorg/modules"
> [    51.909] (II) The server relies on udev to provide the list of input
> devices.
>         If no devices become available, reconfigure udev or disable
> AutoAddDevices.
> [    51.909] (II) Loader magic: 0x1dbe80
> [    51.909] (II) Module ABI versions:
> [    51.909]    X.Org ANSI C Emulation: 0.4
> [    51.911]    X.Org Video Driver: 18.0
> [    51.911]    X.Org XInput driver : 21.0
> [    51.911]    X.Org Server Extension : 8.0
> [    51.913] (II) xfree86: Adding drm device (/dev/dri/card0)
> [    51.914] (II) no primary bus or device found
> [    51.914]    falling back to
> /sys/devices/platform/ocp/4830e000.lcdc/drm/card0
> [    51.914] (II) LoadModule: "glx"
> [    51.951] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
> [    52.226] (II) Module glx: vendor="X.Org Foundation"
> [    52.227]    compiled for 1.16.1, module version = 1.0.0
> [    52.227]    ABI class: X.Org Server Extension, version 8.0
> [    52.227] (==) AIGLX enabled
> [    52.227] (II) LoadModule: "fbdev"
> [    52.228] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
> [    52.242] (II) Module fbdev: vendor="X.Org Foundation"
> [    52.242]    compiled for 1.16.1, module version = 0.4.4
> [    52.242]    Module class: X.Org Video Driver
> [    52.242]    ABI class: X.Org Video Driver, version 18.0
> [    52.242] (II) FBDEV: driver for framebuffer: fbdev
> [    52.242] (++) using VT number 7
>
> [    52.267] (WW) Falling back to old probe method for fbdev
> [    52.268] (II) Loading sub module "fbdevhw"
> [    52.268] (II) LoadModule: "fbdevhw"
> [    52.268] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
> [    52.269] (II) Module fbdevhw: vendor="X.Org Foundation"
> [    52.270]    compiled for 1.16.1, module version = 0.0.2
> [    52.270]    ABI class: X.Org Video Driver, version 18.0
> [    52.270] (II) FBDEV(0): using default device
> [    52.271] (II) FBDEV(0): Creating default Display subsection in Screen
> section
>         "Builtin Default fbdev Screen 0" for depth/fbbpp 16/16
> [    52.271] (**) FBDEV(0): Depth 16, (--) framebuffer bpp 16
> [    52.271] (==) FBDEV(0): RGB weight 565
> [    52.271] (==) FBDEV(0): Default visual is TrueColor
> [    52.271] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
> [    52.271] (II) FBDEV(0): hardware:  (video memory: 4608kB)
> [    52.272] (II) FBDEV(0): checking modes against framebuffer device...
> [    52.272] (II) FBDEV(0): checking modes against monitor...
> [    52.272] (--) FBDEV(0): Virtual size is 1024x768 (pitch 1024)
> [    52.272] (**) FBDEV(0):  Built-in mode "current"
> [    52.272] (==) FBDEV(0): DPI set to (96, 96)
> [    52.272] (II) Loading sub module "fb"
> [    52.272] (II) LoadModule: "fb"
> [    52.272] (II) Loading /usr/lib/xorg/modules/libfb.so
> [    52.288] (II) Module fb: vendor="X.Org Foundation"
> [    52.297]    compiled for 1.16.1, module version = 1.0.0
> [    52.297]    ABI class: X.Org ANSI C Emulation, version 0.4
> [    52.297] (**) FBDEV(0): using shadow framebuffer
> [    52.297] (II) Loading sub module "shadow"
> [    52.297] (II) LoadModule: "shadow"
> [    52.298] (II) Loading /usr/lib/xorg/modules/libshadow.so
> [    52.315] (II) Module shadow: vendor="X.Org Foundation"
> [    52.316]    compiled for 1.16.1, module version = 1.1.0
> [    52.316]    ABI class: X.Org ANSI C Emulation, version 0.4
> [    52.317] (==) FBDEV(0): Backing store enabled
> [    52.318] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.318] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.318] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.319] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.320] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.327] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.327] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.327] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.327] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.327] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.328] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.329] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.340] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
> [    52.340] (==) FBDEV(0): DPMS enabled
> [    52.340] (==) RandR enabled
> [    52.513] (II) AIGLX: Screen 0 is not DRI2 capable
> [    52.520] (EE) AIGLX: reverting to software rendering
> [    52.957] (II) AIGLX: Loaded and initialized swrast
> [    52.962] (II) GLX: Initialized DRISWRAST GL provider for screen 0
> [    55.754] (II) config/udev: Adding input device gpio_keys
> (/dev/input/event0)
> [    55.754] (**) gpio_keys: Applying InputClass "evdev keyboard catchall"
> [    55.754] (**) gpio_keys: Applying InputClass "system-keyboard"
> [    55.754] (**) gpio_keys: Applying InputClass "evdev keyboard catchall"
> [    55.755] (II) LoadModule: "evdev"
> [    55.755] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
> [    55.803] (II) Module evdev: vendor="X.Org Foundation"
> [    55.803]    compiled for 1.16.1, module version = 2.9.0
> [    55.804]    Module class: X.Org XInput Driver
> [    55.804]    ABI class: X.Org XInput driver, version 21.0
> [    55.804] (II) Using input driver 'evdev' for 'gpio_keys'
> [    55.804] (**) gpio_keys: always reports core events
> [    55.804] (**) evdev: gpio_keys: Device: "/dev/input/event0"
> [    55.805] (--) evdev: gpio_keys: Vendor 0x1 Product 0x1
> [    55.805] (--) evdev: gpio_keys: Found keys
> [    55.805] (II) evdev: gpio_keys: Configuring as keyboard
> [    55.805] (**) Option "config_info"
> "udev:/sys/devices/platform/gpio_keys/input/input0/event0"
> [    55.805] (II) XINPUT: Adding extended input device "gpio_keys" (type:
> KEYBOARD, id 6)
> [    55.805] (**) Option "xkb_rules" "evdev"
> [    55.805] (**) Option "xkb_model" "pc104"
> [    55.805] (**) Option "xkb_layout" "us"
> [    56.430] (II) config/udev: Adding input device ti-tsc
> (/dev/input/mouse0)
> [    56.431] (II) No input driver specified, ignoring this device.
> [    56.431] (II) This device may have been added with another device file.
> [    56.433] (II) config/udev: Adding input device ti-tsc
> (/dev/input/event1)
> [    56.433] (**) ti-tsc: Applying InputClass "evdev touchscreen catchall"
> [    56.433] (**) ti-tsc: Applying InputClass "evdev touchscreen catchall"
> [    56.433] (II) Using input driver 'evdev' for 'ti-tsc'
> [    56.433] (**) ti-tsc: always reports core events
> [    56.433] (**) evdev: ti-tsc: Device: "/dev/input/event1"
> [    56.434] (--) evdev: ti-tsc: Vendor 0 Product 0
> [    56.434] (--) evdev: ti-tsc: Found absolute axes
> [    56.434] (--) evdev: ti-tsc: Found x and y absolute axes
> [    56.434] (--) evdev: ti-tsc: Found absolute touchscreen
> [    56.434] (II) evdev: ti-tsc: Configuring as touchscreen
> [    56.434] (**) evdev: ti-tsc: YAxisMapping: buttons 4 and 5
> [    56.434] (**) evdev: ti-tsc: EmulateWheelButton: 4,
> EmulateWheelInertia: 10, EmulateWheelTimeout: 200
> [    56.434] (**) Option "config_info"
> "udev:/sys/devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1/event1"
> [    56.435] (II) XINPUT: Adding extended input device "ti-tsc" (type:
> TOUCHSCREEN, id 7)
> [    56.435] (II) evdev: ti-tsc: initialized for absolute axes.
> [    56.442] (**) ti-tsc: (accel) keeping acceleration scheme 1
> [    56.442] (**) ti-tsc: (accel) acceleration profile 0
> [    56.442] (**) ti-tsc: (accel) acceleration factor: 2.000
> [    56.442] (**) ti-tsc: (accel) acceleration threshold: 4
>
>
> 2015-08-27 16:57 GMT+02:00 matthieu claire <mclaire....@gmail.com>:
>
>> Thanks the LCD is living.
>>
>> Any advice how can I do echo BB-BONE-LCD7-01:00A3 > slots during the
>> startup before we launch the desktop?
>>
>> linux:/ # dmesg | fgrep bone
>> [   21.210923] bone_capemgr bone_capemgr: Baseboard:
>> 'A335BNLT,000C,2115BBBK1190'
>> [   21.298283] bone_capemgr bone_capemgr:
>> compatible-baseboard=ti,beaglebone-black - #slots=4
>> [   21.441750] bone_capemgr bone_capemgr: slot #0: '4D 7.0 LCD CAPE-
>> 4DCAPE-70T     ,00A3,4D SYSTEMS      ,BB-BONE-LCD7-01'
>> [   21.627717] bone_capemgr bone_capemgr: slot #1: No cape found
>> [   21.747707] bone_capemgr bone_capemgr: slot #2: No cape found
>> [   21.867713] bone_capemgr bone_capemgr: slot #3: No cape found
>> [   21.937399] bone_capemgr bone_capemgr: initialized OK.
>> [   24.028103] bone_capemgr bone_capemgr: loader: failed to load slot-0
>> BB-BONE-LCD7-01:00A3 (prio 0)
>> [ 3186.091770] bone_capemgr bone_capemgr: part_number 'BB-BONE-LCD7-01',
>> version '00A3'
>> [ 3186.091828] bone_capemgr bone_capemgr: slot #4: override
>> [ 3186.091846] bone_capemgr bone_capemgr: Using override eeprom data at
>> slot 4
>> [ 3186.091865] bone_capemgr bone_capemgr: slot #4: 'Override Board
>> Name,00A3,Override Manuf,BB-BONE-LCD7-01'
>> [ 3186.126389] bone_capemgr bone_capemgr: slot #4: dtbo
>> 'BB-BONE-LCD7-01-00A3.dtbo' loaded; overlay id #0
>>
>>
>> 2015-08-27 16:28 GMT+02:00 Robert Nelson <robertcnel...@gmail.com>:
>>
>>> On Thu, Aug 27, 2015 at 8:14 AM, matthieu claire <mclaire....@gmail.com>
>>> wrote:
>>> > Hi,
>>> >
>>> > I checked the /sys folder
>>> >
>>> > linux:/sys/devices/platform/bone_capemgr # ls -l
>>> > total 0
>>> > drwxr-xr-x 2 root root    0 Aug 27 12:32 baseboard
>>> > lrwxrwxrwx 1 root root    0 Aug 27 09:38 driver ->
>>> > ../../../bus/platform/drivers/bone_capemgr
>>> > -rw-r--r-- 1 root root 4096 Aug 27 12:38 driver_override
>>> > -r--r--r-- 1 root root 4096 Aug 27 12:38 modalias
>>> > lrwxrwxrwx 1 root root    0 Aug 27 12:34 of_node ->
>>> > ../../../firmware/devicetree/base/bone_capemgr
>>> > drwxr-xr-x 2 root root    0 Aug 27 12:32 power
>>> > drwxr-xr-x 2 root root    0 Aug 27 12:32 slot-0
>>> > -rw-r--r-- 1 root root 4096 Aug 27 13:00 slots
>>> > lrwxrwxrwx 1 root root    0 Aug 27 09:38 subsystem ->
>>> ../../../bus/platform
>>> > -rw-r--r-- 1 root root 4096 Aug 27 12:38 uevent
>>> >
>>> > linux:/sys/devices/platform/bone_capemgr # cat slots
>>> >  0: P-----  -1 4D 7.0 LCD CAPE- 4DCAPE-70T     ,00A3,4D SYSTEMS
>>> > ,BB-BONE-LCD7-01
>>> >  1: PF----  -1
>>> >  2: PF----  -1
>>> >  3: PF----  -1
>>> >
>>> > I tried to load the firmware manually but it doesn't work
>>> >
>>> > linux:/sys/devices/platform/bone_capemgr # echo BB-BONE-LCD7-01>slots
>>> > -bash: echo: write error: No such file or directory
>>>
>>> Since you are dealing with a versioned overlay:
>>>
>>> echo BB-BONE-LCD7-01:00A3 > slots
>>>
>>> Regards,
>>>
>>> --
>>> Robert Nelson
>>> https://rcn-ee.com/
>>>
>>
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to