onceuponaloop / mini-kodi Goto Github PK
View Code? Open in Web Editor NEWMinimal Kodi Installation
License: MIT License
Minimal Kodi Installation
License: MIT License
Ex. lightdm.conf
First, I wish to thank you for this guide. I used it and barring a few hiccups, it works great.
My biggest problem was in getting sound to work. PulseAudio refused to start, shut off sound by itself when I paused a movie and was a general nuisance. After considerable head-scratching and messing with default.pa, I learned that I don't even need PulseAudio!
Since the instructions are for a stand-alone Media Center, it makes perfect sense to not have PulseAudio at all and only leave ALSA in.
Always going to sleep after 10 minutes (even while playing music)
Does this work also with newer kernels?
I tried on Debian stretch with Kernel 4.13. The
./configure --with-driver=xbox
creates an error:
checking for Linux kernel sources... /tmp/LIRCMF.qkeHYq:15: warning: overriding recipe for target 'lirc_tell_me_what_version_is'
/tmp/LIRCMF.qkeHYq:11: warning: ignoring old recipe for target 'lirc_tell_me_what_version_is'
make[2]: *** No rule to make target 'lirc_tell_me_what_version_is'. Stop.
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
/tmp/LIRCMF.qkeHYq:17: warning: overriding recipe for target 'lirc_tell_me_what_patchlevel_is'
/tmp/LIRCMF.qkeHYq:11: warning: ignoring old recipe for target 'lirc_tell_me_what_patchlevel_is'
make[2]: *** No rule to make target 'lirc_tell_me_what_patchlevel_is'. Stop.
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
./configure: line 13992: test: too many arguments
/lib/modules/4.13.0-0.bpo.1-amd64/build/
and make fails with
cp ./../lirc_dev/Module*.symvers .
cp: der Aufruf von stat für './../lirc_dev/Module*.symvers' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
Makefile:660: die Regel für Ziel „lirc_xbox.o“ scheiterte
make: [lirc_xbox.o] Fehler 1 (ignoriert)
mv Makefile Makefile.automake
cp ./../Makefile.kernel Makefile
CPPFLAGS="" CFLAGS="" LDFLAGS=""
make -C /lib/modules/4.13.0-0.bpo.1-amd64/build/ SUBDIRS=/usr/src/lirc-0.9.0/drivers/lirc_xbox modules
KBUILD_VERBOSE=1
make[1]: Verzeichnis „/usr/src/linux-headers-4.13.0-0.bpo.1-amd64“ wird betreten
make -C /usr/src/linux-headers-4.13.0-0.bpo.1-amd64 KBUILD_SRC=/usr/src/linux-headers-4.13.0-0.bpo.1-common
-f /usr/src/linux-headers-4.13.0-0.bpo.1-common/Makefile modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo >&2;
echo >&2 " ERROR: Kernel configuration is invalid.";
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it.";
echo >&2 ;
/bin/false)
mkdir -p /usr/src/lirc-0.9.0/drivers/lirc_xbox/.tmp_versions ; rm -f /usr/src/lirc-0.9.0/drivers/lirc_xbox/.tmp_versions/*
make -f /usr/src/linux-headers-4.13.0-0.bpo.1-common/scripts/Makefile.build obj=/usr/src/lirc-0.9.0/drivers/lirc_xbox
gcc-6 -Wp,-MD,/usr/src/lirc-0.9.0/drivers/lirc_xbox/.lirc_xbox.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.13.0-0.bpo.1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-4.13.0-0.bpo.1-common/include -I./include -I/usr/src/linux-headers-4.13.0-0.bpo.1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-4.13.0-0.bpo.1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.13.0-0.bpo.1-common/include/linux/kconfig.h -I/usr/src/lirc-0.9.0/drivers/lirc_xbox -I/usr/src/lirc-0.9.0/drivers/lirc_xbox -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I/usr/src/linux-headers-4.13.0-0.bpo.1-common/. -I../.. -I/usr/src/lirc-0.9.0/drivers/lirc_xbox/. -I/usr/src/lirc-0.9.0/drivers/lirc_xbox/. -I/usr/src/lirc-0.9.0/drivers/lirc_xbox/../.. -I/usr/src/lirc-0.9.0/drivers/lirc_xbox/../.. -I/lib/modules/4.13.0-0.bpo.1-amd64/build//include/ -I/lib/modules/4.13.0-0.bpo.1-amd64/build//drivers/media/video/ -DMODULE -DKBUILD_BASENAME='"lirc_xbox"' -DKBUILD_MODNAME='"lirc_xbox"' -c -o /usr/src/lirc-0.9.0/drivers/lirc_xbox/.tmp_lirc_xbox.o /usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.c
/usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.c: In function ‘new_irctl’:
/usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.c:748:8: error: ‘struct lirc_driver’ has no member named ‘set_use_inc’
driver->set_use_inc = &set_use_inc;
^~
/usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.c:749:8: error: ‘struct lirc_driver’ has no member named ‘set_use_dec’
driver->set_use_dec = &set_use_dec;
^~
In file included from /usr/src/linux-headers-4.13.0-0.bpo.1-common/include/linux/module.h:18:0,
from /usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.c:49:
/usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.c: In function ‘_check_debug’:
/usr/src/linux-headers-4.13.0-0.bpo.1-common/include/linux/moduleparam.h:148:27: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
param_check##type(name, &(value));
^
/usr/src/linux-headers-4.13.0-0.bpo.1-common/include/linux/moduleparam.h:346:68: note: in definition of macro ‘__param_check’
static inline type __always_unused *check##name(void) { return(p); }
^
/usr/src/linux-headers-4.13.0-0.bpo.1-common/include/linux/moduleparam.h:148:2: note: in expansion of macro ‘param_check_bool’
param_check##type(name, &(value));
^~~~~~~~~~~~
/usr/src/linux-headers-4.13.0-0.bpo.1-common/include/linux/moduleparam.h:128:2: note: in expansion of macro ‘module_param_named’
module_param_named(name, name, type, perm)
^~~~~~~~~~~~~~~~~~
/usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.c:982:1: note: in expansion of macro ‘module_param’
module_param(debug, bool, S_IRUGO | S_IWUSR);
^~~~~~~~~~~~
/usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.c: In function ‘_check_unique’:
/usr/src/linux-headers-4.13.0-0.bpo.1-common/include/linux/moduleparam.h:148:27: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
param_check##type(name, &(value));
^
/usr/src/linux-headers-4.13.0-0.bpo.1-common/include/linux/moduleparam.h:346:68: note: in definition of macro ‘__param_check’
static inline type __always_unused *check##name(void) { return(p); }
^
/usr/src/linux-headers-4.13.0-0.bpo.1-common/include/linux/moduleparam.h:148:2: note: in expansion of macro ‘param_check_bool’
param_check##type(name, &(value));
^~~~~~~~~~~~
/usr/src/linux-headers-4.13.0-0.bpo.1-common/include/linux/moduleparam.h:128:2: note: in expansion of macro ‘module_param_named’
module_param_named(name, name, type, perm)
^~~~~~~~~~~~~~~~~~
/usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.c:988:1: note: in expansion of macro ‘module_param’
module_param(unique, bool, S_IRUGO | S_IWUSR);
^~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.13.0-0.bpo.1-common/scripts/Makefile.build:313: die Regel für Ziel „/usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.o“ scheiterte
make[4]: *** [/usr/src/lirc-0.9.0/drivers/lirc_xbox/lirc_xbox.o] Fehler 1
/usr/src/linux-headers-4.13.0-0.bpo.1-common/Makefile:1529: die Regel für Ziel „module/usr/src/lirc-0.9.0/drivers/lirc_xbox“ scheiterte
make[3]: *** [module/usr/src/lirc-0.9.0/drivers/lirc_xbox] Fehler 2
Makefile:145: die Regel für Ziel „sub-make“ scheiterte
make[2]: *** [sub-make] Fehler 2
Makefile:8: die Regel für Ziel „all“ scheiterte
make[1]: *** [all] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-4.13.0-0.bpo.1-amd64“ wird verlassen
Makefile:660: die Regel für Ziel „lirc_xbox.o“ scheiterte
make: *** [lirc_xbox.o] Fehler 2
thanks,
leo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.