Hallo!Ich habe ein 5 inch HDMI Display für mein raspberry gekauft. Egal welche Einstelltungen ich in der config vornehme, ich habe immer einen schwarzen Balken in der Mitte (s. Bild).
Ist das Display schrott?
Gruß
Daniel
Hm, warte. Das Problem hatte ich auch. Folgender Eintrag in /boot/config.txt hat bei mir geholfen:
Ich meine mich erinnern zu können, dass es die letzte Zeile war, die letzendlich Besserung brachte.
Welches Display genau hast Du? Ich hab ein Waveshare von dieser Firma hier. Bin noch nicht vollkommen zufrieden, da es nicht so funktioniert, wie es eigentlich beschrieben wird. Anschluss über HDMI funkioniert klaglos, allerdings ohne Touschscreen-Funktionalität.
Ansteuerung über SPI krieg ich einfach nicht hin. Vom Verkäufer gibt es ein Raspbian-Image, mit welchem es eigentlich funktionieren sollte, tut es aber nicht.
Ich erhielt ständig eine Fehlermeldung (kann ich im Moment nicht mehr nachvollziehen), das Display blieb weiß.
Im Moment bin ich soweit, dass scheinbar alle Treiber geladen sind.
dmesg | grep spi
[ 0.000000] Linux version 4.0.7-v7+ (pi@raspi2) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - Linaro GCC 2013.11) ) #1 SMP PREEMPT Sat Jul 11 20:44:05 CEST 2015
[ 3.686321] bcm2708_spi 3f204000.spi: DMA channel 2 at address 0xf3007200 with irq 77
[ 3.694244] bcm2708_spi 3f204000.spi: DMA channel 4 at address 0xf3007400 with irq 20
[ 3.719061] ads7846 spi0.1: touchscreen, irq 497
[ 3.724721] input: ADS7846 Touchscreen as /devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0
[ 3.735488] bcm2708_spi 3f204000.spi: SPI Controller at 0x3f204000 (irq 80)
[ 3.742528] bcm2708_spi 3f204000.spi: SPI Controller running in dma mode
[ 6.852689] fbtft_device: ads7846 spi0.1 500kHz 8 bits mode=0x00
[ 6.873655] flexfb spi0.0: fbtft_request_gpios: 'reset' = GPIO25
[ 6.879858] flexfb spi0.0: fbtft_request_gpios: 'dc' = GPIO24
[ 6.886796] flexfb spi0.0: flexfb_verify_gpios_dc()
[ 6.891718] flexfb spi0.0: fbtft_init_display()
[ 6.896325] flexfb spi0.0: fbtft_reset()
[ 7.020331] flexfb spi0.0: init: write(0xB0) 0x00
[ 7.025320] flexfb spi0.0: init: write(0x11)
[ 7.029739] flexfb spi0.0: init: mdelay(250)
[ 7.284233] flexfb spi0.0: init: write(0x3A) 0x55
[ 7.289208] flexfb spi0.0: init: write(0xC2) 0x44
[ 7.294088] flexfb spi0.0: init: write(0xC5) 0x00 0x00 0x00 0x00
[ 7.300343] flexfb spi0.0: init: write(0xE0) 0x0F 0x1F 0x1C 0x0C 0x0F 0x08 0x48 0x98 0x37 0x0A 0x13 0x04 0x11 0x0D 0x00
[ 7.311438] flexfb spi0.0: init: write(0xE1) 0x0F 0x32 0x2E 0x0B 0x0D 0x05 0x47 0x75 0x37 0x06 0x10 0x03 0x24 0x20 0x00
[ 7.322530] flexfb spi0.0: init: write(0xE2) 0x0F 0x32 0x2E 0x0B 0x0D 0x05 0x47 0x75 0x37 0x06 0x10 0x03 0x24 0x20 0x00
[ 7.333595] flexfb spi0.0: init: write(0x36) 0x28
[ 7.338500] flexfb spi0.0: init: write(0x11)
[ 7.342912] flexfb spi0.0: init: write(0x29)
[ 8.149244] flexfb spi0.0: Display update: 934 kB/s (801.861 ms), fps=0 (0.000 ms)
[ 8.156935] flexfb spi0.0: fbtft_register_backlight()
[ 8.162057] flexfb spi0.0: fbtft_register_backlight(): led pin not set, exiting.
[ 8.184729] graphics fb1: flexfb frame buffer, 800x480, 750 KiB video memory, 4 KiB DMA buffer memory, fps=20, spi0.0 at 16 MHz
[ 8.231554] fbtft_device: ads7846 spi0.1 500kHz 8 bits mode=0x00
[ 8.241006] fbtft_device: flexfb spi0.0 16000kHz 8 bits mode=0x00
Display More
Entschuldige, ich will ja den Thread nicht hijacken, aber viellleicht hat ja jemand eine Idee, wie weiter zu verfahren ist, damit Display und Touchscreen wie erwartet funktionieren.
Ach ja, ich habe einen Raspi 2.
Grüße von einem Ahnungslosen :s