Probleme mit Touchscreen (Mauszeiger springt in Ecke)

Debian auf Notebooks und speziellen Geräten wie eingebetteten Systemen, Routern, Set-Top-Boxen, ...
Antworten
DerBenutzername
Beiträge: 9
Registriert: 25.06.2015 17:19:43

Probleme mit Touchscreen (Mauszeiger springt in Ecke)

Beitrag von DerBenutzername » 25.06.2015 17:36:19

Hi!
Ich habe ein NH5 Cape auf einem BeagleBone Black auf dem wiederrum ein ein Debian mit Kernel 3.8. Ich bin kein Profi, aber ich glaube irgendwie werden
die Koordinaten falsch gemappt, denn wenn ich den Touchscreen berühre, springt der Mauszeiger in die obere, linke Ecke. Ich benutze den evdev bzw FocalTech ft5x0x
Treiber. So sieht meine xorg.conf aus:
Section "Monitor"
Identifier "Builtin Default Monitor"
EndSection

Section "Device"
Identifier "Builtin Default fbdev Device 0"
Driver "fbdev"
EndSection

Section "Screen"
Identifier "Builtin Default fbdev Screen 0"
Device "Builtin Default fbdev Device 0"
Monitor "Builtin Default Monitor"
DefaultDepth 24
EndSection

Section "ServerLayout"
Identifier "Builtin Default Layout"
Screen "Builtin Default fbdev Screen 0"
EndSection

Section "InputClass"
Identifier "Touchscreen"
MatchProduct "ft5x_ts"
Driver "evdev"
Option "EmulateThirdButton" "1"
Option "EmulateThirdButtonTimeout" "1000"
Option "EmulateThirdButtonMoveThreshold" "30"
Option "Calibration" "0 800 0 480"
Option "InvertX" "yes"
Option "InvertY" "yes"
EndSection

Das ist die Log vom X11:

Code: Alles auswählen

[   134.275] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[   134.276] X Protocol Version 11, Revision 0
[   134.276] Build Operating System: Linux 3.16.0-0.bpo.4-armmp-lpae armv7l Debian
[   134.276] Current Operating System: Linux beaglebone 3.8.13-bone72 #3 SMP Tue Jun 23 14:05:55 CEST 2015 armv7l
[   134.276] Kernel command line: console=tty0 console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN root=/dev/mmcblk0p2 rootfstype=ext4 rootwait fixrtc
[   134.276] Build Date: 11 February 2015  01:18:06AM
[   134.276] xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
[   134.276] Current version of pixman: 0.32.6
[   134.276] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   134.276] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   134.279] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  1 01:02:28 2000
[   134.280] (==) Using config file: "/etc/X11/xorg.conf"
[   134.280] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   134.284] (==) ServerLayout "Builtin Default Layout"
[   134.284] (**) |-->Screen "Builtin Default fbdev Screen 0" (0)
[   134.284] (**) |   |-->Monitor "Builtin Default Monitor"
[   134.287] (**) |   |-->Device "Builtin Default fbdev Device 0"
[   134.287] (==) Automatically adding devices
[   134.287] (==) Automatically enabling devices
[   134.288] (==) Automatically adding GPU devices
[   134.288] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   134.288] 	Entry deleted from font path.
[   134.288] (==) 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
[   134.288] (==) ModulePath set to "/usr/lib/xorg/modules"
[   134.288] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   134.288] (II) Loader magic: 0xb6f2ff18
[   134.288] (II) Module ABI versions:
[   134.288] 	X.Org ANSI C Emulation: 0.4
[   134.288] 	X.Org Video Driver: 18.0
[   134.288] 	X.Org XInput driver : 21.0
[   134.288] 	X.Org Server Extension : 8.0
[   134.290] (II) no primary bus or device found
[   134.290] (II) LoadModule: "glx"
[   134.291] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   134.310] (II) Module glx: vendor="X.Org Foundation"
[   134.310] 	compiled for 1.16.4, module version = 1.0.0
[   134.311] 	ABI class: X.Org Server Extension, version 8.0
[   134.311] (==) AIGLX enabled
[   134.311] (II) LoadModule: "fbdev"
[   134.312] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   134.312] (II) Module fbdev: vendor="X.Org Foundation"
[   134.312] 	compiled for 1.15.99.904, module version = 0.4.4
[   134.312] 	Module class: X.Org Video Driver
[   134.313] 	ABI class: X.Org Video Driver, version 18.0
[   134.313] (II) FBDEV: driver for framebuffer: fbdev
[   134.313] (++) using VT number 7

