Jump to content


Photo

low power in-house card server hardware


  • Please log in to reply
33 replies to this topic

#1 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 6 January 2019 - 19:12

Looking for a bit of advice:

 

I've always used STB's for my subscription cards, but it is always a pain because I need multiple due to the number of cards I have, and the fact that if I need the STB for testing, I lose that card in my house which may impact people watching or planned recordings (or it will impact my development work ;)).

 

To solve this, I want to switch to a dedicated card server, using Smargo triple readers.

 

My first port of call was my NAS (a Synology DS414 which is already running anyway). I have Oscam installed, I have USBserial installed, I have Oscam see the reader and the cards, it can read the entitlements, but the ECM's seem to have a problem getting to the card (Invalid ecm type for card errors). I find plenty of people online with similar problems, but no one who posted a solution.

 

So the question is what is the next best solution, low power and cheap? A Rasberry Pi? Something else that is guaranteed to work?


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #2 MiLo

  • PLi® Core member
  • 13,861 posts

+290
Excellent

Posted 6 January 2019 - 19:22

If the board has a "meta" layer for OpenEmbedded, you can build and then run OpenPLi on it (just build the image without GUI, it'll be really small) to maximize the chances that Oscam will actually work.

Not much is needed, so even a rPI is overpowered...

Do these cardreaders work on other things than settop boxes? (i.e. have you ever got them to work properly with oscam anyway?)

Edited by MiLo, 6 January 2019 - 19:22.

Real musicians never die - they just decompose

Re: low power in-house card server hardware #3 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 6 January 2019 - 19:29

What is special about a setup box in this respect?

 

These cardreaders require a USB port, USBserial linux drivers (usbserial, ftdi_sio, pl2303), and optionally some udev rules. 

 

As said, I have Oscam running on my Synology NAS, it works up to the point that it can access the entitlements without problems. But for some reason it can't write ECM's to the cards, they are all rejected (no matter which card).

 

The only issue I see on the Synology is:

2019-01-05T22:17:08+00:00 penguin kernel: [  243.446700] usb 3-2: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64
2019-01-05T22:17:08+00:00 penguin kernel: [  243.455745] usb 3-2: config 1 interface 0 altsetting 0 bulk endpoint 0x2 has invalid maxpacket 64
2019-01-05T22:17:08+00:00 penguin kernel: [  243.464694] usb 3-2: config 1 interface 1 altsetting 0 bulk endpoint 0x83 has invalid maxpacket 64
2019-01-05T22:17:08+00:00 penguin kernel: [  243.473706] usb 3-2: config 1 interface 1 altsetting 0 bulk endpoint 0x4 has invalid maxpacket 64
2019-01-05T22:17:08+00:00 penguin kernel: [  243.482641] usb 3-2: config 1 interface 2 altsetting 0 bulk endpoint 0x85 has invalid maxpacket 64
2019-01-05T22:17:08+00:00 penguin kernel: [  243.491663] usb 3-2: config 1 interface 2 altsetting 0 bulk endpoint 0x6 has invalid maxpacket 64

when it detects the triple reader.

 

What the alternative is I don't really care, a Pi or some other board that can run Linux and Oscam will do fine. As long as it works...


Edited by WanWizard, 6 January 2019 - 19:32.

Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #4 littlesat

  • PLi® Core member
  • 46,852 posts

+490
Excellent

Posted 6 January 2019 - 20:39

Oscam is running on a router that can run openwrt and there are also NASses that can run Oscam....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: low power in-house card server hardware #5 sonic1

  • Senior Member
  • 62 posts

+3
Neutral

Posted 6 January 2019 - 20:52

Have you tried a different reader such as pcsc ? Never had any problems with ECM or EMM with mine.



Re: low power in-house card server hardware #6 Pr2

  • PLi® Contributor
  • 3,220 posts

+140
Excellent

Posted 6 January 2019 - 21:30

Go to streambord in the french section i wrote tutorials on how-to setup a Raspberry PI as server and another one with the right parameters for the ArgolisTriplereader.

You access the Argolis in the wrong mode I think, mine doesn't need any udev rules and you can reboot the box and the identifier will never change.

 

http://www.streamboa...?threadid=42226


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
Octagon SF4008 / Amiko Viper Combo / Zgemma H7C

Re: low power in-house card server hardware #7 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 6 January 2019 - 22:13

Oscam is running on a router that can run openwrt and there are also NASses that can run Oscam....

 

Please read back.


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #8 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 6 January 2019 - 22:15

Have you tried a different reader such as pcsc ? Never had any problems with ECM or EMM with mine.

 

Nope. I have a triple reader that worked on an X86/Ubuntu setup, but I prefer not to have another 24/7 power guzzler in my house ;).

 

So I prefer to either find a fix for my NAS setup (preferrably since that is already running) or a low-power alternative.


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #9 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 6 January 2019 - 22:17

You access the Argolis in the wrong mode I think, mine doesn't need any udev rules and you can reboot the box and the identifier will never change.

 

I don't have that problem either, after a reboot it is always the same. But if I unplug and plug back, it becomes ttyUSB3/4/5 instead of 0/1/2. This issue is adressed with the udev rules (which work fine as well).

 

I don't know what you mean by "wrong mode", what is "wrong" and how is it corrected to "right"?


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #10 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 7 January 2019 - 16:23

Fixed the communication problem with the triple. Turns out the ports on the back of the Synology are USB 3.0, and the Triple reader doesn't work in those.

 

