Questo forum utilizza i cookies
Questo forum fa uso di cookie per migliorare l'esperienza utente. I cookie sono piccoli file di testo memorizzati sul tuo browser. I cookie impostati dal forum possono essere utilizzati solo su questo sito e non costituiscono rischio per la sicurezza, vengono utilizzati unicamente per memorizzare le tue preferenze. Navigando sul sito accetti che RaspberryItaly installi i cookie sul tuo browser.
Per maggiori informazioni consulta l'informativa sui Cookie di RasberryItaly

Un cookie verra memorizzato nel browser indipendentemente dalla scelta per evitare che questa domanda ti venga posta di nuovo. Sarai in grado di modificare le impostazioni dei cookie in qualsiasi momento utilizzando il link nel footer.
  • Benvenuti su RaspberryItaly!
Benvenuto ospite! Login Login con Facebook Registrati Login with Facebook


Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5

[-]
Tags
lcd con xpt2046 problema 4 320x480 quot error server xorg fatal

PROBLEMA CON LCD 4" XPT2046 320X480 Xorg Fatal server error
#1
Ciao a tutti,

sul mio Raspberry PI3 avevo installato questo display LCD:

4INCH RPI LCD (A)
320x480 pixel
XPT2046 Touch Controller

comprato su sito cinese.

Funzionava correttamente ma un giorno ha iniziato a darmi un errore in quanto il Raspberry partiva solo in emergency mode, non sono riuscito a risolvere il problema: avevo scritto questo post

https://forum.raspberryitaly.com/showthr...8#pid17628

Ho reinstallato tutto ma non riesco più a far funzionare LCD da 4" (ho fatto l'errore di non segnarmi come l'avevo precedentemente installato)

Ora mi restituisce il seguente errore che vi posto nelle immmagini seguenti:


.jpg   LCD1.jpg (Dimensione: 18.87 KB / Download: 3)


.jpg   LCD2.jpg (Dimensione: 35.3 KB / Download: 4)

Per installarlo ho fatto questa proccedura:

Ho estratto questo file: LCD-show-160729.tar.gz in dotazione con l'LCD

- Copiato nel desktop
e tramite consolle:

cd LCD-show
chmod +x LCD4-show
./LCD4-show
riavvio e non mi parte più la GUI

come posso risolvere?
Risposta
#2
verifica se in boot/config.txt vi è una stringa tipo
Codice:
dtoverlay=ads7846
e toglila (il file lo puoi vedere anche estraendo la sd e inserendola in un lettore collegato al pc, oppure via SSH)
Risposta
#3
ciao,

grazie per la risposta...

il file config è così composto:


Codice:
# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on
enable_uart=1
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
dtoverlay=waveshare35a
dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900


ho provato eliminando tutta l'ultima riga:

Codice:
dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900

ma non parte ugualmente la GUI
Risposta
#4
questo è Xorg.0.log

Codice:
[    30.058]
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[    30.064] Build Operating System: Linux 4.9.0-6-armmp-lpae armv7l Debian
[    30.067] Current Operating System: Linux kali 4.9.80-Re4son-v7+ #1 SMP Thu Apr 26 17:45:16 CDT 2018 armv7l
[    30.068] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=tty1 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo
[    30.078] Build Date: 01 July 2018  05:07:24PM
[    30.080] xorg-server 2:1.20.0-3 (https://www.debian.org/support)
[    30.082] Current version of pixman: 0.34.0
[    30.085] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[    30.085] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    30.099] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug  6 20:13:13 2018
[    30.102] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    30.105] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    30.107] (==) No Layout section.  Using the first Screen section.
[    30.107] (==) No screen section available. Using defaults.
[    30.107] (**) |-->Screen "Default Screen Section" (0)
[    30.107] (**) |   |-->Monitor "<default monitor>"
[    30.109] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[    30.109] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[    30.109] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[    30.110] (==) Automatically adding devices
[    30.110] (==) Automatically enabling devices
[    30.110] (==) Automatically adding GPU devices
[    30.110] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    30.110] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    30.110] Entry deleted from font path.
[    30.110] (==) 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
[    30.110] (==) ModulePath set to "/usr/lib/xorg/modules"
[    30.110] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[    30.110] (II) Loader magic: 0x596f78
[    30.110] (II) Module ABI versions:
[    30.110] X.Org ANSI C Emulation: 0.4
[    30.110] X.Org Video Driver: 24.0
[    30.110] X.Org XInput driver : 24.1
[    30.111] X.Org Server Extension : 10.0
[    30.115] (++) using VT number 1

