Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Navit bleibt schwarz / funktioniert nicht
#31
Ändere mal console=tty3 auf console=tty2 in der cmdline.txt.
Antworten
#32
Hallo!
Danke für den Tipp.
Aber ich hab es hin bekommen. Hatte meinen Post bereits entsprechend angepasst. .-) Ich hatte wohl bei den ersten zwei Versuchen einfach alles von hier übernommen und damit was überschrieben oder so. Es läuft jetzt wunderbar und ich komme der Linux-Welt ein Stück näher.
Antworten
#33
Hi,

ich habe das gleiche Problem mit dem schwarzen display, allerding haben die Ticks hier noch nicht geholfen...
Der Befehl ps ax | grep navit sieht so aus:

 1243 pts/0    S+     0:00 grep --color=auto navit

d.h er startet navit auch nicht?

hier das log:

[ 19.621]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 19.622] X Protocol Version 11, Revision 0
[ 19.622] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
[ 19.622] Current Operating System: Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l
[ 19.622] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1024 bcm2708_fb.fbheight=600 bcm2709.boardrev=0xa01041 bcm2709.serial=0x94f03ea5 smsc95xx.macaddr=B8:27:EB:F0:3E:A5 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 wc_otg.lpm_enable=0 console=tty3 loglevel=3 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=noop fsck.repair=yes rootwait logo.nologo noatime nodiratime splash quiet
[ 19.623] Build Date: 11 November 2016 11:59:59AM
[ 19.623] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
[ 19.623] Current version of pixman: 0.33.3
[ 19.623] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 19.623] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 19.624] (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Wed Feb 22 16:07:03 2017
[ 19.629] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 19.629] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 19.637] (==) No Layout section. Using the first Screen section.
[ 19.637] (==) No screen section available. Using defaults.
[ 19.637] (**) |-->Screen "Default Screen Section" (0)
[ 19.638] (**) | |-->Monitor "<default monitor>"
[ 19.644] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 19.644] (**) | |-->Device "Allwinner A10/A13 FBDEV"
[ 19.644] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 19.644] (==) Automatically adding devices
[ 19.644] (==) Automatically enabling devices
[ 19.644] (==) Automatically adding GPU devices
[ 19.645] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 19.646] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[ 19.646] Entry deleted from font path.
[ 19.646] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 19.646] Entry deleted from font path.
[ 19.655] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 19.655] Entry deleted from font path.
[ 19.656] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 19.656] Entry deleted from font path.
[ 19.656] (==) FontPath set to:
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
built-ins
[ 19.656] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 19.657] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 19.657] (II) Loader magic: 0x54cedf20
[ 19.657] (II) Module ABI versions:
[ 19.657] X.Org ANSI C Emulation: 0.4
[ 19.657] X.Org Video Driver: 20.0
[ 19.657] X.Org XInput driver : 22.1
[ 19.657] X.Org Server Extension : 9.0
[ 19.661] (--) using VT number 2

[ 19.662] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 19.662] (II) no primary bus or device found
[ 19.667] (II) LoadModule: "glx"
[ 19.678] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 19.787] (II) Module glx: vendor="X.Org Foundation"
[ 19.787] compiled for 1.18.4, module version = 1.0.0
[ 19.787] ABI class: X.Org Server Extension, version 9.0
[ 19.787] (==) AIGLX enabled
[ 19.787] (II) LoadModule: "fbturbo"
[ 19.788] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[ 19.800] (II) Module fbturbo: vendor="X.Org Foundation"
[ 19.800] compiled for 1.18.4, module version = 0.5.1
[ 19.800] Module class: X.Org Video Driver
[ 19.800] ABI class: X.Org Video Driver, version 20.0
[ 19.800] (II) FBTURBO: driver for framebuffer: fbturbo
[ 19.800] (EE)
Fatal server error:
[ 19.801] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
[ 19.801] (EE)
[ 19.801] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 19.801] (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" for additional information.
[ 19.801] (EE)
[ 19.802] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 19.802] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 19.802] (EE) Server terminated with error (1). Closing log file.
Antworten
#34
Benutze mal ein älteres Raspbian Jessie Image. Am besten das von September 2016: https://downloads.raspberrypi.org/raspbi...jessie.zip
CarPi: RPi 3 mit 7" RPi Touchscreen & PiUSV+, Jessie, Kodi 15.2
Testing: Raspbian Jessie mit Kodi 15.2 - Step by Step
Projekte: SmartHome, Ambilight
Antworten
#35
Hallo Leute, 
irgendwie mache ich hier etwas falsch, da es bei mir nicht funktioniert und es heißt 

pi@raspberrypi:~ $ navit
navit:main_real:Loading /etc/navit/navit.xml
navit:navit_set_attr_doConfusedetting osd_configuration to 1 (was -1)

(process:2075): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

(navit:2075): Gtk-WARNING **: cannot open display:

dem thread zufolge habe ich in der cmdline tty von 3 auf 2 geändert.
nun aber wahrscheinlich mein problem wo ich nicht verstehe wo es eingefügt wird

#!/bin/sh -e
#
# rc.local 
sudo /bin/chmod 777 /dev/tty*          <-- Hier? 

# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will sudo /bin/chmod 777 /dev/tty2     <---oder hier? "exit 0" on succ$
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

oder wo liegt mein fehler nun? 
danke schonmal für eure hilfe


was mir jetzt noch aufgefallen ist, wenn ich den ordner home/pi/.navit erstellen möchte sagt er mir dieser wäre bereits vorhanden, aber er ist nicht hinterlegt? zumindest sehe ich ihn im Pi ordner nicht.

mfg

