http://wiki.qt.io/WestonTouchScreenIssues


From c4633014fff25d32926129a8b028124c6338bb2b Mon Sep 17 00:00:00 2001
From: Louai Al-Khanji <louai.al-khanji@theqtcompany.com>
Date: Wed, 19 Aug 2015 09:04:46 +0300
Subject: [PATCH 1/1] Adapt changes made in libinput/src/evdev.c for touch
 frame emission.

---
 src/evdev.c | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/src/evdev.c b/src/evdev.c
index 888dfbd..daa5d72 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -359,12 +359,36 @@ evdev_process_absolute(struct evdev_device *device,
 	}
 }
 
+static inline int
+evdev_need_touch_frame(struct evdev_device *device)
+{
+	if (!(device->seat_caps & EVDEV_SEAT_TOUCH))
+		return 0;
+
+	switch (device->pending_event) {
+	case EVDEV_NONE:
+	case EVDEV_RELATIVE_MOTION:
+		break;
+	case EVDEV_ABSOLUTE_MT_DOWN:
+	case EVDEV_ABSOLUTE_MT_MOTION:
+	case EVDEV_ABSOLUTE_MT_UP:
+	case EVDEV_ABSOLUTE_TOUCH_DOWN:
+	case EVDEV_ABSOLUTE_TOUCH_UP:
+	case EVDEV_ABSOLUTE_MOTION:
+		return 1;
+	}
+
+	return 0;
+}
+
 static void
 fallback_process(struct evdev_dispatch *dispatch,
 		 struct evdev_device *device,
 		 struct input_event *event,
 		 uint32_t time)
 {
+	int need_frame = 0;
+
 	switch (event->type) {
 	case EV_REL:
 		evdev_process_relative(device, event, time);
@@ -376,7 +400,10 @@ fallback_process(struct evdev_dispatch *dispatch,
 		evdev_process_key(device, event, time);
 		break;
 	case EV_SYN:
+		need_frame = evdev_need_touch_frame(device);
 		evdev_flush_pending_event(device, time);
+		if (need_frame)
+			notify_touch_frame(device->seat);
 		break;
 	}
 }
--  

2.1.4 


libinput multi touch 




https://cgit.freedesktop.org/wayland/libinput


'Linux > Wayland' 카테고리의 다른 글

[weston] Boot touch ISSUE  (0) 2018.02.12
[Wayland] Install Ubuntu14.04  (0) 2017.07.09
Wayland FAQ  (0) 2016.06.23
wayland 관련 정보 참고 사이트  (0) 2016.06.20


설치 링크


기본설치  

sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm


다운로드

$ git clone https://github.com/GENIVI/genivi-dev-platform.git
$ cd genivi-dev-platform



다운로드 패키지 : https://www.renesas.com/en-us/solutions/automotive/rcar-demoboard-2.html


Follow the generic preparation instructions above.  Once you reach the init step do the following.

At the moment, the following extra package also needs to be on your build machine:

    $ sudo apt-get install ImageMagick
 
  • Initialise build environment
    $ cd genivi-dev-platform
    $ source ./init.sh r-car-m3-starter-kit
  • Configure the build for M3 Salvator-X
    Until Salvator-X support is added to the GDP board template mechanism it is straight forward to reconfigure a M3 Starter Kit build (the target you passed as a parameter in the previous step) to build for M3 Salvator-X instead by editing the Yocto local.conf.

    To do that simply edit gdp-src-build/conf/local.conf to set the following MACHINE variable:
    MACHINE = "salvator-x"
  • Obtain and Install Renesas Graphics Drivers

    Download the Click-through licensed Linux Drivers and Gfx/MMP packages for YBSP v2.23 and Wayland 1.13 / Weston 2.0 from here and unzip them into a folder.

    $ cd <folder containing the two zip files>
    $ unzip -o R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-*.zip
    $ unzip -o R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-*.zip

    To install them into the correct place in the Yocto BSP a copy script is used.

    $ cd ../meta-renesas

    If you have the click-through packages (no NDA):

    $ sh meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh <path to the folder containing the packages>

    If you have the Evaluation packages (with NDA):

    $ sh meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh <path to the folder containing the packages>


'Yocto > gdp' 카테고리의 다른 글

[001] Setting Salvator-XS  (0) 2018.02.09

fsck 




찾기


fsck fat32


fsck                   fsck.ext3              fsck.ext4dev           fsck.minix.util-linux  fsg                    

fsck.ext2              fsck.ext4              fsck.minix             fsck.util-linux



fsck.fat 


dosfstools_2.11.bb



/meta/recipes-devtools/dosfstools/dosfstools_2.11.bb



두개의 파일이 존재한다

dosfsck

 - FAT 파일시스템 점검* 복구 명령어

 - MS-DOS 파일시스템을 점검*복구하는 리눅스 명령어



리눅스 dosfsck -제타위키 - https://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_dosfsck


'Linux > Yocto' 카테고리의 다른 글

afb-daemon  (0) 2018.08.10
[Yocto] Protobuf Build Error  (0) 2018.04.11
[Yocto] syslog제거  (0) 2017.11.11
[Yocto] 추가 관련건  (0) 2016.12.22

+ Recent posts