EyeTV with OSCAM and eyetvCamd (supports libusb, smartreader, smargo, USB, SSL, OS X 10.11.x, 64Bit) A Mac OS X Oscam server with USB support for external readers

  • Post published:August 26, 2016

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
[global]
nice = -1
logfile = /usr/local/oscam/oscam.log
usrfile = /usr/local/oscam/oscamuser.log
cwlogdir = /usr/local/oscam/cw

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

[webif]
httpport = 1337
httpuser = myusername
httppwd = mypassword
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255,255.255.255.255

4.2.2.1
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)
4.2.2.2 oscam.server
[reader]
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
[account]
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
<dict>
<key>enable</key>
<string>YES</string>
<key>filter</key>
<array/>
<key>host</key>
<string>127.0.0.1</string>
<key>ncdkey</key>
<string>01…14</string>
<key>password</key>
<string>password</string>
<key>port</key>
<string>15000</string>
<key>proto</key>
<string>ncd525</string>
<key>user</key>
<string>username</string>
</dict>
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

DOWNLOAD