Lyckas sådär.
Skall ha igång mythtv igen, men vill även ha betalkanalerna...
Installerat
* sacs-ng Version: 0.0.2-3395d051a2c1+
* oscam version 1.20-unstable_svn, build #5730 (i686-pc-linux)
Har tänkt att skapa 3 virtuella adaptrar, men testar med 1, för
enkelhetens skull. Det är ett fire-dtv kort.
Hur vet man caid? har hittat 0500 på nätet men är
osäker på att det är rätt.
Tacksam för åsikter för att få igång det...
Oavsett hur jag gör får jag följande läge,
när jag ska testa med tzap:
bnl@tova:/usr/local/etc$ tzap -a1 -r tv6
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
reading channels from file '/home/bnl/.tzap/channels.conf'
^C
(hänger bara)
bnl@tova:/usr/local/etc$ tzap -a1 -f1 -r tv6
using '/dev/dvb/adapter1/frontend1' and '/dev/dvb/adapter1/demux0'
reading channels from file '/home/bnl/.tzap/channels.conf'
ERROR: failed opening '/dev/dvb/adapter1/frontend1' (Device or resource busy)
Ok, provar original adapter
bnl@tova:/usr/local/etc$ tzap -a0 -r tv6
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file '/home/bnl/.tzap/channels.conf'
ERROR: failed opening '/dev/dvb/adapter0/frontend0' (Device or resource busy)
dödar oscam och sacs-ng
bnl@tova:/usr/local/etc$ tzap -a0 -r tv6
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file '/home/bnl/.tzap/channels.conf'
tuning to 650000000 Hz
video pid 0x0437, audio pid 0x0436
status 1f | signal 5400 | snr 0101 | ber 0000438f | unc 00000000 | FE_HAS_LOCK
status 1f | signal fc00 | snr 0101 | ber 00000000 | unc b76befc0 | FE_HAS_LOCK
status 1f | signal fc00 | snr 0101 | ber 00000000 | unc b76befc0 | FE_HAS_LOCK
^C
Läge 1:
bnl@tova:/usr/local/etc$ ls -la /dev/dvb
totalt 0
drwxr-xr-x 4 root root 80 2011-07-26 12:52 .
drwxr-xr-x 21 root root 4380 2011-07-26 20:45 ..
drwxr-xr-x 2 root root 140 2011-07-26 10:42 adapter0
sudo modprobe dvbloopback
bnl@tova:/usr/local/etc$ ls -la /dev/dvb
totalt 0
drwxr-xr-x 4 root root 80 2011-07-26 12:52 .
drwxr-xr-x 21 root root 4380 2011-07-26 20:45 ..
drwxr-xr-x 2 root root 140 2011-07-26 10:42 adapter0
drwxr-xr-x 2 root root 280 2011-07-26 12:52 adapter1
bnl@tova:/usr/local/etc$ lsmod | head
Module Size Used by
dvbloopback 23302 0
cryptd 19801 0
aes_i586 16956 1
aes_generic 38023 1 aes_i586
binfmt_misc 13213 1
vboxnetadp 13323 0
vboxnetflt 27855 0
vboxdrv 219250 2 vboxnetadp,vboxnetflt
parport_pc 32111 0
startar oscam som root,
sudo oscam -b -d0
startar sacs-ng ssom root,
cd /usr/local/src/sc/contrib/sasc-ng
sudo LD_LIBRARY_PATH=/usr/local/src/sc/contrib/sasc-ng/sc/PLUGINS/lib/ \
./sasc-ng \
-j 0:1 \
--cam-budget \
--sid-allpid \
--sid-nocache \
-l /var/log/sacs-ng.log
oscam.log
[codebox]
-------------------------------------------------------------------------------
>> OSCam << cardserver started at Tue Jul 26 22:00:42 2011
-------------------------------------------------------------------------------
2011/07/26 22:00:42 97064A8 s >> OSCam << cardserver started, version 1.20-unstable_svn, build #5730 (i686-pc-linux)
2011/07/26 22:00:42 97064A8 s version=1.20-unstable_svn, build #5730, system=i686-pc-linux, nice=-1
2011/07/26 22:00:42 97064A8 s client max. idle=120 sec, debug level=0
2011/07/26 22:00:42 97064A8 s max. logsize=200 Kb, loghistorysize=4096 bytes
2011/07/26 22:00:42 97064A8 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
2011/07/26 22:00:42 97064A8 s services reloaded: 0 services freed, 1 services loaded, rejected 0
2011/07/26 22:00:42 97064A8 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2011/07/26 22:00:42 97064A8 s signal handling initialized (type=sysv)
2011/07/26 22:00:42 97064A8 s can't open file "/usr/local/etc/oscam.srvid" (err=2 No such file or directory), no service-id's loaded
2011/07/26 22:00:42 97064A8 s can't open file "/usr/local/etc/oscam.tiers" (err=2 No such file or directory), no tier-id's loaded
2011/07/26 22:00:42 97064A8 s 35 provid's loaded
2011/07/26 22:00:42 97064A8 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) irdeto guessing not loaded
2011/07/26 22:00:42 97064A8 s monitor: initialized (fd=6, port=8988)
2011/07/26 22:00:42 97064A8 s camd33: disabled
2011/07/26 22:00:42 97064A8 s camd35: disabled
2011/07/26 22:00:42 97064A8 s cs378x: disabled
2011/07/26 22:00:42 97064A8 s newcamd: initialized (fd=7, port=15000, crypted)
2011/07/26 22:00:42 97064A8 s -> CAID: 0500 PROVID: 000000
2011/07/26 22:00:42 97064A8 s radegast: disabled
2011/07/26 22:00:42 97064A8 s http thread started
2011/07/26 22:00:42 97064A8 s reader check thread started
2011/07/26 22:00:42 97064A8 s check thread started
2011/07/26 22:00:42 97064A8 s creating thread for device /dev/ttyUSB0
2011/07/26 22:00:42 97064A8 s loadbalancer: can't read from file /tmp/.oscam/stat
2011/07/26 22:00:42 97064A8 s waiting for local card init
2011/07/26 22:00:42 970ED28 h HTTP Server listening on port 8888
2011/07/26 22:00:45 9710528 r reader phoenix initialized (device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
2011/07/26 22:00:45 0 phoenix card detected
2011/07/26 22:00:50 9710528 r ATR: 3F 77 18 00 00 C2 47 40 00 68 90 00
2011/07/26 22:00:52 9710528 r Maximum frequency for this card is formally 5 Mhz, clocking it to 3.57 Mhz
2011/07/26 22:00:53 9710528 r [viaccess-reader] using ecm #506 for long viaccess ecm
2011/07/26 22:00:53 9710528 r type: Viaccess (standard atr), caid: 0500, serial: 3187331475
2011/07/26 22:00:54 9710528 r providers: 6 (FFF510,023200,023210,023220,023230,023240)
2011/07/26 22:00:54 9710528 r [viaccess-reader] ready for requests
2011/07/26 22:00:54 9710528 r found cardsystem viaccess
2011/07/26 22:00:54 9710528 r [viaccess-reader] card detected
2011/07/26 22:00:54 9710528 r [viaccess-reader] serial: 3187331475
2011/07/26 22:00:55 9710528 r provider: 1, id: FFF510, name: BOXER, sa: BDFAD193, geo: empty
2011/07/26 22:00:55 9710528 r provider: 2, id: 023200, name: BOXER1, sa: BDFAD193, geo: FF FF FF FF
2011/07/26 22:00:55 9710528 r class: 1E, expiry date: 2011/08/01 - 2011/08/31
2011/07/26 22:00:55 9710528 r class: 23, expiry date: 2011/08/01 - 2011/08/31
2011/07/26 22:00:55 9710528 r class: 1E, expiry date: 2011/07/01 - 2011/07/31
2011/07/26 22:00:55 9710528 r class: 23, expiry date: 2011/07/01 - 2011/07/31
2011/07/26 22:00:55 9710528 r class: 1E, expiry date: 2011/06/01 - 2011/06/30
2011/07/26 22:00:55 9710528 r class: 23, expiry date: 2011/06/01 - 2011/06/30
2011/07/26 22:00:55 9710528 r class: 1E, expiry date: 2011/05/01 - 2011/05/31
2011/07/26 22:00:55 9710528 r class: 23, expiry date: 2011/05/01 - 2011/05/31
2011/07/26 22:00:55 9710528 r class: 1E, expiry date: 2011/04/01 - 2011/04/30
2011/07/26 22:00:55 9710528 r class: 23, expiry date: 2011/04/01 - 2011/04/30
2011/07/26 22:00:56 9710528 r provider: 3, id: 023210, name: BOXER2, sa: BDFAD193, geo: FF FF FF FF
2011/07/26 22:00:56 9710528 r provider: 4, id: 023220, name: BOXER3, sa: BDFAD193, geo: FF FF FF FF
2011/07/26 22:00:57 9710528 r provider: 5, id: 023230, name: BOXER4, sa: BDFAD193, geo: FF FF FF FF
2011/07/26 22:00:57 9710528 r provider: 6, id: 023240, name: BOXER5, sa: BDFAD193, geo: FF FF FF FF
2011/07/26 22:00:58 97064A8 s init for all local cards done
2011/07/26 22:00:58 97064A8 s anti cascading disabled
2011/07/26 22:00:58 97128D0 c client connected to 15000 port
2011/07/26 22:00:58 97128D0 c encrypted newcamd:15000-client 127.0.0.1 granted (test, au=on (1 reader))
2011/07/26 22:00:58 97128D0 c user test authenticated successfully (generic)
2011/07/26 22:00:58 97128D0 c AU enabled for user test on reader phoenix
2011/07/26 22:02:58 97128D0 c WARNING: invalid client tcp_conn_close()
2011/07/26 22:02:58 97128D0 c test disconnected from 127.0.0.1
2011/07/26 22:02:58 97128D0 c thread B77CAB70 ended!
[/codebox]
sacs-ng.log
[codebox]
Jul 26 22:00:44.882 : Version: 0.0.2-3395d051a2c1+
Jul 26 22:00:44.933 CAM: initializing plugin: SoftCam (1.0.0pre-HG-3395d051a2c1+): A software emulated CAM
Jul 26 22:00:44.966 CAM(general.info): SC version 1.0.0pre-HG-3395d051a2c1+ initializing (VDR 1.6.0)
Jul 26 22:00:45.000 CAM: starting plugin:
Jul 26 22:00:45.022 CAM(general.info): SC version 1.0.0pre-HG-3395d051a2c1+ starting (VDR 1.6.0)
Jul 26 22:00:45.045 CAM(core.load): ** Plugin config:
Jul 26 22:00:45.080 CAM(core.load): ** Key updates (AU) are enabled (active CAIDs) (no prestart)
Jul 26 22:00:45.114 CAM(core.load): ** Local systems DON'T take priority over cached remote
Jul 26 22:00:45.147 CAM(core.load): ** Concurrent FF recordings are NOT allowed
Jul 26 22:00:45.192 CAM(core.load): ** Force transfermode with digital audio
Jul 26 22:00:45.226 CAM(core.load): ** ECM cache is set to enabled
Jul 26 22:00:45.259 CAM(core.load): ** TsBufferSize is 4 MB
Jul 26 22:00:45.293 CAM(core.load): ** ScCaps are 1 2 0 0 0 0 0 0 0 0
Jul 26 22:00:45.327 CAM(general.info): loading cardclient config from ./sc_files/cardclient.conf
Jul 26 22:00:45.394 CAM(cardclient.newcamd): now using protocol version 525 (cdLen=8)
Jul 26 22:00:45.461 CAM(cardclient.core): hostname=localhost port=15000 emm=0 emmCaids 0500/ffff
Jul 26 22:00:45.528 CAM(cardclient.core): Newcamd: username=test password=test key=000102030405060708090A0B0C0D
Jul 26 22:00:45.606 CAM(cardclient.core): client 'Newcamd' ready
Jul 26 22:00:45.685 CAM(core.net): connecting to localhost:15000/tcp (127.0.0.1)
Jul 26 22:00:58.113 CAM(cardclient.login): Newcamd: CaID=0500 admin=1 srvUA=00000000BDFAD193 provider 023240/00000000BDFAD193 023230/00000000BDFAD193 023220/00000000BDFAD193 023210/00000000BDFAD193 023200/00000000BDFAD193 FFF510/00000000BDFAD193
Jul 26 22:00:58.154 CAM(cardclient.emm): Newcamd: EMM disabled from config
Jul 26 22:00:58.188 CAM(general.error): failed open ./sc_files/SoftCam.Key: No such file or directory
Jul 26 22:00:58.222 CAM(general.error): failed open ./sc_files/smartcard.conf: No such file or directory
Jul 26 22:00:58.255 CAM(general.error): failed open ./sc_files/cardslot.conf: No such file or directory
Jul 26 22:00:58.278 CAM(general.error): failed open ./sc_files/override.conf: No such file or directory
Jul 26 22:00:58.311 CAM(general.error): no keys loaded for softcam!
Jul 26 22:00:58.334 CAM(core.load): ** registered systems:
Jul 26 22:00:58.357 CAM(core.load): ** Cardclient (pri -15)
Jul 26 22:00:58.390 CAM(core.load): ** Conax (pri -10)
Jul 26 22:00:58.424 CAM(core.load): ** ConstCW (pri -20)
Jul 26 22:00:58.457 CAM(core.load): ** Cryptoworks (pri -10)
Jul 26 22:00:58.491 CAM(core.load): ** Irdeto (pri -10)
Jul 26 22:00:58.526 CAM(core.load): ** Irdeto2 (pri -8)
Jul 26 22:00:58.560 CAM(core.load): ** Nagra (pri -10)
Jul 26 22:00:58.593 CAM(core.load): ** Nagra2 (pri -10)
Jul 26 22:00:58.628 CAM(core.load): ** Fake-NDS (pri -12)
Jul 26 22:00:58.661 CAM(core.load): ** SC-Conax (pri -5)
Jul 26 22:00:58.740 CAM(core.load): ** SC-Cryptoworks (pri -5)
Jul 26 22:00:58.840 CAM(core.load): ** SC-Irdeto (pri -5)
Jul 26 22:00:58.908 CAM(core.load): ** SC-Nagra (pri -5)
Jul 26 22:00:58.965 CAM(core.load): ** SC-Seca (pri -5)
Jul 26 22:00:59.032 CAM(core.load): ** SC-Viaccess (pri -5)
Jul 26 22:00:59.077 CAM(core.load): ** SC-VideoGuard2 (pri -5)
Jul 26 22:00:59.143 CAM(core.load): ** Seca (pri -10)
Jul 26 22:00:59.177 CAM(core.load): ** @SHL (pri -10)
Jul 26 22:00:59.211 CAM(core.load): ** Viaccess (pri -10)
Jul 26 22:01:00.249 dvr: Starting thread on /dev/dvb/adapter1/dvr1
The thread scheduling parameters indicate:
policy = 1
priority = 99
Jul 26 22:01:00.249 frontend: Starting thread on /dev/dvb/adapter1/frontend1
The thread scheduling parameters indicate:
policy = 0
priority = 0
Jul 26 22:01:00.249 demux: Starting thread on /dev/dvb/adapter1/demux1
The thread scheduling parameters indicate:
policy = 0
priority = 0
Jul 26 22:01:00.568 : Listening on port 5456
Jul 26 22:02:58.129 CAM(core.net): idle timeout, disconnected localhost:15000
[/codebox]
oscam.conf:
[codebox]
# main configuration
[global]
nice = -1
WaitForCards = 1
preferlocalcards = 1
# logging
logfile = /var/log/oscam/oscam.log
usrfile = /var/log/oscam/oscamuser.log
cwlogdir = /var/log/oscam/cw
maxlogsize = 200 # Logfile reaches to 200 KBytes
## monitor
[monitor]
port = 8988
aulow = 120
monlevel = 1
[anticasc]
enabled = 0
# web interface
[webif]
httpport = 8888
httpuser = admin
httppwd = pass
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255 # Host and range 192.168.0 are allowed
# protocols
[newcamd]
Key = 000102030405060708090A0B0C0D
port = 15000@0500:000000
keepalive = 1
mgclient = 0
allowed = 127.0.0.1,192.168.0.0-192.168.255.255
[/codebox]
oscam.server:
[codebox]
[reader]
label = phoenix
enable = 1
protocol = mouse
device = /dev/ttyUSB0
services = boxer
caid = 0500
ident =
group = 1
emmcache = 1,1,0
blockemm-unknown = 1
blockemm-s = 1
blockemm-g = 1
lb_weight = 100
[/codebox]
oscam.services
[codebox]
[Boxer]
caid = 0500
provid = FFF510,023200,023210,023220,023230,023240
srvid = 0230,0244,0262,02E4,02F8,02EE,030C,0320,0348,035C,0384,038E,03A2,03AC,03B6,03C
[/codebox]
oscam.user
[codebox]
[account]
user = test
pwd = test
uniq = 1
group = 1
au = phoenix
caid = 0500
disabled = 0
services = boxer
ident =
keepalive = 1
[/codebox]
oscam.provid
[codebox]
0500:FFF510|Boxer|Terrestial|Swedish
0500:023200|Boxer|Terrestial|Swedish
0500:023210|Boxer|Terrestial|Swedish
0500:023220|Boxer|Terrestial|Swedish
0500:023230|Boxer|Terrestial|Swedish
0500:023240|Boxer|Terrestial|Swedish
0500:040D00|Boxer|Terrestial|Swedish
0500:0230|Boxer|BBC World|TV|
0500:0262|Boxer|SVT HD|TV|
0500:02e4|Boxer|Comedy Central|TV|
0500:02f8|Boxer|VH-1|TV|
0500:030c|Boxer|TV Finland|TV|
0500:0348|Boxer|Kanal 9|TV|
0500:035c|Boxer|Eurosport|TV|
0500:0384|Boxer|C+ Sport 1 SF|TV|
0500:038e|Boxer|C+ First|TV|
0500:03a2|Boxer|Discovery|TV|
0500:03ac|Boxer|MTV|TV|
0500:03b6|Boxer|Nickelodeon|TV|
0500:03ca|Boxer|C+ Hits Sports|TV|
0500:041a|Boxer|Kanal 5|TV|
0500:042e|Boxer|TV6|TV|
0500:0438|Boxer|Animal planet|TV|
0500:0442|Boxer|TV8|TV|
0500:0456|Boxer|Disney Channel|TV|
0500:046a|Boxer|TV4 Film|TV|
0500:0474|Boxer|TV400|TV|
0500:047e|Boxer|TV4 Plus|TV|
0500:0488|Boxer|CNN|TV|
0500:04a6|Boxer|ZTV|TV|
0500:04c4|Boxer|TV4 Fakta|TV|
0500:1586|Boxer|TV2 ABC|TV|
0500:14d2|Boxer|TV3|TV|
0500:168a|Boxer|TV1|TV|
0500:17de|Boxer|TV4|TV|
[/codebox]
[codebox]
cardclient.conf
newcamd:localhost:15000:0/0500/ffff:test:test:000102030405060708090A0B0C0D
[/codebox]
/Björn