Fufu
Antworten
#36
1. Die Zeile fügst du als vorletzte Zeile in der rc.local ein. "exit 0" ist dann die letzte Zeile.

2. Verzeichnisse die mit einem Punkt beginnen sind standardmäßig unsichtbar. Du musst die Anzeige versteckter Dateien aktivieren.
Antworten
#37
(26.02.2017, 16:51)Jack schrieb: 1. Die Zeile fügst du als vorletzte Zeile in der rc.local ein. "exit 0" ist dann die letzte Zeile.

2. Verzeichnisse die mit einem Punkt beginnen sind standardmäßig unsichtbar. Du musst die Anzeige versteckter Dateien aktivieren.

Ok ich danke dir für deine schnelle Hilfe werde es probieren und gebe Bescheid ob es geklappt hat :Smile

Mfg

Fufu

Also es funktioniert jetzt Smile dauert zwar etwas bis das Navi ladet, sprich direkt nach dem Boot funktioniert es nicht da bleibt der Bildschirm noch schwarz aber nach ca einer Minute funktioniert es dann.
Ich denke mal das dass normal ist für den kleinen pi das er etwas Zeit braucht
Antworten
#38
Hallo ihr,
Ich bin neu hier.
Finde das Projekt hier echt super !
Versuche das ganze auf einem Odroid U3 mit Ubuntu 16.04 zum laufen zu bekommen.
Kodi und Skin läuft soweit, nur das selbe Problem mit schwarzes Bild.
Navit so läuft 

Hier ist Xorg.1.log
Code:
[ 16630.469]
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 16630.469] X Protocol Version 11, Revision 0
[ 16630.469] Build Operating System: Linux 4.2.0-42-generic armv7l Ubuntu
[ 16630.469] Current Operating System: Linux odroid 3.8.13.30 #1 SMP PREEMPT Mon Sep 19 23:41:49 BRT 2016 armv7l
[ 16630.469] Kernel command line: console=tty1 console=ttySAC1,115200 mem=2047M console=tty1 console=ttySAC1,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro mem=2047M
[ 16630.469] Build Date: 22 July 2016  07:53:12AM
[ 16630.469] xorg-server 2:1.18.3-1ubuntu2.3 (For technical support please see http://www.ubuntu.com/support)
[ 16630.469] Current version of pixman: 0.33.6
[ 16630.469]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[ 16630.469] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 16630.470] (==) Log file: "/home/odroid/.local/share/xorg/Xorg.1.log", Time: Sat Jul 22 20:59:14 2017
[ 16630.470] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 16630.470] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 16630.471] (==) No Layout section.  Using the first Screen section.
[ 16630.471] (**) |-->Screen "DefaultScreen" (0)
[ 16630.471] (**) |   |-->Monitor "<default monitor>"
[ 16630.471] (**) |   |-->Device "Mali FBDEV"
[ 16630.471] (==) No monitor specified for screen "DefaultScreen".
    Using a default monitor configuration.
[ 16630.471] (==) Automatically adding devices
[ 16630.472] (==) Automatically enabling devices
[ 16630.472] (==) Automatically adding GPU devices
[ 16630.472] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 16630.472] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 16630.472]     Entry deleted from font path.
[ 16630.472] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 16630.472]     Entry deleted from font path.
[ 16630.472] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 16630.472]     Entry deleted from font path.
[ 16630.472] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 16630.472]     Entry deleted from font path.
[ 16630.472] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 16630.472]     Entry deleted from font path.
[ 16630.472] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/Type1,
    built-ins
[ 16630.472] (==) ModulePath set to "/usr/lib/arm-linux-gnueabihf/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 16630.472] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 16630.472] (II) Loader magic: 0xb6ffff60
[ 16630.472] (II) Module ABI versions:
[ 16630.472]     X.Org ANSI C Emulation: 0.4
[ 16630.472]     X.Org Video Driver: 20.0
[ 16630.472]     X.Org XInput driver : 22.1
[ 16630.472]     X.Org Server Extension : 9.0
[ 16630.482] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 16630.483] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 16630.485] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 1
[ 16630.485] (EE) Error systemd-logind returned paused fd for drm node
[ 16630.485] (II) systemd-logind: releasing fd for 226:0
[ 16630.486] (II) config/udev: Ignoring already known drm device (/dev/dri/card0)
[ 16630.486] (II) no primary bus or device found
[ 16630.486] (II) LoadModule: "glx"
[ 16630.487] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 16630.492] (II) Module glx: vendor="X.Org Foundation"
[ 16630.492]     compiled for 1.18.3, module version = 1.0.0
[ 16630.492]     ABI class: X.Org Server Extension, version 9.0
[ 16630.492] (==) AIGLX enabled
[ 16630.492] (II) LoadModule: "armsoc"
[ 16630.492] (II) Loading /usr/lib/xorg/modules/drivers/armsoc_drv.so
[ 16630.493] (II) Module armsoc: vendor="X.Org Foundation"
[ 16630.493]     compiled for 1.18.3, module version = 1.0.0
[ 16630.493]     Module class: X.Org Video Driver
[ 16630.493]     ABI class: X.Org Video Driver, version 20.0
[ 16630.493] (II) ARMSOC: Driver for ARM Mali compatible chipsets
[ 16630.493] (EE)
Fatal server error:
[ 16630.493] (EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
[ 16630.493] (EE)
[ 16630.493] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[ 16630.493] (EE) Please also check the log file at "/home/odroid/.local/share/xorg/Xorg.1.log" for additional information.
[ 16630.493] (EE)
[ 16630.493] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 16630.493] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 16630.508] (EE) Server terminated with error (1). Closing log file.

Wer kann mir da helfen

mfg sunny
Antworten


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
RasPiCarProjekt