Jun 11 2015

Mediwall – A waiting room monitor for patient’s

Mediwall works now fine since almost 2 years in a medical office in Dortmund City.
So it’s time to provide some more information soon.
To see it in action, please visit Dr. Akin Kara’s medical office.

I will post soon demo videos, information and pictures.

stay tuned. In the meanwhile you can contact me via email to get more information’s.


info – at – ok t a   y.c o m

Feb 21 2015

Build kodi / xbmc from source

git clone git://github.com/OpenELEC/OpenELEC.tv.git
cd OpenELEC.tv
time PROJECT=RPi2 ARCH=arm make image
(get few cups of coffee…)

look under target/ there should be the image

if you want to rebuild kodi only
time PROJECT=RPi2 ARCH=arm make kodi

// if libraries missing, use below apt-get shopping-cart
apt-get install automake autopoint bison build-essential ccache cmake curl cvs default-jre fp-compiler gawk gdc gettext git-core gperf libasound2-dev libass-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libbluetooth-dev libbluray-dev libbluray1 libboost-dev libboost-thread-dev libbz2-dev libcap-dev libcdio-dev libcec-dev libcec1 libcrystalhd-dev libcrystalhd3 libcurl3 libcurl4-gnutls-dev libcwiid-dev libcwiid1 libdbus-1-dev libenca-dev libflac-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libglew-dev libiso9660-dev libjasper-dev libjpeg-dev libltdl-dev liblzo2-dev libmad0-dev libmicrohttpd-dev libmodplug-dev libmp3lame-dev libmpeg2-4-dev libmpeg3-dev libmysqlclient-dev libnfs-dev libogg-dev libpcre3-dev libplist-dev libpng-dev libpostproc-dev libpulse-dev libsamplerate-dev libsdl-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libshairport-dev libsmbclient-dev libsqlite3-dev libssh-dev libssl-dev libswscale-dev libtiff-dev libtinyxml-dev libtool libudev-dev libusb-dev libva-dev libva-egl1 libva-tpi1 libvdpau-dev libvorbisenc2 libxml2-dev libxmu-dev libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libyajl-dev mesa-utils nasm pmount python-dev python-imaging python-sqlite swig unzip yasm zip zlib1g-dev

more info here.

in my case I edit
vi build.OpenELEC-RPi2.arm-devel/kodi-14-b5dbdb5/xbmc/input/linux/LinuxInputDevices.cpp

added the home key for rii i7.

and here is the resulting patch
diff -Naur kodi-14-b5dbdb5.orig/xbmc/input/linux/LinuxInputDevices.cpp kodi-14-b5dbdb5/xbmc/input/linux/LinuxInputDevices.cpp
--- kodi-14-b5dbdb5.orig/xbmc/input/linux/LinuxInputDevices.cpp 2015-02-21 01:21:47.530234565 +0100
+++ kodi-14-b5dbdb5/xbmc/input/linux/LinuxInputDevices.cpp 2015-02-21 01:23:11.903724410 +0100
@@ -255,6 +255,7 @@
{ 378 , XBMCK_RIGHT }, // Green
{ 381 , XBMCK_UP }, // Yellow
{ 366 , XBMCK_DOWN }, // Blue
+ { KEY_HOMEPAGE , XBMCK_HOME }, // for Rii i7 and Co. home key 172

typedef enum

Feb 15 2015

lircmap.xml in kodi / xmbc raspi2

I was missing the submenu button on my x10 rc for my raspi2 kodi setup. Following step where needed in order to set submenu button on the lower right button:


disable power button. useless currently for raspi, since it will turn on again. So I put mute there . And KEY_C for submenu.
# 0x02 KEY_POWER
0x3a KEY_C

to read the table for lirc at startup
file .config/autostart.sh
#/usr/bin/ir-keytable -c ; ir-keytable -w /storage/.config/rc_keymaps/medion_x10 ; ir-keytable -r
/usr/bin/ir-keytable -w /storage/.config/rc_keymaps/medion_x10

Feb 1 2015

ffmpeg join / concate 2 or more ts video files

first cut your video file:
ffmpeg -i gekocht.ts -ss 56:21 -t 9:27 -c:v copy -c:a copy part2.ts
-t = length

then concat

ffmpeg -i "concat:part1.ts|part2.ts" -c copy out.ts

Dec 14 2014

433 mhz antennen länge

Lambda = c / f
Lambda = 300.000.000 / 433000000
0,6928406466512702 meter

Lambda /4
0,1732101616628176 meter
17,3 cm

c= 299 792 458 m/s, but for sake of simplicity use 300.000.000

May 7 2014

Dreambox / VU+ / Enigma2 – settings

Timer-Einstellungen -> /etc/enigma2/timer.xml
Autotimer-Einstellungen -> /etc/enigma2/autotimer.xml
WPA-Passwort -> /etc/wpa_supplicant.conf
Dreambox Passwort -> /etc/passwd
EPG Refresh Einstellungen -> /etc/enigma2/epgrefresh.xml
Netzwerk Automappings -> /etc/auto.network
NFS-Server Einstellungen -> /etc/exports
Boquets ->
Userbouquets /etc/enigma2/userbouquets.XXX.tv & radio und alternatives.XXX.tv &radio
Jugendschutz-Einstellungen -> /etc/enigma2/settings und ( /etc/enigma2/blacklist oder /etc/enigma2/whitelist, je nach Einstellung)
Satelliten-Einstellungen -> /etc/enigma2/lamedb und /etc/tuxbox/satellites.xml
Quickbutton / Plugin Einstellungen -> /etc/enigma2/settings
Webinterface Einstellungen (Ports etc.) -> ? /etc/enigma2/settings

Mar 10 2014

list installed packages with theier size

dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n

Mar 9 2014

forkbomb – if you want to test watchdog or so

make sure, you do not have any important stuff running. The following lines will produce endless load to test watchdog etc…
: (){ :|:& };:

Mar 5 2014

resize an raspi sd card image

losetup -f –show my.img
-> we have now mounted image as loop0

partprobe /dev/loop0
-> we have now the partitions which is required for gparted

gparted /dev/loop0
-> resize as usual now and apply

losetup -d /dev/loop0
-> loop not needed anymore

fdisk -l my.img
Platte my.img: 8068 MByte, 8068792320 Byte
255 Köpfe, 63 Sektoren/Spur, 980 Zylinder, zusammen 15759360 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Festplattenidentifikation: 0x000981cb

Gerät boot. Anfang Ende Blöcke Id System
my.img1 8192 122879 57344 c W95 FAT32 (LBA)
my.img2 122880 15759359 7818240 83 Linux

so, end is at 15759359 (*512 bs)

truncate –size=$[(15759359+1)*512] my.img

this should work now. if not, let me know.

new created SD card can resized then again with gparted.

Feb 20 2014

fritzbox 7390 – module building – MIPS_24K vs MIPS32_R2

just change arch/mips/include/asm/module.h


building modules for a different system is not always an easy task.
required information’s and where to get:

1. cat /proc/cpuinfo to find out what kind of cpu (mips,arm,sh4 etc)
2. file busybox – any elf file and find out if LSB or MSB , also CPU type should be there.
3. get crosstool-chain prebuild or build one yourself -> crosstool-ng
4. get the kernel sources -> cat /proc/version / uname -a
5. make mrproper, make menuconfig, make < - after this you should have all required files like Module.symvers and .config 6. go in your module directory and create your makefile: obj-m += hello.o

make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

type make, close your eyes and press enter…