NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 369 370 371 372 373 … 433 Next »
Can´t get NPVR - NEWCS - ACAMD to work

Can´t get NPVR - NEWCS - ACAMD to work
Barsk
Offline

Senior Member

Posts: 395
Threads: 57
Joined: Aug 2006
#31
2010-10-11, 08:13 AM
@RedDwarf
From the logs of newcs. It dumps a lot of different Provider IDs (and none of them is 23208 btw so that is a mystery). And I tried them in order and found 20500 to work (but only for 6.1.8). Other sources on the net find that removing the preferred providerId totally also works. I don't remember how that worked for me though.
When I am back home I can post an example of the newcs log that I refere to here.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#32
2010-10-11, 08:27 AM
Barsk Wrote:@RedDwarf
From the logs of newcs. It dumps a lot of different Provider IDs (and none of them is 23208 btw so that is a mystery). And I tried them in order and found 20500 to work (but only for 6.1.8). Other sources on the net find that removing the preferred providerId totally also works. I don't remember how that worked for me though.
When I am back home I can post an example of the newcs log that I refere to here.

Ok, thanks.

BTW: PM me so we don't hijack this thread completly :p

"I'd rather have a bottle in front of me than a frontal lobotomy"
andcar
Offline

Junior Member

Posts: 42
Threads: 9
Joined: Aug 2004
#33
2010-10-11, 03:12 PM
I tried the newcs.xml from Barsk and then it worked!
Thanks alot for all yor help!

However there are two more issues:

1) I read what Barsk wrote about several instances and several users. I tried a few things but didnt got it to work, can you give an example of how those parts of newcs.xml and cardclient.conf should be.

2) Sometimes the channelshift takes a lot of time switching to a encrypted channel. It is relatively fast between uncrypted channels but sometimes it takes 20 seconds to change to a encrypted channel. Is that normal?

Thanks again!
tmrt
Offline

Member

Posts: 188
Threads: 25
Joined: May 2007
#34
2010-10-11, 07:09 PM
andcar Wrote::

1) I read what Barsk wrote about several instances and several users. I tried a few things but didnt got it to work, can you give an example of how those parts of newcs.xml and cardclient.conf should be.

I just added several newcs users via the http interface and set up a different username in each cardclient.conf.
You need however to increase the number of instances in the device setup dialog, so additional folders appear under MDPlugins and copy acamd related files to each folder.

Quote:2) Sometimes the channelshift takes a lot of time switching to a encrypted channel. It is relatively fast between uncrypted channels but sometimes it takes 20 seconds to change to a encrypted channel. Is that normal?
Thanks again!

The decryption key is only sent with certain time period, which depends on the provider. This can introduce a delay when you switch channels just after one key has been sent.
Barsk
Offline

Senior Member

Posts: 395
Threads: 57
Joined: Aug 2006
#35
2010-10-11, 07:53 PM
andcar Wrote:I tried the newcs.xml from Barsk and then it worked!
Thanks alot for all yor help!
Glad we could sort it out. I am sure there was a syntax error in your config somewhere. The parser they use in newcs is not very good at finding those errors and a bug can be tricky to find. For instance I had this error in my setup:
Code:
<name>Phoenix on COM3</name>
            <type>phoenix</type>
            <mhz>368/mhz>
            <node>COM3</node>
Note the missing "<" after 368. That type of errors newcs is extremely bad on finding. This problem caused some really strange errors...


