cbrake
February 23, 2023, 5:31pm
1
Did an Odroid-C4 with latest Yoe master, and it boots:
Has output on HDMI port.
The last product we released on this board was the Yoe 2021.1 release:
u-boot: 2015.01…
kernel: 4.9.241
The Yoe 2023.1 release contains:
u-boot: 2015.01
kernel: 4.9.312
So not a lot changed in low-level components.
1 Like
cbrake
February 23, 2023, 6:16pm
2
systemd[1]: Warning! Reported kernel version 4.9.312-odroid is older than systemd's required baseline kernel version 4.15. Your mileage may vary.
https://forum.odroid.com/viewtopic.php?t=44957
khem
February 23, 2023, 6:29pm
3
yeah we may upgrade to 5.18 can be tried. Last I remeber the TFT LCD drivers wont work with any other other kernel besides 4.9 so that might be a problem.
khem
November 10, 2023, 1:54am
4
cbrake
November 16, 2023, 10:47pm
5
latest yoe/siot running on odroid-c4:
1 Like
cbrake
November 30, 2023, 4:49pm
7
yoe-kiosk-browser/SIOT running on Odroid-C4:
nice work @khem !
The touchscreen calibration is off – was that working for you?
khem
November 30, 2023, 5:01pm
8
I have seen the same issue w.r.t. OSK placement. I think the keyboard layout is inverted when compared to touch points. I thought it was something in the rotation but did not seem to effect much. in /etc/defaults/yoe-kiosk-browser-env
cbrake
November 30, 2023, 5:03pm
9
it appears to me the touch screen calibration is swapped left to right – so wonder if it is just a simple TS calibration issue – common with resistive touch screens.
cbrake
November 30, 2023, 5:14pm
10
Systemd service for yoe-kiosk-browser:
root@odroid-c4-hardkernel:~# more /lib/systemd/system/yoe-kiosk-browser.service
[Unit]
Description=Yoe Kiosk Browser
After=network.target
[Service]
Environment=LANG=en_US.UTF-8
Environment=QT_QPA_PLATFORM=linuxfb:fb=/dev/fb4
Environment=QT_QPA_GENERIC_PLUGINS=evdevtouch,evdevmouse,evdevkeyboard
Environment=QT_QPA_EVDEV_KEYBOARD_PARAMETERS=grab=1
Environment=QTWEBENGINE_DISABLE_SANDBOX=1
Environment=QT_QPA_EGLFS_NO_LIBINPUT=1
Environment=QT_QPA_FB_NO_LIBINPUT=1
Environment=QT_LOGGING_RULES=qt.qpa.input=true
Environment=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/touchscreen0
EnvironmentFile=/etc/default/yoe-kiosk-browser
ExecStart=/usr/bin/yoe-kiosk-browser
#Restart=on-failure
[Install]
WantedBy=multi-user.target
From this discussion :
Looking at QT’s source (qevdevtouchhandler.cpp) the calibration values (min, max, pressure…) are obtained directly from the device ioctl.
And this discussion , they went with tslib.
I wonder if we need tslib …
khem
November 30, 2023, 6:04pm
11
we could try using tslib I guess add tslib-calibrate tslib-conf
to image and add
PACKAGECONFIG_GRAPHICS:append:pn-qtbase = " tslib"
in conf/projects/odroid-c4/config.conf
cbrake
December 12, 2023, 4:51pm
12
With the following changes and the latest version of Yoe, I was able to calibrate and the touchscreen in the yoe-kiosk-browser to log into the SimpleIoT. However, click drag current selects text instead of scrolling the UI. We’ll need to get that sorted before it is generally usable.
[Service]
Environment=LANG=en_US.UTF-8
Environment=QT_QPA_PLATFORM=linuxfb:fb=/dev/fb4
#Environment=QT_QPA_GENERIC_PLUGINS=evdevtouch,evdevmouse,evdevkeyboard
#Environment=QT_QPA_EVDEV_KEYBOARD_PARAMETERS=grab=1
Environment=QTWEBENGINE_DISABLE_SANDBOX=1
Environment=QT_QPA_EGLFS_NO_LIBINPUT=1
Environment=QT_QPA_FB_NO_LIBINPUT=1
Environment=QT_LOGGING_RULES=qt.qpa.input=true
Environment=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/touchscreen0
# added for TSLIB
Environment=QT_QPA_FB_TSLIB=1
Environment=QT_QPA_GENERIC_PLUGINS=tslib
Environment=TSLIB_PLUGINDIR=/lib/ts
Environment=TSLIB_CONFFILE=/etc/ts.conf
Environment=TSLIB_TSDEVICE=/dev/input/touchscreen0
cbrake
January 2, 2024, 5:00pm
13
Posted a question to the Qt forums about the touchscreen drag issue:
We are running the a Kiosk browser based on QtWebengine on several platforms. App source: https://github.com/YoeDistro/yoe-kiosk-browser On a platform with a resistive touchscreen using tslib, when I touch and drag to scroll the screen, the browser...
cbrake
February 8, 2024, 3:49pm
14
Running 2024.01:
root@odroid-c4-hardkernel:~# more /etc/os-release
ID=yoe
NAME="Yoe Linux"
VERSION="2024.01 (Katahdin)"
VERSION_ID=0.3.3
VERSION_CODENAME="Katahdin"
PRETTY_NAME="Yoe Linux 2024.01 (Katahdin)"
CPE_NAME="cpe:/o:openembedded:yoe:0.3.3"
HOME_URL="https://github.com/YoeDistro"
SUPPORT_URL="https://github.com/YoeDistro/yoe-distro/issues"
BUG_REPORT_URL="https://github.com/YoeDistro/yoe-distro/issues"
I love the Yoe updater workflow for development – build a new release, scp the *.upd
file to /data on the device and reboot – simple!
1 Like