I've now connected it to the USB 2.0 port on the front, and the cards started working. Sort of, there are a lot of timeouts, making it not really usable. It looks like the issue starts when I insert the second card...


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #11 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 7 January 2019 - 16:54

Turns out that one card works fine, as soon as I activate a second reader on the triple, I get timeouts on that second card:

2019/01/07 15:39:51 6307239E r   (reader) TVV [seca] ERROR: IO_Serial_GetStatus: ioctl(TIOCMGET): Connection timed out
2019/01/07 15:39:51 6307239E r   (reader) TVV [seca] Error getting card status.
2019/01/07 15:39:51 6307239E r   (reader) TVV [seca] card ejected
2019/01/07 15:39:51 6307239E r   (reader) TVV [smargo] card detected
...
2019/01/07 15:40:10 6307239E r   (reader) TVV [seca] ERROR: IO_Serial_GetStatus: ioctl(TIOCMGET): Connection timed out
2019/01/07 15:40:10 6307239E r   (reader) TVV [seca] Error getting card status.
2019/01/07 15:40:10 6307239E r   (reader) TVV [seca] card ejected
2019/01/07 15:40:10 6307239E r   (reader) TVV [smargo] card detected
...

and the first card starts giving very slow responses (1500-2500ms), so not really usable either...


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #12 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 7 January 2019 - 18:09

Looks like I've got it to work now.

 

Only config that will work:

protocol                      = smartreader
device                        = TripleP1;Serial:00000abc

all other protocol and device combinations out there (with or without udev rules) failed to work.


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #13 Pr2

  • PLi® Contributor
  • 3,220 posts

+140
Excellent

Posted 7 January 2019 - 19:46

Looks like I've got it to work now.

 

Only config that will work:

protocol                      = smartreader
device                        = TripleP1;Serial:00000abc

all other protocol and device combinations out there (with or without udev rules) failed to work.

 

That's what I mean by you were using the wrong mode (before), in this mode (smartreader) it the triple reader is working really fine and stable. ;-)

Sorry I was busy the whole day so I cannot point to it this sooner but you find it.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
Octagon SF4008 / Amiko Viper Combo / Zgemma H7C

Re: low power in-house card server hardware #14 HPPli

  • Senior Member
  • 1,290 posts

+26
Good

Posted 7 January 2019 - 20:51

Looks like I've got it to work now.

 

Only config that will work:

protocol                      = smartreader
device                        = TripleP1;Serial:00000abc

all other protocol and device combinations out there (with or without udev rules) failed to work.

 

Maybe you can also use the mouse protocol like this; 

 

[reader]
label                         = Stinger1Lower
enable                        = 1
protocol                      = mouse
device                        = /dev/ttyUSB1

 

In this case I'll use for many years a Stinger-reader connected for an inhouse OscamServer build on a BananaPi.

Will be a lowpower 24/7 super OscamServer for dedicated service to all my Inhouse STB's.

If you build such a OscamServer don't forget the extra rules wich necessary for the updates !!



Re: low power in-house card server hardware #15 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 7 January 2019 - 21:12

Nope, I tried that (mouse protocol), didn't work either.

 

It still isn't 100% stable now, every now and then I have a freeze because it takes 3000-5000ms for an ECM to be processed. No idea how and why, so the original plan of alternative hardware is still on the table.


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #16 Pr2

  • PLi® Contributor
  • 3,220 posts

+140
Excellent

Posted 7 January 2019 - 21:41

Hi,

 

Run your triple reader on a STB running OpenPLi and check the response time. I didn't encountered this problem on my triple reader connected to my Solo4K.

If you have the same problem there, then there is something wrong in your configuration.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
Octagon SF4008 / Amiko Viper Combo / Zgemma H7C

Re: low power in-house card server hardware #17 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 7 January 2019 - 21:55

I know, but I don't want that, the main goal of this excercise was to be independent of any STB, as if I need to test with that STB, I loose my cards... ;)


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #18 Pr2

  • PLi® Contributor
  • 3,220 posts

+140
Excellent

Posted 7 January 2019 - 22:22

I understand but this is just a test to define where you so low response time came from.

If you have good response time with the same setup on STB then it is the Synology which cannot handle it properly.

If you have also so slow response time then it is a configuration issue.

 

The Raspberry PI is I think an efficient alternative.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
Octagon SF4008 / Amiko Viper Combo / Zgemma H7C

Re: low power in-house card server hardware #19 WanWizard

  • Forum Moderator
    PLi® Core member
  • 45,221 posts

+730
Excellent

Posted 7 January 2019 - 22:35

Sorry, maybe I wasn't clear. My response times aren't high, they are fine. Only occasionally (say once every half hour or so), the response time goes to 1500-4000ms for one or two requests, after that it is back to normal.

 

Still fast enough for my SECA cards, but to slow for my NDS card.

 

I'm pretty sure it is because of something specific to the NAS, but I can't pinpoint the problem yet. And even if I could, I would probably not be able to avoid it, hence my remark that eventually I will have to consider a Pi or something anyway...


Currently in use: VU+Duo 4K (2xFBC S2), VU+Zero, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: low power in-house card server hardware #20 HPPli

  • Senior Member
  • 1,290 posts

+26
Good

Posted 7 January 2019 - 23:27

Did you have any low-powered devices such as RaspberyPi, BananaPi or BeagleBoneBlack ?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users