[   134.313] (WW) Falling back to old probe method for fbdev
[   134.313] (II) Loading sub module "fbdevhw"
[   134.313] (II) LoadModule: "fbdevhw"
[   134.314] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   134.315] (II) Module fbdevhw: vendor="X.Org Foundation"
[   134.315] 	compiled for 1.16.4, module version = 0.0.2
[   134.315] 	ABI class: X.Org Video Driver, version 18.0
[   134.315] (II) FBDEV(0): using default device
[   134.315] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   134.316] (II) FBDEV(0): Creating default Display subsection in Screen section
	"Builtin Default fbdev Screen 0" for depth/fbbpp 24/32
[   134.316] (**) FBDEV(0): Depth 24, (--) framebuffer bpp 32
[   134.316] (==) FBDEV(0): RGB weight 888
[   134.316] (==) FBDEV(0): Default visual is TrueColor
[   134.316] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[   134.316] (II) FBDEV(0): hardware: DA8xx FB Drv (video memory: 3000kB)
[   134.316] (II) FBDEV(0): checking modes against framebuffer device...
[   134.316] (II) FBDEV(0): checking modes against monitor...
[   134.316] (--) FBDEV(0): Virtual size is 800x480 (pitch 800)
[   134.316] (**) FBDEV(0):  Built-in mode "current": 45.0 MHz, 43.9 kHz, 80.3 Hz
[   134.317] (II) FBDEV(0): Modeline "current"x0.0   45.00  800 888 936 1024  480 512 515 547 -hsync -vsync -csync (43.9 kHz b)
[   134.317] (==) FBDEV(0): DPI set to (96, 96)
[   134.317] (II) Loading sub module "fb"
[   134.317] (II) LoadModule: "fb"
[   134.317] (II) Loading /usr/lib/xorg/modules/libfb.so
[   134.318] (II) Module fb: vendor="X.Org Foundation"
[   134.318] 	compiled for 1.16.4, module version = 1.0.0
[   134.318] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   134.318] (**) FBDEV(0): using shadow framebuffer
[   134.318] (II) Loading sub module "shadow"
[   134.318] (II) LoadModule: "shadow"
[   134.319] (II) Loading /usr/lib/xorg/modules/libshadow.so
[   134.320] (II) Module shadow: vendor="X.Org Foundation"
[   134.320] 	compiled for 1.16.4, module version = 1.1.0
[   134.320] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   134.320] (==) Depth 24 pixmap format is 32 bpp
[   134.327] (==) FBDEV(0): Backing store enabled
[   134.329] (==) FBDEV(0): DPMS enabled
[   134.329] (==) RandR enabled
[   134.363] (II) SELinux: Disabled on system
[   134.368] (II) AIGLX: Screen 0 is not DRI2 capable
[   134.368] (EE) AIGLX: reverting to software rendering
[   134.388] (II) AIGLX: Loaded and initialized swrast
[   134.389] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   134.641] (II) config/udev: Adding input device tps65217_pwr_but (/dev/input/event0)
[   134.641] (**) tps65217_pwr_but: Applying InputClass "evdev keyboard catchall"
[   134.641] (II) LoadModule: "evdev"
[   134.641] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   134.644] (II) Module evdev: vendor="X.Org Foundation"
[   134.644] 	compiled for 1.16.0, module version = 2.9.0
[   134.645] 	Module class: X.Org XInput Driver
[   134.645] 	ABI class: X.Org XInput driver, version 21.0
[   134.645] (II) Using input driver 'evdev' for 'tps65217_pwr_but'
[   134.645] (**) tps65217_pwr_but: always reports core events
[   134.645] (**) evdev: tps65217_pwr_but: Device: "/dev/input/event0"
[   134.645] (--) evdev: tps65217_pwr_but: Vendor 0 Product 0
[   134.646] (--) evdev: tps65217_pwr_but: Found keys
[   134.646] (II) evdev: tps65217_pwr_but: Configuring as keyboard
[   134.646] (**) Option "config_info" "udev:/sys/devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0/event0"
[   134.646] (II) XINPUT: Adding extended input device "tps65217_pwr_but" (type: KEYBOARD, id 6)
[   134.646] (**) Option "xkb_rules" "evdev"
[   134.646] (**) Option "xkb_model" "pc105"
[   134.646] (**) Option "xkb_layout" "us"
[   134.650] (II) config/udev: Adding input device gpio_keys.12 (/dev/input/event1)
[   134.650] (**) gpio_keys.12: Applying InputClass "evdev keyboard catchall"
[   134.650] (II) Using input driver 'evdev' for 'gpio_keys.12'
[   134.651] (**) gpio_keys.12: always reports core events
[   134.651] (**) evdev: gpio_keys.12: Device: "/dev/input/event1"
[   134.651] (--) evdev: gpio_keys.12: Vendor 0x1 Product 0x1
[   134.651] (--) evdev: gpio_keys.12: Found keys
[   134.651] (II) evdev: gpio_keys.12: Configuring as keyboard
[   134.651] (**) Option "config_info" "udev:/sys/devices/ocp.3/gpio_keys.12/input/input1/event1"
[   134.651] (II) XINPUT: Adding extended input device "gpio_keys.12" (type: KEYBOARD, id 7)
[   134.651] (**) Option "xkb_rules" "evdev"
[   134.651] (**) Option "xkb_model" "pc105"
[   134.651] (**) Option "xkb_layout" "us"
[   134.656] (II) config/udev: Adding input device ft5x0x_ts (/dev/input/event2)
[   134.656] (**) ft5x0x_ts: Applying InputClass "evdev touchscreen catchall"
[   134.656] (II) Using input driver 'evdev' for 'ft5x0x_ts'
[   134.656] (**) ft5x0x_ts: always reports core events
[   134.656] (**) evdev: ft5x0x_ts: Device: "/dev/input/event2"
[   134.656] (II) evdev: ft5x0x_ts: Using mtdev for this device
[   134.657] (--) evdev: ft5x0x_ts: Vendor 0 Product 0
[   134.657] (--) evdev: ft5x0x_ts: Found absolute axes
[   134.657] (--) evdev: ft5x0x_ts: Found absolute multitouch axes
[   134.657] (II) evdev: ft5x0x_ts: No buttons found, faking one.
[   134.657] (--) evdev: ft5x0x_ts: Found x and y absolute axes
[   134.657] (--) evdev: ft5x0x_ts: Found absolute touchscreen
[   134.657] (II) evdev: ft5x0x_ts: Configuring as touchscreen
[   134.657] (**) evdev: ft5x0x_ts: YAxisMapping: buttons 4 and 5
[   134.657] (**) evdev: ft5x0x_ts: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   134.658] (**) Option "config_info" "udev:/sys/devices/virtual/input/input2/event2"
[   134.658] (II) XINPUT: Adding extended input device "ft5x0x_ts" (type: TOUCHSCREEN, id 8)
[   134.658] (II) evdev: ft5x0x_ts: initialized for absolute axes.
[   134.659] (**) ft5x0x_ts: (accel) keeping acceleration scheme 1
[   134.659] (**) ft5x0x_ts: (accel) acceleration profile 0
[   134.659] (**) ft5x0x_ts: (accel) acceleration factor: 2.000
[   134.659] (**) ft5x0x_ts: (accel) acceleration threshold: 4
[   134.661] (II) config/udev: Adding input device ft5x0x_ts (/dev/input/mouse0)
[   134.661] (II) No input driver specified, ignoring this device.
[   134.661] (II) This device may have been added with another device file.
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis
Divide by Zero in xf86ScaleAxis

Könnte das "Divide by Zero in xf86ScaleAxis" etwas damit zu tun haben? Ich wäre für etwaige Hilfe sehr dankbar!
Gruß, Christoph

DerBenutzername
Beiträge: 9
Registriert: 25.06.2015 17:19:43

Re: Probleme mit Touchscreen (Mauszeiger springt in Ecke)

Beitrag von DerBenutzername » 30.06.2015 13:47:19

Ich würde mich über Hilfe sehr freuen. Das Problem ist sehr dringend. Kann
sich irgendwer vorstellen, warum der evdev treiber sich so komisch verhält?

Antworten