[    30.125] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    30.126] (II) no primary bus or device found
[    30.126] (II) LoadModule: "glx"
[    30.127] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    30.153] (II) Module glx: vendor="X.Org Foundation"
[    30.153] compiled for 1.20.0, module version = 1.0.0
[    30.153] ABI class: X.Org Server Extension, version 10.0
[    30.153] (II) LoadModule: "fbturbo"
[    30.154] (WW) Warning, couldn't open module fbturbo
[    30.154] (EE) Failed to load module "fbturbo" (module does not exist, 0)
[    30.154] (EE) No drivers available.
[    30.154] (EE)
Fatal server error:
[    30.154] (EE) no screens found(EE)
[    30.155] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[    30.155] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    30.155] (EE)
[    30.161] (EE) Server terminated with error (1). Closing log file.
Risposta
#5
ma con Raspbian, funziona?
Risposta
#6
no, non funziona neanche con Raspbian

quando lancio ./LCD4-show si riavvia e si blocca in partenza con questo messaggio di errore:
end Kernel panic . not syncing: VFS: unable to mount root fs on unknown-block(179,2)

inizio a pensare che sia andato l'LCD. Ha sempre funzionato bene ed inoltre quando collegato oltre al monitor tramite HDMI ho sempre il fulmine in alto a destra come se non bastasse l'alimentazione nonostante l'alimentatore sia quello in dotazione da 5v 2,5 A
Risposta
#7
Con Raspbian sono riuscito a farlo funzionare. A questo punto credo che il problema sia la versione di Kali. dove si trovano le versioni vecchie? Nel sito ufficiale solo l'ultima
Risposta
#8
Un piccolo aggiornamento, sono riuscito a far funzionare lo schermo da 4" con questa procedura:

cd /usr/local/src
wget -O re4son-kernel_current.tar.xz https://re4son-kernel.com/download/re4so...l-current/
tar -xJf re4son-kernel_current.tar.xz
cd re4son-kernel_4*
./install.sh
reboot

# Log in to install the nexmon drivers
cd /usr/local/src/re4son-kernel_4*
./install.sh -x

cd /usr/local/src/re4son-kernel_4*
./re4son-pi-tft-setup -u

./re4son-pi-tft-setup -t wave40 -d /root
Risposta
#9
Ciao a tutti!non volevo aprire un nuovo thread, perchè vedo che questo è l'unico in tutto il foro che descrive meglio la mia situazione. Anch'io ho scaricato la versione Sticky fingers kali, e ho seguito la procedura da te descritta qui sopra; in realtaà il mio display LCD è diverso, infatti è questo https://www.amazon.it/Yosoo-Raspberry-Po...B00VWZJ22E , tuttavia dovrebbe possedere lo stesso chipset, ho provato varie guide ma niente, in questo caso il sistema si stucca in fase di reboot. Avete qualche idea a riguardo? accetto qualunque suggerimento, vi premetto che sono totalmente nuovo al mondo raspberry
Raspberry Pi B+ / StickyFingers Kali Pi

Computer Principale: CPU AMD Ryzen 2600x, RAM 16 gb Gskill Tridentz, MOBO Asus Prime x470-PRO, GPU RX580 Special Edition, Alimentatore EVGA G3 650 watt, CASE Sharkoon TG5,HD 1 500gb kingston SSD 1+1 Barracuda Seagate 7200 rpm, OS Win 10, Kali linux


Cool La conoscenza è potere
Risposta
  


Vai al forum:


Navigazione:
Forum con nuovi Post
Forum senza nuovi post
Forum bloccato
Forum Redirect