[MAC] OS X Xcode 8.x.x (8.2.1) and Qt 5.x (5.6 and 5.7) Project error: “Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild”

Solution for the following Qt Creator – Project ERROR:
“Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild”

Edit file: /<Qt.app path>/5.6/clang_64/mkspecs/features/mac/default_pre.prf

Replace:  isEmpty($$list($$system(“/usr/bin/xcrun -find xrun 2>/dev/null”))): \

By:            isEmpty($$list($$system(“/usr/bin/xcrun -find xcodebuild 2>/dev/null”))): \

Bildschirmfoto 2017-02-09 um 20.46.57

[VR] Solved: HDMI, DP setup problems with MSI VR One and Oculus Rift Release Version (DP to HDMI)

We solved the connectivity problems of Virtual Reality (VR) backpacks provided by Schenker (XMG) and MSI. As it turned out the backpacks are used best in combination of an DP to HDMI adapter (capable to handshake: Display Port (DP v1.2) and HDMI (v1.3)). See the image for a working example.


[MAC OS X] EyeTV OSCAM + eyetvCamd + libusb + smartreader + smargo + USB + SSL + OS X 10.11.x + 64Bit + MAC OS X Oscam Server with USB support for external readers

OSCam with ssl, libusb support
– os x changed its ssl library support
– libusb must be installed for external usb cardreader support

1. I recommend “brew” to install openssl
1.1. /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
1.2. brew install openssl
1.3. this will install openssl to /usr/local/Cellar/openssl/xxx/
1.4. as oscam will look for openssl in /usr/local/include and /usr/local/lib you are welcome to link or copy it there manually

2. download libusb from here http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2
2.1 configure, make, make install it

3. build oscam with ssl and usb support
3.1. get scam sources here: svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn
I recommend to checkout revision 10009 as this particular oscam version is even capable to split/proxy an external non reshareable line and is very stable/freeze free at all
3.2. setup config:
make allyesconfig
make USE_LIBUSB=1 LIBUSB_LIB=”/usr/local/lib/libusb-1.0.al -lobjc -framework IOKit -framework CoreFoundation”
3.3. make install

4. configure oscam
4.1 by default config files are located at /usr/local/etc
4.2 simple example of a hd01 card with a cheap usb smartreader
4.2.1 oscam.conf
nice = -1
logfile = /usr/local/oscam/oscam.log
usrfile = /usr/local/oscam/oscamuser.log
cwlogdir = /usr/local/oscam/cw

port = 15000@1830:000000;
key = 01…14
keepalive = 1

httpport = 1337
httpuser = myusername
httppwd = mypassword
httpallowed =,,
in order to be able to locate and use the correct smartreader, as osx is not mounting it via /dev/tty.usb.*, nor it does by udev, you must look for it in OS Xs registy entries by: system_profiler SPUSBDataType, as a result you will use your findings this way: “device = Serial:Reader DDA21FB” but replacing it with your own serial number (DDA21FB) oscam.server
label = hdplus01
description = smartreaderhdplus01
protocol = smartreader
device = Serial:Reader DDA21FB
caid = 1830
boxkey = A7…7C
rsakey = BF…D5
detect = cd
mhz = 369
cardmhz = 368
ident = 1830:000000,003411,008011
group = 1
emmcache = 1,3,2
auprovid = 003411
ecmwhitelist = 1830:92

4.2.3 oscam.user
user = eyetvcamd
pwd = eyetvcamd
au = hdplus01
group = 1

5. you need to configure eyetvCamd
5.1 run eyetvCamd to create a server.plist at /Users/your-username/Documents/eyetvCamd/server.plist
you must add all your wanted oscam.conf newcamd ports according to your settings

6. Prebuilt binaries
Btw.: you are welcome to download and use my prebuilt oscam/libusb/openssl binaries/libraries for OS X 10.11.X,
but you must copy the libraries in/to its correct directories/locations
you can find the locations by with otool: otool -L oscam or otool -L libusb.a


[MAC OS X] FIX: TensorFlow Python 0.10.0rc0 ProtoBuf Error






Hi, if you have trouble to use Google’s TensorFlow Python API with MAC OS X:

  1. Uninstall all previous TensorFlow and ProtoBuffer installations:
    1. pip uninstall tensorflow
    2. pip uninstall protobuf
    3. brew uninstall protobuf
  2. Reinstall TensorFlow (Update URL to latest master):
    1. export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.10.0rc0-py2-none-any.whl
    2. pip install –upgrade $TF_BINARY_URL
  3. Test TensorFlow (Python script):
    import tensorflow as tf
    hello = tf.constant(‘Hello, TensorFlow!’)
    sess = tf.Session()
    a = tf.constant(10)
    b = tf.constant(32)
    print(sess.run(a + b))


[MAC OS X] Fix missing libraries of an existing binary by adding correct @rpath rpath LC_RPATH commands to the executable

