Posts by vpeter
-
-
Just select all the code I wrote above and paste it in ssh terminal. It will create both files and reload service. After that usb disk should be mounted readonly.
But in case you like to make file by hand here is the content
/storage/.config/udev.rules.d/96-enforce-usb-ro.rules
/storage/.config/system.d/enforce-usb-ro\@.service
Code[Unit] Description=Enforce read-only mode on USB storage device BindsTo=dev-%i.device [Service] Type=simple ExecStart=/usr/bin/mount -o remount,ro /dev/%IOne other option to make device read only is to use hdparm
Quote-r Get/set read-only flag for the device. When set, Linux disallows write operations on the device
-
This remounts USB in read-only mode.
Create two files
/storage/.config/udev.rules.d/96-enforce-usb-ro.rules
/storage/.config/system.d/enforce-usb-ro\@.service
and reload rules and services or just reboot.
Code
Display Morecat >/storage/.config/udev.rules.d/96-enforce-usb-ro.rules <<EOL SUBSYSTEMS=="usb",ACTION=="add",KERNEL=="sd*",ENV{SYSTEMD_WANTS}="enforce-usb-ro@%k" EOL cat >/storage/.config/system.d/enforce-usb-ro\@.service <<EOL [Unit] Description=Enforce read-only mode on USB storage device BindsTo=dev-%i.device [Service] Type=simple ExecStart=/usr/bin/mount -o remount,ro /dev/%I EOL udevadm control --reload systemctl daemon-reload -
From Compile problem
QuoteUbuntu 16.04 works, Ubuntu 17.10/18.04 is only working with LE9/master
And you are building LE8.
-
In function make_target() use
and remove those 3 lines for CFLAGS from pre_make_target() I suggested above.
Better option is to use pre_configure_target() function and then make_target() doesn't need changes.
-
16.04 LTS works fine.
-
Ubuntu.
Docker is also available.
-
This output means nothing - everything related was before what you posted.
On which distro you are building? -
Look inside addons.xml to get the name of zip file to download.
-
User-Agent: Kodi/17.6 (X11; Linux x86_64) LibreELEC/8.2 App_Bitness/64 Version/17.6-Git:a9a7a20
-
-
Btw: _Jackson_, why do you need media player in a bathroom?

-
Ok, then I will send PR there. Thanks for the input.
-
So you got it? Great.
Will tell him but decision is his.
-
You need to copy two files as described here: Touchsupport
And you need to adjust TOUCHSCREEN_NAME which is get by evtest program.
But it is strange you need calibration now. Wondering why it worked on nuc without.
-
-
Here I put the image and addon if needed: Index of /S905/
I assume you already know how to use it

-
Some parts needs to be enabled in kernel config to enable touchscreen drivers. Then it may work. I ask GDPR-2 for a help how to build this image (I'm not familiar with amlogic projects).