hi,guys,i use amlogic s905 soc.
it only output uboot information on serial port but hdmi.how to show on hdmi?
hi,guys,i use amlogic s905 soc.
it only output uboot information on serial port but hdmi.how to show on hdmi?
my box is MXQ pro 4k - 1G/8G.chip is s905x.
i want to custom u-boot but made a mistake,the bootload be erased and it can't boot.
so i need aml_upgrade_package.img to write into EMMC of box to fix.
anybody can help me ?
You can just add "textmode" to the kernel command line and you'll boot into a console - this should be supported by all projects.
add "textmode" to the kernel command line?how to do it?
To get a clean, well-defined state after doing changes for testing. A complete reboot of the box is overkill in most cases.
Requires a second machine. Of course this is what I'm currently doing: Kill kodi (it will get restarted automagically anyway).
in ssh,"systemctl stop kodi",it will kill kodi and don't restart it
hi,everyone,i want to show 'exit' menu item,when click it ,quit kodi.what should i do ?which files should i to modify?
You'll want to add it to PKG_CONFIGURE_OPTS_TARGET, not INIT.
thank you very much,it work.
After LibreELEC.tv/package.mk at master · LibreELEC/LibreELEC.tv · GitHub add lines
Codesed -e "s,^.*NAutoVTs=.*$,NAutoVTs=6,g" -i $INSTALL/etc/systemd/logind.conf sed -e "s,^.*ReserveVT=.*$,ReserveVT=6,g" -i $INSTALL/etc/systemd/logind.conf sed -e "s,^.*KillUserProcesses=.*$,KillUserProcesses=yes,g" -i $INSTALL/etc/systemd/logind.conf
The other option is to just use custom file in projects/YOUR_PROJECT/filesystem/etc/systemd.
it work,thank!
i want to change system default setting ,such as /etc/systemd/logind.conf.
it is:
i want to enable some lines:
so i checked package.mk of systemd,but it don't change these lines.
i checked many files/scripts about systemd directory(packages , scripts,config,build.LibreELEC-xxxx-devel,projects....)
and i search logind.conf in all directorys and changed every file i found ,then recompiling ,but it change back at last.
there are so many system config files, i don't know which scripts or files to generate these config files and how they generate defconfig files.
what can i do to change this file ? or which files should i to view to find it how to work?
sunxi-ir?
LE has never released images for Allwinner devices (not yet) so whatever code you are running on, it did not originate from us, and we have no idea what it contains, what version of LE it claims to be, or how accurately the unknown author of that image has followed the changes we have made over the last 6-9 months on IR things
i modified LE source code(Dec 2017) and compile it by my self, it work well. i don't modified any part of Iirc source code/scripts/config file.
i type mode2,but has a error. and /dev can't find lirc0
LibreELEC:~ # mode2
Using driver default on device /dev/lirc0
Cannot initiate device /dev/lirc0
LibreELEC:~ # ls /dev/lirc*
ls: /dev/lirc*: No such file or directory
so i type lircd ,find lirc service has already run .but no work.
LibreELEC:~ # lircd
lircd: there seems to already be a lircd process with pid 285
lircd: otherwise delete stale lockfile /run/lirc/lircd.pid
LibreELEC:~ # irrecord
Warning: Running as root.
Using driver default on device /dev/lirc0
Could not init hardware (lircd running ? --> close it, check permissions)
LibreELEC:~ # systemctl stop system-lircd.slice
LibreELEC:~ # mode2
Using driver default on device /dev/lirc0
Cannot initiate device /dev/lirc0
LibreELEC:~ # systemctl start system-lircd.slice
Display More
i type ir-keytable, find protocols don't enable,but i don't how to fix it.
LibreELEC:~ # ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event0) with:
Driver sunxi-ir, table rc-empty
Supported protocols: rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
Enabled protocols:
Name: sunxi-ir bus: 25, vendor/product: 0001:0001, version: 0x0100 Repeat delay = 500 ms, repeat period = 125 ms
i don't know which files to init system and load kodi after linux kernel run.
etc/init.d ,autorun.sh don't exist. and ".config/system.d" ".config/sysctl.d" have nothing .
wiki say how to edit /flash/config.txt but i can't find it and i find a file named "extlinux.conf" in extlinux directory. extlinux.conf is config.txt?
i can't find config files for busybox.....
where is start after linux kernel run?
sometimes ,i want to debug my devices such as joystick,IR remote controler.
i want to see these devices work status.
so i try:
one: i use putty connected and type "systemctl stop kodi",it work,but no access command line console.
two:i modified "extlinux.conf",add a line "console = ttyS0" at the end ,it no work.(or console should be tty? tty0? ttyS1?)
i use orangepi,copying files to share directory is slow also.
how are you switching the lights on and off? There are addons for hue and xiaomi lights. Also there is a callbacks addon that allows you to run any script or web url. That allows access to almost any home control software.
not only on and off but also dark and bright or half dark/bright,changing slowly. it need send some commands to my light corntrol device.
also libreelec already has file sharing, there is nothing to add for that.
i can use pc to visit LE share files but i don't know how to use mobile phone to player LE share movies