Adding missing library path to an existing OS X binary:
For example: open tracker (see https://github.com/opentrack/opentrack) misses the correct relative @rpath:
otool -l /Applications/opentrack.app/Contents/MacOS/opentrack.bin | grep @rpath
name @rpath/QtWidgets.framework/Versions/5/QtWidgets (offset 24)
name @rpath/QtGui.framework/Versions/5/QtGui (offset 24)
name @rpath/QtNetwork.framework/Versions/5/QtNetwork (offset 24)
name @rpath/QtCore.framework/Versions/5/QtCore (offset 24)

Where @rpath is at:
Load command 28
cmdsize 56
path /Users/sthalik/dev/opentrack/build/install (offset 12)
Load command 29
cmdsize 56
path /Users/sthalik/Qt5.5.1/5.5/clang_64/lib (offset 12)

Wrong path set for local Qt’s libraries

In order to fix this: we should add a custom @rpath for all libraries not being deployed with the executable or being linked with libs only being locally available:
For example adding local Qt libs to opentracker.bin:
install_name_tool -add_rpath /Applications/Qt/5.5/clang_64/lib /Applications/opentrack.app/Contents/MacOS/opentrack.bin

More generally speaking:
install_name_tool -add_rpath “absolute path to libs to be added to the executable” “absolute path to the executable”

Check the results:
otool -l /Applications/opentrack.app/Contents/MacOS/opentrack.bin
Load command 32
cmdsize 48
path /Applications/Qt/5.5/clang_64/lib (offset 12)

[eyetvCamd] EyeTv eyetvCamd – ORF HD Fix patch source file for Mac OS < 10.7

eyetvCamd & EyeTV – ORF HD Fix (Mac OS < 10.7 (32bit)):
– Copy & Replace pmt.mm to eyetvCamd directory

Keep in mind:
– I am not able to verify this patch, as I am not willed to support Mac OS X< 10.7 (security reasons)
– There are major SSL changes from OS X 7 -> OS X 11

Download eyetvcamd-orfhd-patch

Mac OS X > 10.10 Users: eyetv-softcam-eyetvcamd-v2-01c-eyetv-mac-osx-10-11-32bit

[Arduino] Atmel32u4 Arduino – Smart card & Smartcard & Chipcard – Reader Library (ISO-7816) Protocol T1 T=1

Info: For those of you who are interested in building their own Arduino based smart card reader/writer interface with the commonly used T=1 protocol (see ISO-7816).

– See the hardware sketch in order to get a feeling for the hardware setup!
– Feel free to look at the Example.cpp to get into to my library with “ease”!
–  If you want to use a cpu timer as external clock, see the following:
* See Atmel32u4 – Specification at Page 90ff
* Frequency = Clock / (2 * N * (1 + OCR1A))
* N = Prescaler Factor: 1,8,64,256,1024
* 8Mhz:
* Frequency = 8/(2*1(1+OCR1A)) = 8/(2*(1+OCR1A))
* 1Mhz = 8/2*(1+3) //OCR1A = 3
* 2Mhz = 8/2*(1+1) //OCR1A = 1
* 4Mhz = 8/2*(1+0) //OCR1A = 0

Download: Smartcard7816T1Arduino



[EyeTV] Freezing solved: eyetvcamd + oscam + cccam (Proxy/Splitter)

Hey guys,

  1. Proxies: It took me quite some effort to test/verify all the buggy OSCam versions that are not capable of sharing key requests/answers free of freezers. The essence of my findings is that OSCam version 1.20 r 10009/10010 broke the possibility to split a single line into several “client lines”. This has to do with caching methods introduced in 1.20 r10000+.
    Easy fix: do not use OSCam 1.20 revision > 10000!
    Download LineSplitter
  2. Publish: As many of u ask me to publish sources of eyetvcamd (ORF HD Fix): I actually think about it, but I am still working on it… so for now there is no version I can give to you, wich will satisfy most of your needs… sorry about that :/


[EyeTV] Updated eyetvcamd version: v2.01c for MAC OSX 10.11+ (32bit)


Update1: ORF HD problems fixed with eyetvcamd 2.0c1
Update2: If you need help to setup eyetvcamd with EyeTV and OSCam see: Here

Because of eyetvcamd having several problems with the latest version of OS X I decided to spend my sunday in order to fix those:

First of all EyeTV 3.x is still a 32bit binary, so do not expect an eyetvcamd 64bit version as long as Elgato does not update its EyeTv software.
Second, Many of you ask for help because of crashes: I am glad to tell you that I absolutely have no crashes at all (OS X 10.11+, EyeTV 3.6.8, eyetvcamd 2.0c1) so get up to date 😉
Third, when it comes to ORF HD, I tried to do a “hacky quick fix”,  I could reproduce the fatal crash, as it has to do with the VIACCESS descriptors. But I am not able to test it in live mode, because I’ve got no ORF membership. So please feel free to test it and send in some bug reports, please.
Have fun!

Downloads: eyetvcamd201c