openelec / openelec.tv Goto Github PK
View Code? Open in Web Editor NEWOpenELEC - The living room PC for everyone
Home Page: http://openelec.tv
OpenELEC - The living room PC for everyone
Home Page: http://openelec.tv
Up to around christmas module lirc-serial was inlcuded in every nightly build of Openelec-eden and I was perfectly fine with the Workaround we found in the Forum (see the link below).
I tried to find the setting in the sources, but without succes...
Would it be possible to reenable the module lirc_serial for future builds?
Forum Post about the Issue: http://www.openelec.tv/forum/47-development-builds/21343-modprobe-lircserial-not-found-in-modulesdep-openelec-ionx8664-devel-20111231023756-r9400
Forum Post Workaround to use lirc-serial based IR Receivers: http://www.openelec.tv/forum/19-feature-suggestions/2160-serial-ir-receiver
Hi,
i just did a fresh checkout and tried to build ION x86_64:
git clone https://github.com/OpenELEC/OpenELEC.tv.git
cd OpenELEC.tv
PROJECT=ION ARCH=x86_64 make
Then after some time I got the following error:
uild.OpenELEC-ION.x86_64-devel/toolchain/include/python2.7
/usr/bin/install -c -m 644 ../Include/ucnhash.h /home/openelec/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/toolchain/include/python2.7
/usr/bin/install -c -m 644 ../Include/unicodeobject.h /home/openelec/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/toolchain/include/python2.7
/usr/bin/install -c -m 644 ../Include/warnings.h /home/openelec/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/toolchain/include/python2.7
/usr/bin/install -c -m 644 ../Include/weakrefobject.h /home/openelec/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/toolchain/include/python2.7
building dbm using gdbm
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _tkinter bsddb185
dl imageop linuxaudiodev
ossaudiodev sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
make[1]: Leaving directory `/home/openelec/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/Python-2.7.2/.objdir-host'
make: *** [system] Fehler 2
I'm now trying a second build and it seems to work, but the initial error should be fixed imo.
If I enable "SABnzbd-Suite" under the XBMC addon options.
It starts with this:
./scripts/image_release
BUILD toolchain
BUILD pkg-config
packages/toolchain/devel/pkg-config/build: line 28: ./configure: No such file or directory
make: *** [release] Error 1
If not set, it starts with:
./scripts/image_release
BUILD toolchain
GET make
Not sure how I am to fix this. Since it works with everything else, except the NZB-Suite.
The OpenELEC system setup add-on allows the selection of a keyboard layout, and layouts like greek and russian are listed.
However, if one chooses, for example, a russian keyboard layout ('ru
'), then you cannot enter latin characters at all. This makes the keyboard unusable for all practical purposes.
At system startup the init.d
script runs a command that looks like
setxkbmap -display :0 ru
which is incorrect. The correct command for a russian keyboard looks like this:
setxkbmap -display :0 -layout 'ru,us' -option 'grp:alt_shift_toggle'
I've used russian as an example, but the same idea holds for keyboards for other languages, e.g., greek, hebrew, bulgarian, etc.
The right way to handle keyboard layout selection is to allow the user to select an optional second keyboard layout in the gui.
Thank you.
The module for the USB DVB-T Receiver did not load.
Package: OpenELEC.tv / packages / linux-drivers / AF9035
Device: 07ca:a835
http://openelec.tv/forum/19-feature-suggestions/12219-wipaf9035a-usb-dvb-driver
Hi i got this error message after the commit f2a5b7a.
21:51:54 T:139916174378752 INFO: -->Python script returned the following error<--
21:51:54 T:139916174378752 ERROR: Error Type: <type 'exceptions.NameError'>
21:51:54 T:139916174378752 ERROR: Error Contents: global name 'text' is not defined
21:51:54 T:139916174378752 ERROR: Traceback (most recent call last):
File "/usr/share/xbmc/addons/script.xbmc.lcd/lcdmain.py", line 153, in
process_lcd() #lcd loop
File "/usr/share/xbmc/addons/script.xbmc.lcd/lcdmain.py", line 83, in process_lcd
handleConnectLCD()
File "/usr/share/xbmc/addons/script.xbmc.lcd/lcdmain.py", line 137, in handleConnectLCD
xbmc.executebuiltin("XBMC.Notification(%s,%s,%s,%s)" % (scriptname,text,10,icon))
NameError: global name 'text' is not defined
21:51:54 T:139916174378752 INFO: -->End of Python script error report<--
For some DVB cards on cx23885 chip (TeVii S470 for ex.) file dvb-fe-ds3000.fw needed in /lib/firmware (/lib64/firmware for x86_64 OSes).
I would like to request that drivers & firmware be included in the standard openelec install (or instructions for a relevant add-on) to be able to use a Pinnacle 800e USB TV Stick. The current version of the kernel (from daily builds from the end of december) do not seem to support the device.
http://linuxtv.org/wiki/index.php/Pinnacle_PCTV_HD_Pro_Stick_(800e)
Hello,
I want to know if there is something I need to do differently after the above programs were converted to addons? Since I'm unable to make nor locate a way to initiate both.
Have some episodes I need to download :) I've downloaded the latest dev build from sources.openelec.tv.
Thank you!
Dear OpenELEC
With the release:
OpenELEC-ION.x86_64-devel-20120122010258-r9607.tar.bz2
OpenELEC-ION.x86_64-devel-20120122172128-r9616.tar.bz2
"Sometimes" I got no sound, I mean just about 50% of the boot comes with the sound, otherwise as I play a file I got the Message: "Error initializing the sound device, check sound configuration". Changing the sound configuration is useless... I have to reboot.
Then I downgraded to r9469 and the problem disappear. With the previous release i've never had that problem
My sound goes on the SPDIF.
Ciao.
Davide.
On eventlircd package we are using wakeup_enable script but it enabling all usb ports. On some systems that cause wakeup immediately problem. We can usethis script for enable just used USB port for wakeup.
#!/bin/sh
findUSBPort() {
local FD=7
local tmpFile=$(mktemp)
local eof=0
local line
local usbPort=""
local pciDevice=""
local inBlock="0"
local token=$1
lshal > $tmpFile
# Open files.
eval exec "$FD<$tmpFile"
while [ $eof -eq 0 ]
do
if read line <&$FD; then
if [ -n "$(echo $line | grep -i $token)" ]; then
if [ "$inBlock" = "0" ]; then
inBlock="1"
token="linux.sysfs_path"
else
pciDevice=$(echo $line | awk -F/ '{ print $5}')
eof=1
fi
fi
else
eof=1
fi
done
if [ -n "$pciDevice" ] ; then
usbPort=$(cat /proc/acpi/wakeup | grep $pciDevice | awk '{ print $1}')
fi
echo $usbPort
}
lircDriver=$(dmesg | grep -i 'lirc' | sed -n 's/.*(\(.*\)).*/\1/p')
if [ ! -n "$lircDriver" ] ; then
# No lirc driver loaded
echo "No lirc driver loaded!"
exit 0
fi
usbPort=$(findUSBPort "${lircDriver}")
if [ -z "$usbPort" ]; then
# No USB Remote found
echo "No USB Remote found!"
exit 0
fi
usbDevice=$(dmesg | grep $lircDriver | sed -n 's/.* \(.*\):1.*/\1/p')
if [ -z "$usbDevice" ]; then
# No USB Device found
echo "No USB Device found!"
exit 0
fi
usbStatus=`cat /proc/acpi/wakeup | grep $usbPort | awk {'print $3}'`
if [ "$usbStatus" = "*disabled" ]; then
echo $usbPort > /proc/acpi/wakeup
echo -1 >/sys/module/usbcore/parameters/autosuspend
echo enabled > /sys/bus/usb/devices/"$usbDevice"/power/wakeup
fi
exit 0
The tvheadend Service Addon is broken in OpeneELEC Repository
Hey,
running scripts/get to download all packages before compiling I found out that megaglest-data location has changed.
I solved the problem by changing the file packages/addons/games/megaglest-data/meta:
PKG_URL="$SOURCEFORGE_SRC/megaglest/files/current_release/$PKG_NAME-$PKG_VERSION.7z"
->
I could not figure out easily on how to use the variables and still make the download work ok...
According to samba docs nmbd start before smbd.
https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/network/samba/scripts/52_samba#L46
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#id2552898
Original soundconfig is ll about digital output. What if somebody wants to use analog? This concept help people who are not build their own OpenElec.
It's just idea. Above script not working :)
# setup alsa (especially the mixer config)
# find soundcard module
module=`cat "/proc/asound/modules"`
# find xbmc sount output style
sound_output="I have no idea how to find that value :)"
mixer() {
parm=${4:-on}
amixer -c "$1" sset "$2" "$3" $parm >/dev/null 2>&1
amixer -c "$1" sset "$2" $parm >/dev/null 2>&1
}
(
. /etc/profile
progress "Setting up sound card"
if [ -f $HOME/.config/sound.conf ]; then
alsactl restore -f $HOME/.config/sound.conf
else
# if soundcard module is ca0106
if test "${module}" = " 0 snd_ca0106" ; then
# if XBMC sound output analog
if test "${sound_output}" = "Analog" ; then
# CA0106
mixer 0 'IEC958',0 off off
mixer 0 'Master',0 90%
mixer 0 'Analog Center/LFE',0 80%
mixer 0 'Analog Front',0 80%
mixer 0 'Analog Rear',0 80%
mixer 0 'Analog Side',0 80%
fi
if test "${sound_output}" = "HDMI" ; then
mixer 0 'IEC958',0 on on
fi
fi
fi
exit 0
)&
commit:
33b4515
ssh clients with openssl version 1.0.0x cannot communicate with openelec ssh server since openssl was updated to 1.0.0x as shown in above commit link
ssh log:
http://pastebin.com/Y1yLKhgL
The inclusion of HTS Tvheadend is great...and may solve some of my home entertainment woes. However, I'd like to use some HDHomeRun network DVB tuners. Are you considering including the drivers and/or any other configuration we'd need to make their use as smooth as the rest of OpenELEC?
Love the software...can't wait to see what else you add in the future...thanks.
I would like to request that drivers be included in the standard openelec install (or instructions for a relevant add-on) to be able to use a Engenius EUB-9603H Wifi Dongle.
Hi,
all later openelec images from http://sources.openelec.tv/tmp/image/openelec-pvr/ and the archive are not working with cines2 or other DVB-S2 card's which uses the ngene kernel module.
The kernel module was searching the ngene_18.fw in /lib/firmware.
The error message in all newer builds is:
ngene: Copy ngene_18.fw to your hotplug directory!
I have copyed the /lib into /storage/lib and mounted /storage/lib into /lib, then i copyed the ngene_18.fw into /lib/firmware. and restarted tvheadend.
This works as workaround, hope you can fix it :)
Thanks :)
The Transmission Daemon doesnt load under appletv. Unable to access the front end, even after setting the allowed ips to a wildcard *
Current ION/64 Bit/PVR Build returns with:
checking for avahi_strerror in -lavahi-common... no
configure: error: avahi support not available
make: *** [release] Fehler 1
when it seems to compile SAMBA.
In my case I am trying to make add-on and I need some patches to patch. I put patch files to patches directory. Also I need to use unpack file because archive file is well. On unpack file I extract and move directories to proper place on build directory. But if I use unpack file patches not applying. I guess because on script/unpack use unpack file line after apply patches line. No idea what happened if I change lines on script/unpack. I avoid this with using extract and move for "rename" file. Because rename file trigger before then apply patches line.
Just I want to share what I found and bother me while I am making my add-on. You can check what I mean from code:
queeup-Forks@a6b19ce
It is currently:
rm -rf "build.*"
It needs to be
rm -rf "build."*
Otherwise bash won't expand it and delete the build folder.
Hi,
Installed latest 20111119 PVR build by Gujs. Everything worked fine but it downloaded latest sabnzbd suite and this one stopped working. Communication between sabnzb and sickbeard worked fine but after each download sabnzbd was unable to execute sabToSickBeard.py script. Permissions were fine. That seems to happen because script begins with #!/usr/bin/env python . I replaced it in all scripts (not only sabToSickBeard.py) with #!/usr/bin/python and now it seems to works again.
The issue affects in my case following build:
OpenELEC_PVR-Intel.x86_64-devel-20111219194103-r9301
I'm not sure if it does affect more builds. I've just got some information that this problem still exists with newer builds.
In my case I want to change the default keymap "us" to "de".
I've also changed the second keymap from "us" to "de".
After restarting the system I still hadn't the "de" layout although it's set up properly in the OpenELEC OS Settings.
I hope it's enough information for recognizing the problem.
Kind regards,
Jarosch (Jarek @ OpenELEC Forum)
during video playback. @last openelec-pvr i get
xbmc.bin[1193]: segfault at 4 ip afc90e86 sp bf882150 error 4 in xvba_drv_video.so[afc85000+1b000]
causing xbmc crash.
xorg outputs glx vesa and frglx could not load module (0)
module.dep issue
older builds work from 38 kernel
the TBs 6981 has missing / not Working driver.
problem:
OpenELEC OS Settings Dialog even if fully translated shows some strings in english because of hardcoding them in settings.xml.
solution:
please use lvalue for:
0. <setting id="UPDATE_AUTO" type="labelenum" label="2021" values="no|manual|auto" sort="yes" default="manual" />
please make possible to translate: none, NONE
I've been running the latest builds and had good success on both my ION 64bit and a Generic I386 build. I compiled the latest build last night and ran into an issue where it would get stuck on boot. Basically for both versions, I could SSH into the box and view the logs, and see things were running, but XBMC was not running, neither did X appear to be running. I moved back to an earlier build and the problem was gone. If necessary I can grab some logs.
Current master version seems to be corrupting file systems. If installed on USB, Storage partition gets corrupted if system freezes. Also NTFS removable disk.
Please make sure that permission of the file create_installstick get set properly during the installer build process.
Changes should go to scripts/image
I ran into the problem that the file "create_installstick" was not executable in the current 1.0.1 release.
Hello,
new motherboards with ACPI 5.0 do not suspend properly.
I can confirm that openelec 1.0.2 has that problem on a Asus p8h67-m pro;
"ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)"
There is a kernel patch to resolve the issue and i'm wondering if you can integrate it in a later version of openelec;
Patch:
http://thread.gmane.org/gmane.linux.acpi.devel/51405/focus=51407
Info:
http://blog.le-vert.net/?p=24
https://bbs.archlinux.org/viewtopic.php?id=117643
SABnzbd+ is at 0.6.7 and Sick Beard had its latest change on september 28.
I suspect that I'm having some problems with Sick Beard, and I had hope some newer revisions would solve this.
Thank you.
Mybad double post
modprobe seems to ignore entries in /etc/modprobe.d
blacklist.conf in /storage/.config/modprobe.d has no effect.
Have I missed something?
Or is this behavior related to the switch from busybox to kmod-3/4?
Openelelc will suspend while sabnzbd is downloading.
In release 0.99.3 the script "create_installstick.sh" contains these lines (starting at line 59):
echo "checking MD5 sum..."
md5sum -c target/KERNEL.md5
MD5_ERROR="$?"
md5sum -c target/SYSTEM.md5
MD5_ERROR="$?"
if [ "$MD5_ERROR" = "1" ]; then
echo "something bad happened"; exit 1
The problem is, that the second md5sum run can (and will) overwrite the var MD5_ERROR,
so in fact the first run gets ignored.
New tzdata (version 2011n) needed for Russian Federation because of cancel switching to winter time.
tvheadend and vdr error.
tvheadend: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory.
Generic-i386-devel-xx-r9587
Using a usb drive under /media on Appletv samba reports zero space on the network. Strange since you can remove content you just cant write content to the storage. Samba's smb.conf is set to writeable for that drive and this is after running chmod 777 -R * for the files in that tree.
No support for Freecom DVD-T USB as off
cat /etc/release
ION.x86_64-devel-20120122172128-r9616
DMESG
[ 626.056665] usb 1-6: new high-speed USB device number 3 using ehci_hcd
lsusb
Bus 002 Device 002: ID 0471:060c Philips (or NXP) Consumer Infrared Transceiver (HP)
Description: Installation or booting of OpenELEC failed because of not-supported SiS-chipset on mainboard. My Hardware is a FSC Eprimo E5600 Desktop PC with a GT210 graphics card.
Bug: Kernel can´t find my harddrive.
Solution #1: Rename "GenericBuilds" on http://openelec.tv/get-openelec to "GenericBuilds except SiS-chipsets".
Solution #2: Include needed drivers like said on http://openelec.tv/forum/25-intel-platforms/12-intel-init4-error two years ago.
test
Since R9365 suspend/resume does not work on Fusion computers anymore. Seems to be a (linux) kernel/driver issue.
See
http://openelec.tv/forum/28-issue-reports/20916
When suspending, computer tries so suspend, but hangs with a black screen and does not switch-off.
Only a hard reset or power supply switch off will reboot it. No info in logfiles.
So newer builds cannot be used when you rely on USB remote controls as we need suspend/resume to operate it with remote.
On OpenElec for ATV version 1.0.1, boot hangs on "setup_linux_vesafb: 1280x720x32 @ 10028000 +708000"
This can happen after update, or on first boot
For more info, see my forum post at: http://www.openelec.tv/forum/31-apple-tv-platforms/13850-cant-get-patchstick-working#13850
The file udev-175.tar.bz2 is not available any more.
Auflösen des Hostnamen people.freedesktop.org... 131.252.210.176
Verbindungsaufbau zu people.freedesktop.org|131.252.210.176|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 404 Not Found
2012-01-12 14:00:26 FEHLER 404: Not Found.
-e
Cant't get udev sources : http://people.freedesktop.org/~kay/udev/udev-175.tar.bz2
In OpenELEC.tv/packages/sysutils/udev there are three PKG_URL lines
#PKG_URL="http://www.eu.kernel.org/pub/linux/utils/kernel/hotplug/$PKG_NAME-$PKG_VERSION.tar.bz2"
#PKG_URL="ftp://ftp.pgpi.com/linux/kernel/pub/linux/utils/kernel/hotplug/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_URL="http://people.freedesktop.org/~kay/udev/$PKG_NAME-$PKG_VERSION.tar.bz2"
I changed that to:
#PKG_URL="http://www.eu.kernel.org/pub/linux/utils/kernel/hotplug/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_URL="ftp://ftp.pgpi.com/linux/kernel/pub/linux/utils/kernel/hotplug/$PKG_NAME-$PKG_VERSION.tar.bz2"
#PKG_URL="http://people.freedesktop.org/~kay/udev/$PKG_NAME-$PKG_VERSION.tar.bz2"
This packages seems to be available.
Successfully installed. HD shows okey, but no sound. In XBMS sound settings I could choose any option between Analog, HDMI, and several more. But all options give no any sound.
No bad idea to allow user to choose the partition to which he wants to install the OpenELEC.
I'm running:
OpenELEC_EDEN Version: devel-20110924175742-r8317
OpenELEC_EDEN git: 955afeb
since update, smbd doesn't start automatically, so I have to do it via ssh.
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.