Channel scanning via sasc-ng
Added by Darren Black over 13 years ago
Hi there
I recently decided to give TVHeadend a shot, after many years using MythTV. I've been using sasc-ng (it reports SC version 1.0.0pre-HG-61975953edd0+ at startup) with my danish (StofaXtra / Zaptor) Irdeto 2 card for quite a while now, and haven't had many issues.
I have discovered that I am unable to perform a channel scan using TVHeadend through the virtual (dvbloopback) adapters. The scan works blazingly fast, however, if I scan through the physical adapters. Oddly enough, the 'scan' app from the linuxtv guys (which is arguably our reference implementation) works just fine.
Unfortunately I have relatively little debug information to offer at present - I'd be happy to provide it if somebody can tell me what I need to provide. What I can see is that when I manually add the initial scan multiplex to the physical adapter, it scans and finds all the other muxes, and proceeds to scan and register services. When I do the same to the loopback adapter, the mux doesn't get scanned - "Muxes awaiting initial scan:" starts at, and remains at 1. Debug logging shows nothing.
I have also looked at the files TVHeadend generates - when using the physical adapter, the following file is generated for the initial scan mux:
{ "quality": 100, "enabled": 1, "status": "OK", "transportstreamid": 1, "network": "Stofa Aarhus", "frequency": 346000000, "symbol_rate": 6900000, "fec": "3/5", "constellation": "QAM64" }
While the same details added to the virtual adapter yields the following:
{ "quality": 100, "enabled": 1, "status": "OK", "transportstreamid": 65535, "frequency": 346000000, "symbol_rate": 6900000, "fec": "NONE", "constellation": "QAM64" }
So there's a difference between the detected TSID's... And the fec value remains at 'NONE' (I actually input the value as none for both adapter types - it changes to 3/5 automatically when TVHeadend does it's thing with the physical adapter). I've tried altering these values in the relevant file and restarting, but the program doesn't react to the change. It also does not change the values back. I'm frankly not sure what to make of that.
Does anybody else have experience with this combination? If you got it working, did you have to do anything special with your config for channel scanning to start working?
(I'm aware this might be considered a 'descrambling' issue, but I put my question here since, in the context of TVHeadend, we're not trying to descramble, only tune.)
Cheers,
/drdaz
Replies (4)
RE: Channel scanning via sasc-ng - Added by Darren Black over 13 years ago
As an aside, I'm open to other solutions to this problem. I've used pretty much my entire weekend trying to set up OSCam as a 'Code Word' server for TVHeadend to connect to. Alas, the damn thing won't initialize my card (I suspect it's a frequency issue), and I'm not sure where to put the card specific info I've given sasc-ng (such as the extracted keys contained in smartcard.conf). So I'm a long way from succeeding via that route. If anybody has some tips for migrating from sasc-ng to OSCam, I'd be equally grateful.
My setup is a generic USB smartcard burner (can run in Phoenix or Smartmouse mode), and an Irdeto 5.3 smartcard. As I said, this setup works flawlessly with MythTV (although I did use channels.conf output from scan to input the channels to Myth - at the time their DVB channel scanner was horribly broken - I haven't and don't intend to check if it works now).
Thanks again
/drdaz
RE: Channel scanning via sasc-ng - Added by Andreas Smas over 13 years ago
You are probably best of asking in #hts on freenode.
I don't run any cardservers myself so I don't know about those.
RE: Channel scanning via sasc-ng - Added by Paul Rensel over 13 years ago
Hi,
I have oscam running fine with seca card (canaldigitaal) using a smargo usb reader but just in smartmouse mode so it could would for you also.
does oscam recognize your reader ?
can you view the oscam webinterface ?
what does the oscam debug say when you insert a card ?
Regards,
Paul
RE: Channel scanning via sasc-ng - Added by Darren Black over 13 years ago
Hi there
There are no issues with reading the card anymore... I got that fixed - I had to switch to smartmouse mode. Apparently phoenix doesn't work.
What's missing is the pairing / crypto part. My card won't accept the standard values for RSA- it needs the card-specific (extracted from the card) values to work. The trouble is I don't know where to put them. In sasc-ng I used the 128-byte public modulus for decrypt of cardfiles 2 & 3... I can't find anywhere to give those values to oscam.
/drdaz