The official Raspberry Pi touch display driver?

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

The official Raspberry Pi touch display driver?

Postby csanyipal » Sun Oct 25, 2015 10:30 am

Hi,

I just bought this touch screen.

I'm trying to set it up by using lightdm display manager.
I have installed xfce4 desktop environment.
My archlinux-arm operating system is installed on Raspberry Pi B+ .

I can`t start lightdm. I`m trying it in testing mode with command:
Code: Select all
lightdm --test-mode --debug

and get output that can be seen here:
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.16.3, UID=1001 PID=2785
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.01s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Running in user mode
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Registered seat module unity
[+0.09s] DEBUG: Monitoring logind for seats
[+0.09s] DEBUG: New seat added from logind: seat0
[+0.09s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.09s] DEBUG: Seat seat0: Starting
[+0.09s] DEBUG: Seat seat0: Creating user session
[+0.11s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.11s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.11s] DEBUG: User csp added
[+0.12s] DEBUG: Seat seat0: Failed to find session configuration /usr/bin/startxfce4
[+0.13s] DEBUG: Seat seat0: Can't find session '/usr/bin/startxfce4'
[+0.13s] DEBUG: Seat seat0: Creating greeter session
[+0.13s] DEBUG: Seat seat0: Creating display server of type x
[+0.14s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.14s] DEBUG: Seat seat0: Starting local X display
[+0.14s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.14s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+0.14s] WARNING: Error reading existing Xauthority: Failed to open file '/run/lightdm/root/:0': Permission denied
[+0.14s] WARNING: DisplayServer x-0: Failed to write authority: Failed to open X authority /run/lightdm/root/:0: Permission denied
[+0.14s] DEBUG: DisplayServer x-0: Launching X Server
[+0.14s] WARNING: Failed to open log file /var/log/lightdm/x-0.log: Permission denied
[+0.14s] DEBUG: Launching process 2791: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp
[+0.15s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.15s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Permission denied
[+0.15s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.16s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
/usr/lib/xorg-server/Xorg.wrap: Only console users are allowed to run the X server
[+0.19s] DEBUG: Process 2791 exited with return value 1
[+0.20s] DEBUG: DisplayServer x-0: X server stopped
[+0.20s] DEBUG: DisplayServer x-0: Removing X server authority /run/lightdm/root/:0
[+0.20s] DEBUG: Seat seat0: Display server stopped
[+0.20s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.20s] DEBUG: Seat seat0: Stopping
[+0.20s] DEBUG: Seat seat0: Stopping session
[+0.20s] DEBUG: Seat seat0: Session stopped
[+0.20s] DEBUG: Seat seat0: Stopped
[+0.20s] DEBUG: Required seat has stopped
[+0.20s] DEBUG: Stopping display manager
[+0.20s] DEBUG: Display manager stopped
[+0.20s] DEBUG: Stopping daemon
[+0.20s] DEBUG: Seat seat0: Stopping session
[+0.21s] DEBUG: Exiting with return value 1

It seems to me that that there is no kernel driver for this touch screen out there, right?
How can I solve this problem?
csanyipal
 
Posts: 6
Joined: Sun Oct 25, 2015 9:03 am

Re: The official Raspberry Pi touch display driver?

Postby csanyipal » Mon Oct 26, 2015 2:29 pm

Well, if I can't achieve my goal on Arch linux-arm, then I must change the operating system and start using Raspbian operating system. On that system one can uses this touch screen.
csanyipal
 
Posts: 6
Joined: Sun Oct 25, 2015 9:03 am

Re: The official Raspberry Pi touch display driver?

Postby WarheadsSE » Mon Oct 26, 2015 5:32 pm

To know about the drivers, you should be testing X or a WM, not a DM, to get a direct test.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6796
Joined: Mon Oct 18, 2010 2:12 pm

Re: The official Raspberry Pi touch display driver?

Postby csanyipal » Mon Oct 26, 2015 5:35 pm

To know about the drivers, you should be testing X or a WM, not a DM, to get a direct test.

How can I test X to know about the driver?
csanyipal
 
Posts: 6
Joined: Sun Oct 25, 2015 9:03 am

Re: The official Raspberry Pi touch display driver?

Postby WarheadsSE » Mon Oct 26, 2015 5:45 pm

Run the X server. Check the log.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6796
Joined: Mon Oct 18, 2010 2:12 pm

Re: The official Raspberry Pi touch display driver?

Postby csanyipal » Tue Oct 27, 2015 6:22 pm

Here is the output [1.] when I run
Code: Select all
startxfce4

on rpi
and the Xorg.0.log [2.]:
1.
/usr/bin/startxfce4: Starting X server

X.Org X Server 1.17.2
Release Date: 2015-06-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.10.72-7-ARCH armv6l
Current Operating System: Linux alarmpi 4.1.10-2-ARCH #1 PREEMPT Sat Oct 10 08:33:01 MDT
2015 armv6lKernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=800
bcm2708_fb.fbheight=480 bcm2708.boardrev=0x10 bcm2708.serial=0xec29199e
smsc95xx.macaddr=B8:27:EB:29:19:9E bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=47
bcm2708.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000
vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 root=/dev/mmcblk0p2 rw rootwait
console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N
dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop
Build Date: 17 July 2015 12:23:45PM

Current version of pixman: 0.32.8
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 27 18:07:46 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
for additional information.(EE) (EE) Server terminated with error (1). Closing log
file.Xorg.0.log"xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error


2.
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 403.183] X Protocol Version 11, Revision 0
[ 403.186] Build Operating System: Linux 3.10.72-7-ARCH armv6l
[ 403.189] Current Operating System: Linux alarmpi 4.1.10-2-ARCH #1 PREEMPT Sat Oct 10 08:33:01 MDT 2015 armv6l
[ 403.189] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=800 bcm2708_fb.fbheight=480 bcm2708.boar
drev=0x10 bcm2708.serial=0xec29199e smsc95xx.macaddr=B8:27:EB:29:19:9E bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=
47 bcm2708.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_si
ze=0x20000000 root=/dev/mmcblk0p2 rw rootwait console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 sm
sc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop
[ 403.210] Build Date: 17 July 2015 12:23:45PM
[ 403.213]
[ 403.216] Current version of pixman: 0.32.8
[ 403.222] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 403.223] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 403.237] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 27 18:07:46 2015
[ 403.242] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 403.244] (==) No Layout section. Using the first Screen section.
[ 403.244] (==) No screen section available. Using defaults.
[ 403.244] (**) |-->Screen "Default Screen Section" (0)
[ 403.245] (**) | |-->Monitor "<default monitor>"
[ 403.246] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 403.246] (==) Automatically adding devices
[ 403.247] (==) Automatically enabling devices
[ 403.247] (==) Automatically adding GPU devices
[ 403.247] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 403.247] Entry deleted from font path.
[ 403.248] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 403.248] Entry deleted from font path.
[ 403.248] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 403.248] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 403.248] Entry deleted from font path.
[ 403.249] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 403.249] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/
[ 403.249] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 403.249] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 403.249] (II) Loader magic: 0x1dff28
[ 403.249] (II) Module ABI versions:
[ 403.249] X.Org ANSI C Emulation: 0.4
[ 403.250] X.Org Video Driver: 19.0
[ 403.250] X.Org XInput driver : 21.1
[ 403.250] X.Org Server Extension : 9.0
[ 403.283] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[ 403.284] (II) no primary bus or device found
[ 403.285] (II) LoadModule: "glx"
[ 403.287] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 403.354] (II) Module glx: vendor="X.Org Foundation"
[ 403.355] compiled for 1.17.2, module version = 1.0.0
[ 403.355] ABI class: X.Org Server Extension, version 9.0
[ 403.355] (==) AIGLX enabled
[ 403.356] (==) Matched modesetting as autoconfigured driver 0
[ 403.356] (==) Matched fbdev as autoconfigured driver 1
[ 403.356] (==) Assigned the driver to the xf86ConfigLayout
[ 403.356] (II) LoadModule: "modesetting"
[ 403.357] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 403.359] (II) Module modesetting: vendor="X.Org Foundation"
[ 403.359] compiled for 1.17.2, module version = 1.17.2
[ 403.360] Module class: X.Org Video Driver
[ 403.360] ABI class: X.Org Video Driver, version 19.0
[ 403.360] (II) LoadModule: "fbdev"
[ 403.362] (WW) Warning, couldn't open module fbdev
[ 403.363] (II) UnloadModule: "fbdev"
[ 403.363] (II) Unloading fbdev
[ 403.363] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 403.364] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 403.364] (++) using VT number 1

[ 403.364] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 403.365] (WW) Falling back to old probe method for modesetting
[ 403.365] (EE) open /dev/dri/card0: No such file or directory
[ 403.366] (EE) No devices detected.
[ 403.366] (EE)
Fatal server error:
[ 403.366] (EE) no screens found(EE)
[ 403.367] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 403.367] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 403.367] (EE)
[ 403.380] (EE) Server terminated with error (1). Closing log file.

What should be my next action to solve this problem?

--
Best, Pal
csanyipal
 
Posts: 6
Joined: Sun Oct 25, 2015 9:03 am

Re: The official Raspberry Pi touch display driver?

Postby WarheadsSE » Tue Oct 27, 2015 6:34 pm

What xf86-video-* driver do you have installed?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6796
Joined: Mon Oct 18, 2010 2:12 pm

Re: The official Raspberry Pi touch display driver?

Postby csanyipal » Tue Oct 27, 2015 6:44 pm

I have not installed any of xf86-video-* drivers.

When I list video drivers, I get only these:
Code: Select all
pacman -Ss xf86-video-

extra/xf86-video-dummy 0.3.7-4 (xorg-drivers xorg)
X.org dummy video driver
extra/xf86-video-fbdev 0.4.4-4 (xorg-drivers xorg)
X.org framebuffer video driver
extra/xf86-video-sisusb 0.9.6-6
X.org SiS USB video driver
extra/xf86-video-vesa 2.3.4-1 (xorg-drivers xorg)
X.org vesa video driver
alarm/xf86-video-fbturbo-git 197.e094e3c-1
X.org MALI video driver
alarm/xf86-video-omapfb 0.1.1.1-2
OMAP3+ framebuffer driver for X

I think that that none of them can drive the official Raspberry Pi touch screen, because the web pages https://github.com/raspberrypi/documentation/blob/master/hardware/display/troubleshooting.md and http://forums.pimoroni.com/t/official-7-raspberry-pi-touch-screen-faq/959 mentions the 'libraspberrypi0' package which must be installed.
There is no such package on archlinux-arm system.
What do you think?
csanyipal
 
Posts: 6
Joined: Sun Oct 25, 2015 9:03 am

Re: The official Raspberry Pi touch display driver?

Postby csanyipal » Wed Oct 28, 2015 7:39 pm

With alarm/xf86-video-fbturbo-git packaged installed I can start X.
csanyipal
 
Posts: 6
Joined: Sun Oct 25, 2015 9:03 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests