全志A33開發板vstart的螢幕與觸控螢幕旋轉

2021-10-08 05:38:17 字數 777 閱讀 9566

export qtdir=/usr/

螢幕旋轉?

顯示屏旋轉

export qt_qpa_platform=linuxfb:fb=/dev/fb0:rotation=90

觸控螢幕旋轉

用qt_qpa_evdev_touchscreen_parameters實現不了

export qt_qpa_evdev_touchscreen_parameters=/dev/input/event3:rotate=270

需要修改sys_config.fex

ctp_revert_x_flag = 0

ctp_revert_y_flag = 0

ctp_exchange_x_y_flag = 1

問題:module 「qtquick」 is not installed

解決:export qml2_import_path=$qtdir/qml

問題:module 「qtquick.window」 is not installed

解決:export qt_qpa_platform_plugin_path=$qtdir/plugins

tslib主要用於電阻屏,也可用於電容屏,做測試

ts_finddev可以用來確定觸控螢幕裝置號

問題: tslib: selected device is not a touchscreen (must support abs and key event types)

解決: export tslib_tsdevice=/dev/input/event3

全志A33 串列埠SLIP的使用

開發環境 開發板 a33 vstar 開發板系統 linux ubuntu版本 ubuntu14.04 基本思路 在鏈路層使用slip協議,並且使用串列埠作為物理通訊鏈路,與pc進行網路通訊。a33開發板串列埠2 ch340 pc 1.為a33開發板配置slip 進入linux 3.4 執行gedi...

全志A40i開發板試用體驗之開箱

很高興能參加飛凌嵌入式 開發板的免費試用活動,本來只是抱著試試的態度申請了,沒想到還真的申請到了,這次我申請到的開發板時oka40i c。我原來對嵌入式linux並不熟悉,在大學的時候做的都是stm32相關的開發,linux只接觸過ubuntu,最近正好也到了找工作的時候,想找嵌入式方向的工作,就想...

全志A40i開發板試用體驗之開箱

很高興能參加飛凌嵌入式 開發板的免費試用活動,本來只是抱著試試的態度申請了,沒想到還真的申請到了,這次我申請到的開發板時oka40i c。我原來對嵌入式linux並不熟悉,在大學的時候做的都是stm32相關的開發,linux只接觸過ubuntu,最近正好也到了找工作的時候,想找嵌入式方向的工作,就想...