Enable 'wait for network' in LibreELEC network settings
Thank you
Enable 'wait for network' in LibreELEC network settings
Thank you
Hi
I have a problem that has plagued me for some time, I also tried to reinstall everything. when i start libreelerc, librespot crashes. Ever since I updated it to version 9.2.2. If I start it manually by deactivating and reactivating the service, it works fine.
I have a Intel NUC
2020-05-03 21:32:58.612 T:140508689057536 NOTICE: Librespot: monitor started
2020-05-03 21:32:58.652 T:140508689057536 NOTICE: Librespot: ['librespot', '--backend', 'pulseaudio', '--bitrate', '320', '--cache', 'cache', '--device', 'librespot', '--device-type', 'TV', '--disable-audio-cache', '--name', 'Librespot>
2020-05-03 21:32:59.450 T:140508689057536 NOTICE: Librespot: loaded module-null-sink sink_name=librespot
2020-05-03 21:32:59.609 T:140508689057536 NOTICE: Librespot: loaded module-rtp-send destination_ip=127.0.0.1 port=24642 source=librespot.monitor
2020-05-03 21:32:59.633 T:140508689057536 NOTICE: Librespot: suspended sink 1
2020-05-03 21:32:59.635 T:140507953743616 NOTICE: Librespot: librespot thread started
2020-05-03 21:32:59.652 T:140507953743616 NOTICE: Librespot: librespot started
2020-05-03 21:32:59.668 T:140507953743616 NOTICE: Librespot: [2020-05-03T21:32:59Z INFO librespot] librespot 703c4ddaa0 (2020-04-27). Built on 2020-05-02. Build ID: KnWpUyAk
2020-05-03 21:32:59.699 T:140507953743616 NOTICE: Librespot: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 19, kind: Other, message: "No such device" }', src/libcore/result.rs:1165:5
2020-05-03 21:32:59.750 T:140507953743616 NOTICE: Librespot: suspended sink 1
2020-05-03 21:32:59.750 T:140507953743616 NOTICE: Librespot: event panic 1/3
2020-05-03 21:32:59.781 T:140507953743616 NOTICE: Librespot: suspended sink 1
2020-05-03 21:32:59.781 T:140507953743616 NOTICE: Librespot: librespot stopped
2020-05-03 21:32:59.792 T:140507953743616 NOTICE: Librespot: librespot started
2020-05-03 21:32:59.799 T:140507953743616 NOTICE: Librespot: [2020-05-03T21:32:59Z INFO librespot] librespot 703c4ddaa0 (2020-04-27). Built on 2020-05-02. Build ID: KnWpUyAk
2020-05-03 21:32:59.819 T:140507953743616 NOTICE: Librespot: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 19, kind: Other, message: "No such device" }', src/libcore/result.rs:1165:5
2020-05-03 21:32:59.862 T:140507953743616 NOTICE: Librespot: suspended sink 1
2020-05-03 21:32:59.863 T:140507953743616 NOTICE: Librespot: event panic 2/3
2020-05-03 21:32:59.897 T:140507953743616 NOTICE: Librespot: suspended sink 1
2020-05-03 21:32:59.898 T:140507953743616 NOTICE: Librespot: librespot stopped
2020-05-03 21:32:59.996 T:140507953743616 NOTICE: Librespot: librespot started
2020-05-03 21:32:59.996 T:140507953743616 NOTICE: Librespot: [2020-05-03T21:32:59Z INFO librespot] librespot 703c4ddaa0 (2020-04-27). Built on 2020-05-02. Build ID: KnWpUyAk
2020-05-03 21:32:59.997 T:140507953743616 NOTICE: Librespot: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 19, kind: Other, message: "No such device" }', src/libcore/result.rs:1165:5
2020-05-03 21:33:00.042 T:140508697450240 ERROR: ## LibreELEC Addon ## oe::load_url(http://releases.libreelec.tv/releases.json) ## ERROR: (URLError(gaierror(-3, 'Temporary failure in name resolution'),))
2020-05-03 21:33:00.043 T:140508697450240 ERROR: Traceback (most recent call last):
File "/var/lib/jenkins/LE/build4/workspace/Generic/build.LibreELEC-Generic.x86_64-9.2.2/LibreELEC-settings-6f6ca1e46c230d1e5045e6bb92a03889e1f1c71a/.install_pkg/usr/share/kodi/addons/service>
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
File "/usr/lib/python2.7/urllib2.py", line 429, in open
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
2020-05-03 21:33:00.050 T:140507953743616 NOTICE: Librespot: suspended sink 1
2020-05-03 21:33:00.050 T:140507953743616 NOTICE: Librespot: event panic 3/3
2020-05-03 21:33:00.088 T:140507945350912 ERROR: ## LibreELEC Addon ## oe::load_url(https://update.libreelec.tv/updates.php?i=c948ff8c127c4b6eb2fe83615eaf26f7&d=LibreELEC&pa=Generic.x86_64&v=9.2.2&f=i915) ## ERROR: (URLError(gaierror(>
2020-05-03 21:33:00.094 T:140507945350912 ERROR: Traceback (most recent call last):
File "/var/lib/jenkins/LE/build4/workspace/Generic/build.LibreELEC-Generic.x86_64-9.2.2/LibreELEC-settings-6f6ca1e46c230d1e5045e6bb92a03889e1f1c71a/.install_pkg/usr/share/kodi/addons/service>
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
File "/usr/lib/python2.7/urllib2.py", line 429, in open
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
2020-05-03 21:33:00.097 T:140507945350912 ERROR: ## LibreELEC Addon ## updates::check_updates_v2 ## ERROR: (TypeError('expected string or buffer',))
2020-05-03 21:33:00.098 T:140507945350912 ERROR: Traceback (most recent call last):
File "/var/lib/jenkins/LE/build4/workspace/Generic/build.LibreELEC-Generic.x86_64-9.2.2/LibreELEC-settings-6f6ca1e46c230d1e5045e6bb92a03889e1f1c71a/.install_pkg/usr/share/kodi/addons/service>
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
TypeError: expected string or buffer
2020-05-03 21:33:00.116 T:140507953743616 NOTICE: Librespot: suspended sink 1
2020-05-03 21:33:00.116 T:140507953743616 NOTICE: Librespot: librespot stopped
2020-05-03 21:33:00.116 T:140507953743616 NOTICE: Librespot: librespot thread stopped
2020-05-03 21:33:00.635 T:140508689057536 NOTICE: Librespot: librespot died
2020-05-03 21:33:00.681 T:140508689057536 NOTICE: Librespot: unloaded module-rtp-send destination_ip=127.0.0.1 port=24642 source=librespot.monitor
2020-05-03 21:33:00.706 T:140508689057536 NOTICE: Librespot: unloaded module-null-sink sink_name=librespot
2020-05-03 21:33:00.706 T:140508689057536 NOTICE: Librespot: monitor stopped
Display More
I have resolve:
Install the service Touchscreen to the store
create 2 file ts.conf and ts_env.sh in the folder /storage/.kodi/userdata/addon_data/service.touchscreen/
ts.conf with:
module_raw input grab_events=1
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear
# or use swap_xy parameter to swap axes
#module linear swap_xy=1
ts_env.sh with:
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
# find touchscreen device by name (substring) using evtest program
# $ evtest
# No device specified, trying to scan all of /dev/input/event*
# Available devices:
# /dev/input/event0: Video Bus
# /dev/input/event1: Goodix Capacitive TouchScreen
# Select the device event number [0-1]:
TOUCHSCREEN_NAME="eGalax Inc. USB TouchController"
TSLIB_TSDEVICE=$(echo 999 | evtest 2>&1 >/dev/null | awk -F':' -v TS_NAME="$TOUCHSCREEN_NAME" '$0 ~ TS_NAME {print $1; exit}')
export TSLIB_TSDEVICE
export TSLIB_PLUGINDIR=$ADDON_DIR/lib
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CALIBFILE=/storage/.kodi/userdata/addon_data/service.touchscreen/pointercal
export TSLIB_CONFFILE=/storage/.kodi/userdata/addon_data/service.touchscreen/ts.conf
# sometimes needed
#export TSLIB_RES_X=800
#export TSLIB_RES_Y=480
Display More
reboot and lunch "Touchscreen" in service
Thanks for the support!
This is not a bug. As I wrote you need to configure thing manually.
in my case yes, if you tried to do ts_calibrate it gave:
Error in `ts_calibrate ': malloc (): memory corruption
Reading a bit I also found the solution for this
if anyone is interested for libreelec 9.0.1 x64 for eGalax
Hi I have solved, for x64 there is a bug when crash ts_calibrate. I show you how I did it if it could be used by some other user (sorry for the english) for libreelec 9.0.1 x64 work fine
install touchscreen addon (addon - service)
IN TO SSH
command ts_calibrate crash for x64, use ts_uinput_touch
to check what works
systemctl status service.touchscreen.service
Process: 641 ExecStart=/bin/sh -c exec /bin/sh /storage/.kodi/addons/service.touchscreen/bin/ts_uinput_touch.sh service (code=exited, status=1/FAILURE)
Process: 605 ExecStartPre=/bin/sh -c exec /bin/sh /storage/.kodi/addons/service.touchscreen/bin/ts_calibrate.sh service (code=exited, status=0/SUCCESS)
ts_uinput_touch it doesn't work for now
evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Power Button
/dev/input/event1: Power Button
/dev/input/event2: HID 0a5c:4502
/dev/input/event3: HID 0a5c:4503 Mouse
/dev/input/event4: eGalax Inc. USB TouchController
/dev/input/event5: HDA Digital PCBeep
/dev/input/event6: HDA Intel Mic
/dev/input/event7: HDA Intel Line
/dev/input/event8: HDA Intel Line Out
/dev/input/event9: HDA Intel Front Headphone
/dev/input/event10: tslib to uinput daemon
Select the device event number [0-10]:
copy name "eGalax Inc. USB TouchController"
nano /storage/.kodi/userdata/addon_data/service.touchscreen/ts_env.sh-sample
edit the row
TOUCHSCREEN_NAME="Goodix Capacitive TouchScreen"
in
TOUCHSCREEN_NAME="eGalax Inc. USB TouchController"
cp /storage/.kodi/userdata/addon_data/service.touchscreen/ts_env.sh-sample /storage/.kodi/userdata/addon_data/service.touchscreen/ts_env.sh
cp /storage/.kodi/userdata/addon_data/service.touchscreen/ts.conf-generic /storage/.kodi/userdata/addon_data/service.touchscreen/ts.conf
cp /storage/.kodi/userdata/addon_data/service.touchscreen/ts.conf-generic /storage/.kodi/addons/service.touchscreen/ts.conf
cp /storage/.kodi/userdata/addon_data/service.touchscreen/ts_env.sh /storage/.kodi/addons/service.touchscreen/ts_env.sh
ts_env.sh
to check what works
systemctl status service.touchscreen.service
Process: 641 ExecStart=/bin/sh -c exec /bin/sh /storage/.kodi/addons/service.touchscreen/bin/ts_uinput_touch.sh service (code=exited, status=0/SUCCESS)
Process: 605 ExecStartPre=/bin/sh -c exec /bin/sh /storage/.kodi/addons/service.touchscreen/bin/ts_calibrate.sh service (code=exited, status=0/SUCCESS)
now in kodi word the addon touchscreen
Display More
Hi everyone, I have a problem with my touch screen. I can't get it recognized properly. I installed libreelec on a x64 pc and I can't configure my egalax touch screen.
The touch works but has the axes reversed, I use the calibration tool but it gets stuck in the loading screen.
I've never had these problems with raspberry.