Quote:1) I read what Barsk wrote about several instances and several users. I tried a few things but didnt got it to work, can you give an example of how those parts of newcs.xml and cardclient.conf should be.
Sure, here is an example. Just fill up with as many user sections you need. I have nine. I name the users according to the tuner/instance naming scheme to make it easier to remember. I.e tuner 1, instance 1 is dummy11. Tuner 2, instance 3 would be dummy23 and so on. I use dummy as the password on all. I do NOT share my smartcard with any other (that is illegal) so using dummy names and passwords are perfectly Ok. Here is part of the newcamd section in newcs.xml:
Code:
<newcamdserver>
            <enabled>Yes</enabled>
            <name>newcs</name>
            <deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
            <user>
                <name>dummy11</name>
                <password>dummy</password>
                <au>on</au>
                <sidoverride>off</sidoverride>
                <spider>No</spider>
                                <cardlevel>1</cardlevel>

            </user>
            <user>
                <name>dummy12</name>
                <password>dummy</password>
                <au>on</au>
                <sidoverride>off</sidoverride>
                <spider>No</spider>
                                <cardlevel>1</cardlevel>

            </user>
            <user>
                <name>dummy13</name>
                <password>dummy</password>
                <au>on</au>
                <sidoverride>off</sidoverride>
                <spider>No</spider>
                                <cardlevel>1</cardlevel>

            </user>
            <user>
                <name>dummy21</name>
                <password>dummy</password>
                <au>on</au>
                <sidoverride>off</sidoverride>
                <spider>No</spider>
                                <cardlevel>1</cardlevel>

            </user>
            ...and so on...
    </newcamdserver>
Each instance in the mdplugins folder would use a single user account from these.
Tuner 1, instance 1: The cardclient.conf contains:
Code:
newcamd:127.0.0.1:15000:1/0500/ffff:dummy11:dummy:0102030405060708091011121314
Tuner 2, instance 2:
Code:
newcamd:127.0.0.1:15000:1/0500/ffff:dummy22:dummy:0102030405060708091011121314

and so on... I used some random instances above. Normally you set up things in the right order.
Quote:2) Sometimes the channelshift takes a lot of time switching to a encrypted channel. It is relatively fast between uncrypted channels but sometimes it takes 20 seconds to change to a encrypted channel. Is that normal?
For me a channel change with encrypted channel takes about 1-5 seconds. There is a cache though, and during your problematic testings the cache may have been filled with garbage (mine was). So empty the chcache.ini file and also the AcamdTemp folder if you run acamd 6.1.8. That sorted out my problems. Other than that. No idea... What phoenix interface are you using? Is it set up right?
Barsk
Offline

Senior Member

Posts: 395
Threads: 57
Joined: Aug 2006
#36
2010-10-11, 08:56 PM
@RedDwarf
I think this would be of general interest, and I have no further to add so the hijacking stops here anyway.
This is what newcs 1.65 spews out on the initial startup. Well a portion of it:
Code:
[ 22:36:20 ] [ Viaccess ] Status Word from Card: 9008
[ 22:36:20 ] [ KeymaN ] Adding key xxxxxxxx type 1 on Provider 020500 for caid 0500 ID=1
[ 22:36:20 ] [ Viaccess ] Sending to Card: xxxxxxxxx

There are a number of those lines with provider ids. I just tried them and 20500 kind of worked... I might have been lucky?
Changed the key values with xxxx. They are of no interest anyway here.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#37
2010-10-11, 09:17 PM
Barsk Wrote:@RedDwarf
I think this would be of general interest, and I have no further to add so the hijacking stops here anyway.
This is what newcs 1.65 spews out on the initial startup. Well a portion of it:
Code:
[ 22:36:20 ] [ Viaccess ] Status Word from Card: 9008
[ 22:36:20 ] [ KeymaN ] Adding key xxxxxxxx type 1 on Provider 020500 for caid 0500 ID=1
[ 22:36:20 ] [ Viaccess ] Sending to Card: xxxxxxxxx

There are a number of those lines with provider ids. I just tried them and 20500 kind of worked... I might have been lucky?
Changed the key values with xxxx. They are of no interest anyway here.

Thanks, I'll have a closer look at my logs.

"I'd rather have a bottle in front of me than a frontal lobotomy"
andcar
Offline

Junior Member

Posts: 42
Threads: 9
Joined: Aug 2004
#38
2010-10-12, 04:16 PM
I have some problems with more than one instance, often but not everytime i get these errors:

acamdmonitor:
[SIZE="1"]17:56:27.941: Login attemp (1)
17:56:27.942: connecting to 127.0.0.1:16000/tcp (127.0.0.1)
17:56:27.948: socket: EOF on read
17:56:27.948: recv error. reconnecting...
17:56:27.948: failed to login to cardserver for username user11 (proto 525)
[/SIZE]

