Tontec Screen mz61581


#1

Hi,
I’ve just got a raspberry pi with ubuntu mate and i’m trying to make a tontec mz61581 touchscreen work with it.
i’ve followed the tontec instructionss but they made them for raspbian.
the screen works with mate as well but if i use the tontec screen as default screen when i do “startx” it doesn’t work.

that’s the xorg log

[ 148.926]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 148.926] X Protocol Version 11, Revision 0
[ 148.926] Build Operating System: Linux 3.2.0-84-highbank armv7l Ubuntu
[ 148.926] Current Operating System: Linux sneakolPI-desktop 4.1.10-v7+ #821 SMP PREEMPT Sat Oct 10 00:16:28 BST 2015 armv7l
[ 148.927] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0x41942687 smsc95xx.macaddr=B8:27:EB:94:26:87 bcm2708_fb.fbdepth=32 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait quiet splash fbcon=map:10
[ 148.927] Build Date: 30 September 2015 09:13:14AM
[ 148.927] xorg-server 2:1.17.2-1ubuntu9 (For technical support please see http://www.ubuntu.com/support)
[ 148.927] Current version of pixman: 0.32.6
[ 148.927] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 148.927] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 148.928] (==) Log file: “/var/log/Xorg.0.log”, Time: Thu Oct 29 10:54:02 2015
[ 148.929] (==) Using config file: “/etc/X11/xorg.conf”
[ 148.929] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 148.991] (==) No Layout section. Using the first Screen section.
[ 148.991] (==) No screen section available. Using defaults.
[ 148.991] (
) |–>Screen “Default Screen Section” (0)
[ 148.991] () | |–>Monitor “”
[ 148.993] (==) No device specified for screen “Default Screen Section”.
Using the first device section listed.
[ 148.993] (
) | |–>Device “Raspberry Pi FBDEV”
[ 148.993] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 148.993] (==) Automatically adding devices
[ 148.993] (==) Automatically enabling devices
[ 148.993] (==) Automatically adding GPU devices
[ 149.032] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 149.032] Entry deleted from font path.
[ 149.032] (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.
[ 149.032] Entry deleted from font path.
[ 149.032] (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.
[ 149.032] Entry deleted from font path.
[ 149.034] (WW) The directory “/usr/share/fonts/X11/100dpi” does not exist.
[ 149.034] Entry deleted from font path.
[ 149.034] (WW) The directory “/usr/share/fonts/X11/75dpi” does not exist.
[ 149.034] Entry deleted from font path.
[ 149.034] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 149.034] (==) ModulePath set to “/usr/lib/arm-linux-gnueabihf/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules”
[ 149.034] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 149.034] (II) Loader magic: 0x54c18f58
[ 149.035] (II) Module ABI versions:
[ 149.035] X.Org ANSI C Emulation: 0.4
[ 149.035] X.Org Video Driver: 19.0
[ 149.035] X.Org XInput driver : 21.0
[ 149.035] X.Org Server Extension : 9.0
[ 149.035] (II) no primary bus or device found
[ 149.036] (II) LoadModule: “glx”
[ 149.046] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 149.125] (II) Module glx: vendor=“X.Org Foundation”
[ 149.125] compiled for 1.17.2, module version = 1.0.0
[ 149.125] ABI class: X.Org Server Extension, version 9.0
[ 149.125] (==) AIGLX enabled
[ 149.125] (II) LoadModule: “fbturbo”
[ 149.128] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[ 149.133] (II) Module fbturbo: vendor=“X.Org Foundation”
[ 149.133] compiled for 1.17.2, module version = 0.5.1
[ 149.133] Module class: X.Org Video Driver
[ 149.133] ABI class: X.Org Video Driver, version 19.0
[ 149.133] (II) FBTURBO: driver for framebuffer: fbturbo
[ 149.133] (++) using VT number 7

[ 149.136] (WW) Falling back to old probe method for fbturbo
[ 149.136] (II) Loading sub module “fbdevhw”
[ 149.136] (II) LoadModule: “fbdevhw”
[ 149.137] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 149.141] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 149.141] compiled for 1.17.2, module version = 0.0.2
[ 149.141] ABI class: X.Org Video Driver, version 19.0
[ 149.141] (II) FBTURBO(0): using /dev/fb0
[ 149.141] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 149.141] (II) FBTURBO(0): Creating default Display subsection in Screen section
“Default Screen Section” for depth/fbbpp 24/32
[ 149.142] (==) FBTURBO(0): Depth 24, (==) framebuffer bpp 32
[ 149.142] (==) FBTURBO(0): RGB weight 888
[ 149.142] (==) FBTURBO(0): Default visual is TrueColor
[ 149.142] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[ 149.142] (II) FBTURBO(0): hardware: BCM2708 FB (video memory: 7011kB)
[ 149.142] () FBTURBO(0): Option “fbdev” “/dev/fb0”
[ 149.142] (
) FBTURBO(0): Option “SwapbuffersWait” “true”
[ 149.143] (II) FBTURBO(0): processor: ARM Cortex-A7
[ 149.144] (II) FBTURBO(0): checking modes against framebuffer device…
[ 149.144] (II) FBTURBO(0): checking modes against monitor…
[ 149.144] (–) FBTURBO(0): Virtual size is 1824x984 (pitch 1824)
[ 149.144] () FBTURBO(0): Built-in mode “current”
[ 149.144] (==) FBTURBO(0): DPI set to (96, 96)
[ 149.144] (II) Loading sub module “fb”
[ 149.144] (II) LoadModule: “fb”
[ 149.147] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 149.157] (II) Module fb: vendor=“X.Org Foundation”
[ 149.157] compiled for 1.17.2, module version = 1.0.0
[ 149.157] ABI class: X.Org ANSI C Emulation, version 0.4
[ 149.157] (==) Depth 24 pixmap format is 32 bpp
[ 149.167] (II) FBTURBO(0): using backing store heuristics
[ 149.179] (II) FBTURBO(0): can’t load ‘g2d_23’ kernel module
[ 149.179] (II) FBTURBO(0): failed to enable the use of sunxi display controller
[ 149.179] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp and /dev/g2d)
[ 149.179] (II) FBTURBO(0): G2D hardware acceleration can’t be enabled
[ 149.179] (II) FBTURBO(0): enabled fbdev copyarea acceleration
[ 149.179] (==) FBTURBO(0): Backing store enabled
[ 149.188] (==) FBTURBO(0): DPMS enabled
[ 149.189] (II) FBTURBO(0): failed to enable hardware cursor
[ 149.189] (II) FBTURBO(0): no 3D acceleration because the driver has been compiled without libUMP
[ 149.189] (II) FBTURBO(0): if this is wrong and needs to be fixed, please check ./configure log
[ 149.189] (==) RandR enabled
[ 149.231] (II) SELinux: Disabled on system
[ 149.236] (II) AIGLX: Screen 0 is not DRI2 capable
[ 149.237] (EE) AIGLX: reverting to software rendering
[ 150.110] (II) AIGLX: Loaded and initialized swrast
[ 150.111] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 150.247] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[ 150.337] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/event1)
[ 150.338] (
) ADS7846 Touchscreen: Applying InputClass “evdev touchscreen catchall”
[ 150.338] (II) LoadModule: “evdev”
[ 150.339] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 150.354] (II) Module evdev: vendor=“X.Org Foundation”
[ 150.354] compiled for 1.17.1, module version = 2.9.2
[ 150.354] Module class: X.Org XInput Driver
[ 150.354] ABI class: X.Org XInput driver, version 21.0
[ 150.354] (II) Using input driver ‘evdev’ for ‘ADS7846 Touchscreen’
[ 150.355] () ADS7846 Touchscreen: always reports core events
[ 150.355] (
) evdev: ADS7846 Touchscreen: Device: “/dev/input/event1”
[ 150.355] (–) evdev: ADS7846 Touchscreen: Vendor 0 Product 0
[ 150.355] (–) evdev: ADS7846 Touchscreen: Found absolute axes
[ 150.356] (–) evdev: ADS7846 Touchscreen: Found x and y absolute axes
[ 150.356] (–) evdev: ADS7846 Touchscreen: Found absolute touchscreen
[ 150.356] (II) evdev: ADS7846 Touchscreen: Configuring as touchscreen
[ 150.356] () evdev: ADS7846 Touchscreen: YAxisMapping: buttons 4 and 5
[ 150.356] (
) evdev: ADS7846 Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 150.356] () Option “config_info” “udev:/sys/devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input1/event1”
[ 150.357] (II) XINPUT: Adding extended input device “ADS7846 Touchscreen” (type: TOUCHSCREEN, id 6)
[ 150.357] (II) evdev: ADS7846 Touchscreen: initialized for absolute axes.
[ 150.358] (
) ADS7846 Touchscreen: (accel) keeping acceleration scheme 1
[ 150.359] () ADS7846 Touchscreen: (accel) acceleration profile 0
[ 150.359] (
) ADS7846 Touchscreen: (accel) acceleration factor: 2.000
[ 150.359] () ADS7846 Touchscreen: (accel) acceleration threshold: 4
[ 150.364] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse1)
[ 150.365] (II) No input driver specified, ignoring this device.
[ 150.365] (II) This device may have been added with another device file.
[ 150.372] (II) config/udev: Adding input device MOSART Semi. 2.4G Wireless Mouse (/dev/input/event0)
[ 150.372] (
) MOSART Semi. 2.4G Wireless Mouse: Applying InputClass “evdev pointer catchall”
[ 150.372] (II) Using input driver ‘evdev’ for ‘MOSART Semi. 2.4G Wireless Mouse’
[ 150.372] () MOSART Semi. 2.4G Wireless Mouse: always reports core events
[ 150.372] (
) evdev: MOSART Semi. 2.4G Wireless Mouse: Device: “/dev/input/event0”
[ 150.430] (–) evdev: MOSART Semi. 2.4G Wireless Mouse: Vendor 0x3938 Product 0x1031
[ 150.430] (–) evdev: MOSART Semi. 2.4G Wireless Mouse: Found 9 mouse buttons
[ 150.430] (–) evdev: MOSART Semi. 2.4G Wireless Mouse: Found scroll wheel(s)
[ 150.430] (–) evdev: MOSART Semi. 2.4G Wireless Mouse: Found relative axes
[ 150.430] (–) evdev: MOSART Semi. 2.4G Wireless Mouse: Found x and y relative axes
[ 150.430] (–) evdev: MOSART Semi. 2.4G Wireless Mouse: Found absolute axes
[ 150.431] (II) evdev: MOSART Semi. 2.4G Wireless Mouse: Forcing absolute x/y axes to exist.
[ 150.431] (II) evdev: MOSART Semi. 2.4G Wireless Mouse: Configuring as mouse
[ 150.431] (II) evdev: MOSART Semi. 2.4G Wireless Mouse: Adding scrollwheel support
[ 150.431] () evdev: MOSART Semi. 2.4G Wireless Mouse: YAxisMapping: buttons 4 and 5
[ 150.431] (
) evdev: MOSART Semi. 2.4G Wireless Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 150.431] () Option “config_info” “udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:3938:1031.0001/input/input0/event0”
[ 150.432] (II) XINPUT: Adding extended input device “MOSART Semi. 2.4G Wireless Mouse” (type: MOUSE, id 7)
[ 150.432] (II) evdev: MOSART Semi. 2.4G Wireless Mouse: initialized for relative axes.
[ 150.432] (WW) evdev: MOSART Semi. 2.4G Wireless Mouse: ignoring absolute axes.
[ 150.434] (
) MOSART Semi. 2.4G Wireless Mouse: (accel) keeping acceleration scheme 1
[ 150.434] () MOSART Semi. 2.4G Wireless Mouse: (accel) acceleration profile 0
[ 150.434] (
) MOSART Semi. 2.4G Wireless Mouse: (accel) acceleration factor: 2.000
[ 150.434] () MOSART Semi. 2.4G Wireless Mouse: (accel) acceleration threshold: 4
[ 150.440] (II) config/udev: Adding input device MOSART Semi. 2.4G Wireless Mouse (/dev/input/mouse0)
[ 150.441] (II) No input driver specified, ignoring this device.
[ 150.441] (II) This device may have been added with another device file.
[ 150.450] (II) config/udev: Adding input device Type - S (/dev/input/event2)
[ 150.450] (
) Type - S: Applying InputClass “evdev keyboard catchall”
[ 150.450] () Type - S: Applying InputClass “keyboard defaults”
[ 150.451] (II) Using input driver ‘evdev’ for ‘Type - S’
[ 150.451] (
) Type - S: always reports core events
[ 150.451] () evdev: Type - S: Device: “/dev/input/event2”
[ 150.451] (–) evdev: Type - S: Vendor 0x46d Product 0xb332
[ 150.451] (–) evdev: Type - S: Found absolute axes
[ 150.452] (II) evdev: Type - S: Forcing absolute x/y axes to exist.
[ 150.452] (–) evdev: Type - S: Found keys
[ 150.452] (II) evdev: Type - S: Forcing relative x/y axes to exist.
[ 150.452] (II) evdev: Type - S: Configuring as mouse
[ 150.452] (II) evdev: Type - S: Configuring as keyboard
[ 150.452] (
) Option “config_info” “udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:11/0005:046D:B332.0002/input/input2/event2”
[ 150.452] (II) XINPUT: Adding extended input device “Type - S” (type: KEYBOARD, id 8)
[ 150.452] () Option “xkb_rules” “evdev”
[ 150.453] (
) Option “xkb_model” “pc105”
[ 150.453] () Option “xkb_layout” “it”
[ 150.453] (
) Option “xkb_options” “terminate:ctrl_alt_bksp”
[ 150.476] (II) XKB: reuse xkmfile /var/lib/xkb/server-CE9E112D708AAFA2376E65C27974ED1D649E43E2.xkm
[ 150.482] (II) evdev: Type - S: initialized for absolute axes.
[ 150.484] () Type - S: (accel) keeping acceleration scheme 1
[ 150.484] (
) Type - S: (accel) acceleration profile 0
[ 150.484] () Type - S: (accel) acceleration factor: 2.000
[ 150.484] (
) Type - S: (accel) acceleration threshold: 4

anyone knows how to fix that?
thanks


#2

Hey guys. :slight_smile:

I want to use the same components, can anyone guide please… :confused:


#3

See if help:

:slight_smile: