Getting i2c touchscreen to work on TS4900

Hey everyone,

I've been working on a project that's using a Technologic Systems TS4900 mo dule as its core. For peripherals we've got two USB ports, ethernet, + soun d and touchscreen. The board is running Debian jessie with

The part I've been toiling away at is the touchscreen, which is a Newhaven NHD-7.0-800480EF-ASXV#-CTP. My first problem was finding a kernel driver an d device tree configuration that worked with the device. Once I got that fi xed and output coming from `cat /dev/input/event0` I set about learning how to bind the touchscreen to an X11 pointer device.

AFAIK Under normal circumstances the touchscreen should be automatically at tached and recognized by X11. This however, is not happening, and I've trie d things from creating a specific InputDevice section in xorg.conf.d to cro ss-compiling tslib for the TS4900, none of which have worked.

The problem which I'm running up against is [ 11012.930] (II) config/udev: Adding input device ft5x06_ts (/dev/input/ev ent0) [ 11012.931] (II) No input driver specified, ignoring this device. [ 11012.931] (II) This device may have been added with another device file.

Is there anything that I could try to get this working?

Thanks,

Kent Friesen

Here is xorg.conf.d/10-evdev.conf Section "InputClass" Identifier "evdev pointer catchall" MatchIsPointer "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection

Section "InputClass" Identifier "evdev keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection

Section "InputClass" Identifier "evdev touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection

Section "InputClass" Identifier "evdev tablet catchall" MatchIsTablet "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection

Section "InputClass" Identifier "evdev touchscreen catchall" MatchIsTouchscreen "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection

Full Xorg.0.log [ 11012.544] X.Org X Server 1.16.4 Release Date: 2014-12-20 [ 11012.544] X Protocol Version 11, Revision 0 [ 11012.544] Build Operating System: Linux 3.16.0-4-armmp-lpae armv7l Debia n [ 11012.544] Current Operating System: Linux ts-imx6 4.1.15-ga0ccff9-dirty #25 SMP PREEMPT Mon Oct 23 21:38:22 EDT 2017 armv7l [ 11012.544] Kernel command line: root=/dev/mmcblk1p1 rootwait rw console =ttymxc0,115200 ro init=/sbin/init [ 11012.545] Build Date: 06 July 2017 09:57:37PM [ 11012.545] xorg-server 2:1.16.4-1+deb8u1

formatting link
[ 11012.545] Current version of pixman: 0.32.6 [ 11012.545] Before reporting problems, check
formatting link
to make sure that you have the latest version. [ 11012.545] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 11012.545] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 25 17:

15:37 2017 [ 11012.546] (==) Using config file: "/etc/X11/xorg.conf" [ 11012.546] (==) Using system config directory "/usr/share/X11/xorg.co nf.d" [ 11012.547] (==) No Layout section. Using the first Screen section. [ 11012.547] (==) No screen section available. Using defaults. [ 11012.547] (**) |-->Screen "Default Screen Section" (0) [ 11012.547] (**) | |-->Monitor "" [ 11012.548] (==) No monitor specified for screen "Default Screen Secti on". Using a default monitor configuration. [ 11012.548] (**) Option "BlankTime" "0" [ 11012.549] (**) Option "StandbyTime" "0" [ 11012.549] (**) Option "SuspendTime" "0" [ 11012.549] (**) Option "OffTime" "0" [ 11012.549] (==) Automatically adding devices [ 11012.549] (==) Automatically enabling devices [ 11012.549] (==) Automatically adding GPU devices [ 11012.549] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not ex ist. [ 11012.549] Entry deleted from font path. [ 11012.549] (==) 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 [ 11012.550] (==) ModulePath set to "/usr/lib/xorg/modules" [ 11012.550] (II) The server relies on udev to provide the list of input de vices. If no devices become available, reconfigure udev or disable AutoAddDevices . [ 11012.550] (II) Loader magic: 0x54c78f18 [ 11012.550] (II) Module ABI versions: [ 11012.550] X.Org ANSI C Emulation: 0.4 [ 11012.550] X.Org Video Driver: 18.0 [ 11012.550] X.Org XInput driver : 21.0 [ 11012.550] X.Org Server Extension : 8.0 [ 11012.551] (II) xfree86: Adding drm device (/dev/dri/card0) [ 11012.551] (II) no primary bus or device found [ 11012.551] falling back to /sys/devices/platform/Vivante GCCore/drm/card 0 [ 11012.551] (II) LoadModule: "glx" [ 11012.552] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 11012.568] (II) Module glx: vendor="X.Org Foundation" [ 11012.568] compiled for 1.16.4, module version = 1.0.0 [ 11012.568] ABI class: X.Org Server Extension, version 8.0 [ 11012.569] (==) AIGLX enabled [ 11012.569] (==) Matched modesetting as autoconfigured driver 0 [ 11012.569] (==) Matched fbdev as autoconfigured driver 1 [ 11012.569] (==) Assigned the driver to the xf86ConfigLayout [ 11012.569] (II) LoadModule: "modesetting" [ 11012.570] (WW) Warning, couldn't open module modesetting [ 11012.570] (II) UnloadModule: "modesetting" [ 11012.570] (II) Unloading modesetting [ 11012.570] (EE) Failed to load module "modesetting" (module does not exis t, 0) [ 11012.570] (II) LoadModule: "fbdev" [ 11012.571] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 11012.571] (II) Module fbdev: vendor="X.Org Foundation" [ 11012.571] compiled for 1.15.99.904, module version = 0.4.4 [ 11012.572] Module class: X.Org Video Driver [ 11012.572] ABI class: X.Org Video Driver, version 18.0 [ 11012.572] (II) FBDEV: driver for framebuffer: fbdev [ 11012.572] (--) using VT number 2 [ 11012.584] (WW) Falling back to old probe method for fbdev [ 11012.585] (II) Loading sub module "fbdevhw" [ 11012.585] (II) LoadModule: "fbdevhw" [ 11012.585] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 11012.586] (II) Module fbdevhw: vendor="X.Org Foundation" [ 11012.586] compiled for 1.16.4, module version = 0.0.2 [ 11012.586] ABI class: X.Org Video Driver, version 18.0 [ 11012.586] (II) FBDEV(0): using default device [ 11012.586] (II) FBDEV(0): Creating default Display subsection in Screen s ection "Default Screen Section" for depth/fbbpp 24/24 [ 11012.587] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 24 [ 11012.587] (==) FBDEV(0): RGB weight 888 [ 11012.587] (==) FBDEV(0): Default visual is TrueColor [ 11012.587] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0) [ 11012.587] (II) FBDEV(0): hardware: DISP3 BG (video memory: 1125kB) [ 11012.587] (II) FBDEV(0): checking modes against framebuffer device... [ 11012.587] (II) FBDEV(0): checking modes against monitor... [ 11012.587] (--) FBDEV(0): Virtual size is 800x480 (pitch 800) [ 11012.587] (**) FBDEV(0): Built-in mode "current": 27.0 MHz, 29.3 kHz, 5 7.5 Hz [ 11012.587] (II) FBDEV(0): Modeline "current"x0.0 27.00 800 860 880 920 480 490 500 510 -hsync -vsync -csync (29.3 kHz b) [ 11012.587] (==) FBDEV(0): DPI set to (96, 96) [ 11012.588] (II) Loading sub module "fb" [ 11012.588] (II) LoadModule: "fb" [ 11012.588] (II) Loading /usr/lib/xorg/modules/libfb.so [ 11012.589] (II) Module fb: vendor="X.Org Foundation" [ 11012.589] compiled for 1.16.4, module version = 1.0.0 [ 11012.589] ABI class: X.Org ANSI C Emulation, version 0.4 [ 11012.589] (**) FBDEV(0): using shadow framebuffer [ 11012.589] (II) Loading sub module "shadow" [ 11012.589] (II) LoadModule: "shadow" [ 11012.590] (II) Loading /usr/lib/xorg/modules/libshadow.so [ 11012.590] (II) Module shadow: vendor="X.Org Foundation" [ 11012.590] compiled for 1.16.4, module version = 1.1.0 [ 11012.590] ABI class: X.Org ANSI C Emulation, version 0.4 [ 11012.591] (==) Depth 24 pixmap format is 32 bpp [ 11012.645] (==) FBDEV(0): Backing store enabled [ 11012.647] (==) FBDEV(0): DPMS enabled [ 11012.647] (==) RandR enabled [ 11012.685] (II) SELinux: Disabled on system [ 11012.690] (II) AIGLX: Screen 0 is not DRI2 capable [ 11012.690] (EE) AIGLX: reverting to software rendering [ 11012.711] (II) AIGLX: Loaded and initialized swrast [ 11012.711] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 11012.924] (II) config/udev: Adding input device Dell Dell USB Entry Keyb oard (/dev/input/event1) [ 11012.924] (**) Dell Dell USB Entry Keyboard: Applying InputClass "evdev keyboard catchall" [ 11012.924] (II) LoadModule: "evdev" [ 11012.925] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 11012.926] (II) Module evdev: vendor="X.Org Foundation" [ 11012.926] compiled for 1.16.0, module version = 2.9.0 [ 11012.927] Module class: X.Org XInput Driver [ 11012.927] ABI class: X.Org XInput driver, version 21.0 [ 11012.927] (II) Using input driver 'evdev' for 'Dell Dell USB Entry Keybo ard' [ 11012.927] (**) Dell Dell USB Entry Keyboard: always reports core events [ 11012.927] (**) evdev: Dell Dell USB Entry Keyboard: Device: "/dev/input/ event1" [ 11012.927] (--) evdev: Dell Dell USB Entry Keyboard: Vendor 0x413c Produc t 0x2107 [ 11012.927] (--) evdev: Dell Dell USB Entry Keyboard: Found keys [ 11012.927] (II) evdev: Dell Dell USB Entry Keyboard: Configuring as keybo ard [ 11012.927] (**) Option "config_info" "udev:/sys/devices/soc0/soc/2100000. aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1:1.0/0003:413C:2107.0001/input/i nput1/event1" [ 11012.927] (II) XINPUT: Adding extended input device "Dell Dell USB Entry Keyboard" (type: KEYBOARD, id 6) [ 11012.928] (**) Option "xkb_rules" "evdev" [ 11012.928] (**) Option "xkb_model" "pc105" [ 11012.928] (**) Option "xkb_layout" "us" [ 11012.930] (II) config/udev: Adding input device ft5x06_ts (/dev/input/ev ent0) [ 11012.931] (II) No input driver specified, ignoring this device. [ 11012.931] (II) This device may have been added with another device file.
Reply to
kfreezen
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.