newcs:
[SIZE="1"][ 17:56:27 ] [ Newcamd ] new connection from 127.0.0.1 on socket 1224
[ 17:56:27 ] [ Newcamd:16000 ] connection from 127.0.0.1
[ 17:56:27 ] [ Newcamd:16000 ] user11 logged in, client: Generic
[ 17:56:27 ] [ Newcamd:16000 ] Connection from user11 to not-ready server!
[/SIZE]

I have not find a pattern but when I change back to 1 instance everything works again
Barsk
Offline

Senior Member

Posts: 395
Threads: 57
Joined: Aug 2006
#39
2010-10-13, 07:13 AM
Something wrong with newcs here. The acamd client is doing its job and try to login with user11. Newcs logs the user in, but the server is "not-ready".
Either newcs has not initialized itself or the smartcard correctly. I have had some "glitches" of that sort. Normally when you start newcs it spews out a series of logging info that forms a pattern that one gets used to rather quickly. If something is weird, that pattern is different. My USB-Serial communication on Win 7 is clearly not bug free as it on occasion hangs. I then get an initialise error on the card. Unplugging and re-plugging the USB connnector solves it. (This is with a Phoenix reader from AD-Teknik in Sweden. It uses a FTDI USB-Serial device. Worked perfectly in XP).

I bet there is a syntax error of some sort that I mentioned earlier. I.e some "<" or ">" or end tag missing, or something put into the wrong section. As I have mentioned before. The parser that newcs uses is not that good at spotting and pointing out errors in the xml format. It just fails and produces weird errors. Check the syntax thoroughly for any errors. If you can't find the error, post the whole config here so we can have a look.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#40
2010-10-13, 07:37 AM
andcar Wrote:I have some problems with more than one instance, often but not everytime i get these errors:

acamdmonitor:
[SIZE="1"]17:56:27.941: Login attemp (1)
17:56:27.942: connecting to 127.0.0.1:16000/tcp (127.0.0.1)
17:56:27.948: socket: EOF on read
17:56:27.948: recv error. reconnecting...
17:56:27.948: failed to login to cardserver for username user11 (proto 525)
[/SIZE]

newcs:
[SIZE="1"][ 17:56:27 ] [ Newcamd ] new connection from 127.0.0.1 on socket 1224
[ 17:56:27 ] [ Newcamd:16000 ] connection from 127.0.0.1
[ 17:56:27 ] [ Newcamd:16000 ] user11 logged in, client: Generic
[ 17:56:27 ] [ Newcamd:16000 ] Connection from user11 to not-ready server!
[/SIZE]

I have not find a pattern but when I change back to 1 instance everything works again

I see from an earlier post that you set parity to ODD, my smartcard runs with EVEN parity and two stopbits. Have you tried other parity settings?

"I'd rather have a bottle in front of me than a frontal lobotomy"
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 2 3 4 5 6 … 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  npvr is not responding johndutcher 3 1,528 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,936 2022-04-14, 04:33 AM
Last Post: Antmannz
  nPVR Continually Wakes PC bfos 23 11,387 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,748 2022-01-03, 04:45 AM
Last Post: mvallevand
  Streaming Services with NPVR tesla1886 4 2,757 2021-01-04, 02:58 AM
Last Post: tesla1886
  NPVR choosing incorrect xml guide display-name after reboot drlava 7 3,122 2020-12-27, 02:27 AM
Last Post: sub
  Can NPVR offset only 3 channel listings in EPG? acemib 20 7,224 2020-04-27, 01:28 PM
Last Post: mvallevand
  Import recorded tv shows to NPVR mattman1968 9 6,107 2020-03-03, 12:57 PM
Last Post: Jimixter
  Easiest way to migrate NPVR to a new machine JP23 1 1,992 2020-02-24, 04:55 PM
Last Post: sub
  NPVR Hangs when Changing Channels BorchertD 2 1,731 2020-01-11, 11:37 PM
Last Post: BorchertD

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode