ubuntuusers.de

Raspbian mit Lilliput Touchscreen - Problem mit xorg.conf

Status: Ungelöst | Ubuntu-Version: Kein Ubuntu
Antworten |

BillBuchanan

Avatar von BillBuchanan

Anmeldungsdatum:
20. April 2011

Beiträge: 150

Zuallererst muss ich zugeben, dass es hier nicht um Ubuntu, sondern um Raspbian, eine Distribution für den Raspberry Pi geht. Andererseits besteht mein Problem genauso am Laptop (mit Ubuntu) und es handelt sich ja mit Xorg auch um etwas, was nicht Ubuntu-spezifisch ist.

Ich habe ein USB-Touchscreen Lilliput DisplayLink Monitor UM-70, den ich gerne unter Linux zum Laufen bringen würde. Ich habe die Installation unter Ubuntu am Laptop versucht, Displaylink installiert und war beim "grünen Bildschirm" (der auch in den Anleitungen beschrieben wurde), aber ich habe keine funktionierende xorg.conf hinbekommen. Daher mache ich jetzt die weiteren Experimente am Raspberry Pi, da es hier auch ein wenig mehr Sinn mit dem Touchscreen macht.

Anleitungen:

Was ich bisher gemacht habe:

  • Raspbian installiert und geupdatet

  • in der Anleitung geforderten Pakete mit apt-get installiert

  • Kernel nach der Anleitung neu kompiliert, um das Displaylink-Modul zu integrieren. Neues Kernel-Image auf die SD-Karte kopiert - jetzt leuchtet der USB-Touchmonitor grün wie gefordert

Jetzt ging es an die xorg.conf und da blicke ich nicht wirklich durch. Ich habe die xorg.conf aus der einen Anleitung kopiert und danach die aus der anderen Anleitung kopiert. Und in die Logs geschaut und wurde nicht schlau daraus.

Deswegen habe ich die Dateien jetzt mal angehängt und hoffe, dass mir jemand einen Tipp oder Hinweis geben kann, denn ich denke es liegt jetzt nur noch an einer sinnigen Konfiguration.

Versuch 1: Mit dieser xorg.conf:

################ DisplayLink Stuff ###################
Section "Device"
       Identifier      "DisplayLinkDevice"
       Driver 		"displaylink"
       Option  	"fbdev" "/dev/fb1"
EndSection

Section "Monitor"
       Identifier      "DisplayLinkMonitor"
	DisplaySize	152 92
EndSection

Section "Screen"
       Identifier      "DisplayLinkScreen"
	Device          "DisplayLinkDevice"
       Monitor         "DisplayLinkMonitor"
	DefaultDepth	16
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes   "800x480"
	EndSubSection
EndSection

Section "ServerLayout"
Identifier      "Default Layout"
Screen          "Default Screen"
Screen		0	"DisplayLinkScreen"
Screen		1	"Screen0" RightOf "DisplayLinkScreen"
Option		"Xinerama" "on"
EndSection

Xorg.0.log

[    81.846] 
X.Org X Server 1.12.3
Release Date: 2012-07-09
[    81.853] X Protocol Version 11, Revision 0
[    81.856] Build Operating System: Linux 3.2.0-2-mx5 armv7l Debian
[    81.861] Current Operating System: Linux raspberrypi 3.2.27-cutdown+ #1 PREEMPT Tue Sep 18 01:37:09 CEST 2012 armv6l
[    81.861] Kernel command line: dma.dmachans=0x3c bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x2 bcm2708.serial=0x951ad6a6 smsc95xx.macaddr=B8:27:EB:1A:D6:A6 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    81.875] Build Date: 04 August 2012  08:50:56AM
[    81.878] xorg-server 2:1.12.3-1 (Julien Cristau <jcristau@debian.org>) 
[    81.881] Current version of pixman: 0.26.0
[    81.886] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    81.886] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    81.899] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 18 11:40:55 2012
[    81.909] (==) Using config file: "/etc/X11/xorg.conf"
[    81.913] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    81.922] Data incomplete in file /etc/X11/xorg.conf
	Undefined Screen "Default Screen" referenced by ServerLayout "Default Layout".
[    81.929] (EE) Problem parsing the config file
[    81.929] (EE) Error parsing the config file
[    81.935] 
Fatal server error:
[    81.935] no screens found
[    81.947] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    81.953] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    82.420] 
[    82.437] Server terminated with error (1). Closing log file.

Xorg.0.log.old

[   100.039] 
X.Org X Server 1.12.3
Release Date: 2012-07-09
[   100.046] X Protocol Version 11, Revision 0
[   100.049] Build Operating System: Linux 3.2.0-2-mx5 armv7l Debian
[   100.054] Current Operating System: Linux raspberrypi 3.2.27-cutdown+ #1 PREEMPT Tue Sep 18 01:37:09 CEST 2012 armv6l
[   100.055] Kernel command line: dma.dmachans=0x3c bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x2 bcm2708.serial=0x951ad6a6 smsc95xx.macaddr=B8:27:EB:1A:D6:A6 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[   100.068] Build Date: 04 August 2012  08:50:56AM
[   100.071] xorg-server 2:1.12.3-1 (Julien Cristau <jcristau@debian.org>) 
[   100.074] Current version of pixman: 0.26.0
[   100.079] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   100.079] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   100.092] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 18 11:36:09 2012
[   100.103] (==) Using config file: "/etc/X11/xorg.conf"
[   100.106] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   100.115] Parse error on line 29 of section ServerLayout in file /etc/X11/xorg.conf
	This section must have an Identifier line.
[   100.119] (EE) Problem parsing the config file
[   100.119] (EE) Error parsing the config file
[   100.125] 
Fatal server error:
[   100.125] no screens found
[   100.138] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   100.143] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   100.146] 
[   100.156] Server terminated with error (1). Closing log file.

Versuch 2: Mit dieser Xorg.conf

    #################################################

    Section “ServerLayout”
    Identifier      “Server Layout”
    Screen  0       “DisplayLinkScreen” 0 0
    EndSection

    #################################################

    Section “Files”
    ModulePath      “/usr/lib/xorg/modules”
    ModulePath      “/usr/local/lib/xorg/modules”
    ModulePath      “/usr/local/lib/xorg/modules/drivers”
    EndSection

    ############### DisplayLink Stuff ###############

    Section “Device”
    Identifier      “DisplayLinkDevice”
    Driver          “displaylink”
    Option  “fbdev” “/dev/fb0″
    Option  “DPI” “140×140″
    EndSection

    Section “Monitor”
    Identifier      “DisplayLinkMonitor”
    #       DisplaySize     152 92
    EndSection

    Section “Screen”
    Identifier      “DisplayLinkScreen”
    Device          “DisplayLinkDevice”
    Monitor         “DisplayLinkMonitor”
    SubSection “Display”
    Depth   16
    Modes   “800×480″
    EndSubSection
    EndSection

    #################################################

Hat es auch nicht funktioniert. Kann leider die Fehlermeldung nicht posten, da ich auch die x11-xserver-utils installiert habe, um mal mit xrandr zu schauen und jetzt bootet das Gerät nicht. Also mal die Karte neu aufsetzen.

Antworten |