Results 1 to 16 of 16

Thread: smargo + oscam + linux

  1. #1
    Junior Member ferni's Avatar
    Join Date
    Jun 2010
    Posts
    97
    Thanks
    38
    Thanked 30 Times in 17 Posts
    Rep Power
    175
    Reputation
    170

    Default smargo + oscam + linux

    I recently setup my orange Fox card in a smargo card reader with oscam as a card server. I've got acamd as the client running on windows (under TVSource/7MC) with a TBS DVB-S2 Dual tuner. All working ok, just trying to get better channel change times, and the occasional 'service is scrambled' message. Currently around 3-4 second channel change times and i think i can do better.

    I've got the Smargo installed in windows, pass through as a com port to my VirtualBox Ubuntu Server, which is where oscam is running addressing it as a phoenix (com port). Changing the mhz doesn't seem to have much impact. I'm getting around 330ms ECM response times.

    I did try passing the USB device through, and using the smartreader protocol with oscam, but this gave me around 600-700ms ECM times...

    Any advice appreciated.
    PS, reason i'm using OSCam is i believe its the only one that will update the card with EMM updates, am i wrong?



Look Here ->
  • #2
    Senior Member Adobe's Avatar
    Join Date
    Jan 2008
    Posts
    693
    Thanks
    86
    Thanked 107 Times in 63 Posts
    Rep Power
    233
    Reputation
    577

    Default

    why not put the smartgo USB reader on the linux box?

    Adobe

  • #3
    Junior Member ferni's Avatar
    Join Date
    Jun 2010
    Posts
    97
    Thanks
    38
    Thanked 30 Times in 17 Posts
    Rep Power
    175
    Reputation
    170

    Default

    Quote Originally Posted by Adobe View Post
    why not put the smartgo USB reader on the linux box?

    Adobe
    There is no physical linux box, just a linux VM. I did try passing the smargo through to the VM as USB, and use the smartreader protocol, but it gave me 600-700ms ECM times.

  • #4
    Junior Member ferni's Avatar
    Join Date
    Jun 2010
    Posts
    97
    Thanks
    38
    Thanked 30 Times in 17 Posts
    Rep Power
    175
    Reputation
    170

    Default

    Also, for what it's worth, i tried NewCS (phoenix mode) in the same linux VM and it gave me the same times (330ms).

    This probably means its not the software, but something else.

  • #5
    Senior Member Adobe's Avatar
    Join Date
    Jan 2008
    Posts
    693
    Thanks
    86
    Thanked 107 Times in 63 Posts
    Rep Power
    233
    Reputation
    577

    Default

    Well VMware will slow things down.

  • #6
    Junior Member ferni's Avatar
    Join Date
    Jun 2010
    Posts
    97
    Thanks
    38
    Thanked 30 Times in 17 Posts
    Rep Power
    175
    Reputation
    170

    Default

    I wouldn't of expected it to have that much impact, few ms maybe, but fair point, i'll try the same setup on a native machine and see if i get any better times.

    Thanks, Any other ideas anyone?

  • #7
    Junior Member ferni's Avatar
    Join Date
    Jun 2010
    Posts
    97
    Thanks
    38
    Thanked 30 Times in 17 Posts
    Rep Power
    175
    Reputation
    170

    Default

    Ok I did some testing with my smargo in oscam in a native linux install rather than VM and there are differences in the ECM responses.

    VM COM PORT ~340ms (smargo auto mode)
    VM USB PORT ~650ms (smargo auto mode)
    Native COM PORT ~320ms (smargo fixed 6mhz)
    Native USB PORT ~230ms (smargo fixed 6mhz)
    VM COM PORT ~280ms (smargo fixed 6mhz)

    I'm using Virtualbox on windows 7 (my htpc) for the virtualization, results may be different with vmware but i cbf installing and testing it.

    Even thought the OSCam documentation says mhz isn't used for smargo (smartreader) I did notice a difference in Native USB mode when changing the mhz line. THe smargo is fixed at 6mhz, but without a mhz= line i was getting around 270ms, but with a mhz=600 line i was getting the 230ms. However with the native com port, i got 320ms regardless of the mhz line.

    Changing the fixed mhz mode with smargo tools (srp_tools_x86 -x ) did make a difference, in the Native COM PORT mode with fixed set to 3.69 i got ~400ms responses. which is actually higher than VM COM port.

    So conclusion is that a physical machine may give you better responses and if you have a smargo, set it to fixed mhz mode to overclock the card. 6mhz is safe for the orange card, i've heard higher for the blue.

  • #8
    Junior Member STI02's Avatar
    Join Date
    Jan 2008
    Location
    Oz
    Posts
    180
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Rep Power
    205
    Reputation
    10

    Default

    Hi ferni
    I have a very similar setup to yours except its a bluey.
    i am using VMWare Player + Debian 5 + Oscam (webif) compiled
    Can you please post your oscam.server file? also how to get the srp_tools onto the machine?
    p.s. what firmware is on your smargo?

    Many Thanks
    Last edited by STI02; 07-08-10 at 03:00 PM.
    The quieter you become, the more you are able to hear

  • #9
    Junior Member ferni's Avatar
    Join Date
    Jun 2010
    Posts
    97
    Thanks
    38
    Thanked 30 Times in 17 Posts
    Rep Power
    175
    Reputation
    170

    Default

    I've moved my setup to an old laptop running ubuntu and the smargo via USB with the SmartReader Protocol.

    I'm running the firmware that came with the smargo 1.03, as i read people had trouble with 1.04 so didn't risk it.

    Just FTP the srp_tools to your linux box.

    Here is an oscam.server that should work if you are passing it through as a serial com1 (you don't need boxid since you have blue, and you need to put the blue CAID in there, not sure what it is.

    [reader]
    label=Foxtel
    protocol=mouse
    detect=CD
    group=1
    emmcache=1,1,2
    device=/dev/ttyS0
    caid=096C
    #boxid=XXXXXXXX

    If you are passing through the usb port then you will need to use something like this
    (run lsusb to get the device id of your smargo and update device= as appropriate)

    [reader]
    label=Foxtel
    protocol=SmartReader
    detect=CD
    group=1
    emmcache=1,1,2
    device=003:002
    caid=096C

  • The Following User Says Thank You to ferni For This Useful Post:

    STI02 (08-08-10)

  • #10
    Senior Member Vic's Avatar
    Join Date
    Jan 2008
    Posts
    914
    Thanks
    68
    Thanked 267 Times in 154 Posts
    Rep Power
    255
    Reputation
    1304

    Default

    Quote Originally Posted by STI02 View Post
    Hi ferni
    I have a very similar setup to yours except its a bluey.
    i am using VMWare Player + Debian 5 + Oscam (webif) compiled
    Can you please post your oscam.server file? also how to get the srp_tools onto the machine?
    p.s. what firmware is on your smargo?

    Many Thanks
    caid =090b for a blue card

  • The Following User Says Thank You to Vic For This Useful Post:

    STI02 (08-08-10)

  • #11
    Junior Member STI02's Avatar
    Join Date
    Jan 2008
    Location
    Oz
    Posts
    180
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Rep Power
    205
    Reputation
    10

    Default

    Thanks mate for the reply.

    in the srp_tools did you specify the frequency you want to ran it at?
    You are no longer using a VM setup?

    Quote Originally Posted by ferni View Post
    I've moved my setup to an old laptop running ubuntu and the smargo via USB with the SmartReader Protocol.

    I'm running the firmware that came with the smargo 1.03, as i read people had trouble with 1.04 so didn't risk it.

    Just FTP the srp_tools to your linux box.

    Here is an oscam.server that should work if you are passing it through as a serial com1 (you don't need boxid since you have blue, and you need to put the blue CAID in there, not sure what it is.

    [reader]
    label=Foxtel
    protocol=mouse
    detect=CD
    group=1
    emmcache=1,1,2
    device=/dev/ttyS0
    caid=096C
    #boxid=XXXXXXXX

    If you are passing through the usb port then you will need to use something like this
    (run lsusb to get the device id of your smargo and update device= as appropriate)

    [reader]
    label=Foxtel
    protocol=SmartReader
    detect=CD
    group=1
    emmcache=1,1,2
    device=003:002
    caid=096C
    Last edited by STI02; 08-08-10 at 11:15 PM.
    The quieter you become, the more you are able to hear

  • #12
    Junior Member STI02's Avatar
    Join Date
    Jan 2008
    Location
    Oz
    Posts
    180
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Rep Power
    205
    Reputation
    10

    Default

    Thanks Vic

    Quote Originally Posted by Vic View Post
    caid =090b for a blue card
    The quieter you become, the more you are able to hear

  • #13
    Junior Member ferni's Avatar
    Join Date
    Jun 2010
    Posts
    97
    Thanks
    38
    Thanked 30 Times in 17 Posts
    Rep Power
    175
    Reputation
    170

    Default

    Quote Originally Posted by STI02 View Post
    Thanks mate for the reply.

    in the srp_tools did you specify the frequency you want to ran it at?
    You are no longer using a VM setup?
    I run mine at fixed 6mhz.

    Nope i moved it to a dedicated box, mainly because it means when i'm playing with the media centre and reboot my it (hosting the VM) my other box in the house couldn't access the VM.

  • #14
    Junior Member STI02's Avatar
    Join Date
    Jan 2008
    Location
    Oz
    Posts
    180
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Rep Power
    205
    Reputation
    10

    Default

    Hey ferni

    Just a clarification do you run the card at 6 mhz also or just the reader?

    The reason I ask is because I am able to run the reader at 6 mhz no problems but the card seem to only run at 3.57 mhz.

    Does this sound right or am I missing something?

    p.s. Had to use the phoenix reader as I upgraded the smargo to 1.04 by accident while exploring the software it came with.
    As a result couldn't get it to initialize the card.

    Quote Originally Posted by ferni View Post
    I run mine at fixed 6mhz.

    Nope i moved it to a dedicated box, mainly because it means when i'm playing with the media centre and reboot my it (hosting the VM) my other box in the house couldn't access the VM.
    Last edited by STI02; 11-08-10 at 02:51 PM.
    The quieter you become, the more you are able to hear

  • #15
    Junior Member ferni's Avatar
    Join Date
    Jun 2010
    Posts
    97
    Thanks
    38
    Thanked 30 Times in 17 Posts
    Rep Power
    175
    Reputation
    170

    Default

    Since i use the smargo, i used the srp_tools to set it to fixed 6mhz mode. i don't use oscam cardmhz or mhz params as i found they did nothing with the smargo.

    With a pheonix, these oscam modes should come into play... think you only need the mhz=600 line. Give it a go, the decrease in ecm should be easy to spot if its working

  • #16
    Junior Member STI02's Avatar
    Join Date
    Jan 2008
    Location
    Oz
    Posts
    180
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Rep Power
    205
    Reputation
    10

    Default

    it sure is ecm time is down to 250 ms from 470 ms and that in VM
    I am happy with that for now
    Thanks for your input mate

    Quote Originally Posted by ferni View Post
    Since i use the smargo, i used the srp_tools to set it to fixed 6mhz mode. i don't use oscam cardmhz or mhz params as i found they did nothing with the smargo.

    With a pheonix, these oscam modes should come into play... think you only need the mhz=600 line. Give it a go, the decrease in ecm should be easy to spot if its working
    The quieter you become, the more you are able to hear

  • Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •