Results 1 to 15 of 15

Thread: Ubuntu Oscam - Smargo Help Needed

  1. #1
    Premium Member
    Join Date
    Jan 2008
    Posts
    1,558
    Thanks
    65
    Thanked 84 Times in 64 Posts
    Rep Power
    270
    Reputation
    1032

    Default Ubuntu Oscam - Smargo Help Needed

    Is anyone here able to help me with getting a smargo going on a Ubuntu Oscam server

    It is an original smargo and it does work as I can use it with windows no problem.
    I have tried many different combinations and for the moment I have given up.

    Below is some config info from oscam and "lsusb" of which I am sure is valid - problem is I can not isolate where my problem is - first thing is I suppose is to find out if the the oscam.server file has correct data in it.

    BTW thankyou to those members here that have sent me pms previously. As can be seen I am still struggling.

    Info is as per below:


    Scan USB via Reader (oscam webif)
    ----------------
    Bus 005 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
    iProduct 0
    iSerial 3
    ----------------



    info via command line
    ----------
    pain@ubuntu:~$ lsusb
    Bus 005 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



    extract from oscam.server file
    ------------------
    [reader]
    label = test
    enable = 1
    protocol = smartreader
    device = Serial:Reader 003
    services =
    caid = XXXX
    boxkey =
    detect = none
    mhz = 686
    cardmhz = 357
    ident =
    group = 2
    blockemm-unknown = 1
    blockemm-g = 1
    lb_weight = 100



Look Here ->
  • #2
    Senior Member gado's Avatar
    Join Date
    Jan 2008
    Posts
    880
    Thanks
    21
    Thanked 96 Times in 73 Posts
    Rep Power
    235
    Reputation
    356

    Default

    You can use dmesg to see if the reader is connecting in linux properly. If you are running
    the oscam binary to can use the scan usb function in oscam and get the usb port and de vice id from that. Look for something labelled future. Once you get the id you reader setup should look something like this.

    [reader]
    label = tajtv
    enable = 1
    protocol = smartreader
    device = 001:008
    services =
    caid = 0604
    detect = cd
    mhz = 600
    cardmhz = 600
    ident =
    group = 4
    emmcache = 1,3,2
    blockemm-g = 1
    lb_weight = 100
    DM500s Black with rear on/off switch $99 inc post , DM800 sim 82 $250 inc post, DM800SE $310 inc

  • #3
    Senior Member Kavakid's Avatar
    Join Date
    Jan 2008
    Posts
    655
    Thanks
    102
    Thanked 105 Times in 73 Posts
    Rep Power
    232
    Reputation
    602

    Default

    From your oscam webif, this is the smargo,

    Bus 005 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

    So your device line should be,

    device = 005:003

  • #4
    Premium Member
    Join Date
    Jan 2008
    Posts
    1,558
    Thanks
    65
    Thanked 84 Times in 64 Posts
    Rep Power
    270
    Reputation
    1032

    Default

    Thanks - I am still not getting far with this

    Using the oscam.server config as below with mods as noted the status logs come up also as below.

    Oscam.server
    [reader]
    label = card1
    enable = 1
    protocol = smartreader
    device = 005:003
    services =
    caid = 0604
    tk0 =
    tk1 =
    boxkey =
    detect = cd
    mhz = 600
    cardmhz = 600
    ident =
    group = 1
    emmcache = 1,3,2
    blockemm-g = 1
    lb_weight = 100

    Oscam webif status logs:
    [reader]
    2011/06/18 13:48:36 B772B6C0 s auth size=4788
    2011/06/18 13:48:36 B772B6C0 s Cannot open file "/usr/local/etc/oscam.services" (errno=2)
    2011/06/18 13:48:36 B772B6C0 s userdb reloaded: 0 accounts freed, 22 accounts loaded, 0 expired, 0 disabled
    2011/06/18 13:48:36 B772B6C0 s signal handling initialized (type=sysv)
    2011/06/18 13:48:36 B772B6C0 s 448 service-id's loaded
    2011/06/18 13:48:36 B772B6C0 s can't open file "/usr/local/etc/oscam.tiers" (err=2), no tier-id's loaded
    2011/06/18 13:48:36 B772B6C0 s can't open file "/usr/local/etc/oscam.provid" (err=2), no provids's loaded
    2011/06/18 13:48:36 B772B6C0 s can't open file "/usr/local/etc/oscam.ird" (errno=2) irdeto guessing not loaded
    2011/06/18 13:48:36 B772B6C0 s monitor: disabled
    2011/06/18 13:48:36 B772B6C0 s camd33: disabled
    2011/06/18 13:48:36 B772B6C0 s camd35: disabled
    2011/06/18 13:48:36 B772B6C0 s cs378x: disabled
    2011/06/18 13:48:36 B772B6C0 s newcamd: initialized (fd=6, port=15001, crypted)
    2011/06/18 13:48:36 B772B6C0 s CAID: 0604
    2011/06/18 13:48:36 B772B6C0 s cccam: disabled
    2011/06/18 13:48:36 B772B6C0 s radegast: disabled
    2011/06/18 13:48:36 B772B6C0 s http thread started
    2011/06/18 13:48:36 B772B6C0 s creating thread for device 005:003 slot 0
    2011/06/18 13:48:36 B772B6C0 s waiting for local card init
    2011/06/18 13:48:36 B76F7B70 r reader thread started (thread=B76F7B70, label=card1, device=005:003, detect=cd, mhz=600, cardmhz=600)
    2011/06/18 13:48:36 B76F7B70 r Using 0x82 as endpoint for smartreader hardware detection
    2011/06/18 13:48:36 B76F7B70 r Found smartreader device 005:003
    2011/06/18 13:48:36 B773A280 h HTTP Server listening on port 8080
    2011/06/18 13:48:36 B76F7B70 r card1 card detected
    2011/06/18 13:48:42 B76F7B70 r Error activating card.
    2011/06/18 13:48:48 B76F7B70 r Error activating card.

    It seems this may be close ... these last messages "error activating card" I would think is pointing to something wrong set somewhere

    Any thoughts on how to fix?

  • #5
    Senior Member Kavakid's Avatar
    Join Date
    Jan 2008
    Posts
    655
    Thanks
    102
    Thanked 105 Times in 73 Posts
    Rep Power
    232
    Reputation
    602

    Default

    try ident = 0604:000000

    and the tk0, tk1 must be correct length
    Last edited by Kavakid; 18-06-11 at 03:09 PM.

  • #6
    Premium Member
    Join Date
    Jan 2008
    Posts
    1,558
    Thanks
    65
    Thanked 84 Times in 64 Posts
    Rep Power
    270
    Reputation
    1032

    Default

    Quote Originally Posted by Kavakid View Post
    try ident = 0604:000000

    and the tk0, tk1 must be correct length
    Added and checked these... still no go

  • #7
    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

    have you got the card around the right way?

  • #8
    Premium Member
    Join Date
    Jan 2008
    Posts
    1,558
    Thanks
    65
    Thanked 84 Times in 64 Posts
    Rep Power
    270
    Reputation
    1032

    Default

    Quote Originally Posted by Adobe View Post
    have you got the card around the right way?
    Yep - I have checked this - contacts face the thicker side of the smargo

    I have tried both ways anyway.

  • #9
    Member
    Join Date
    Jan 2008
    Location
    Gallifrey
    Posts
    375
    Thanks
    69
    Thanked 84 Times in 59 Posts
    Rep Power
    0
    Reputation
    461

    Default

    Quote Originally Posted by checkitout View Post
    Yep - I have checked this - contacts face the thicker side of the smargo

    I have tried both ways anyway.
    Is it a working card, details have not died?

    Are all your config data in usr/local/etc chmod 644? (you should have 6 files there)

    emmcashe i would set as 1,1,2.

    other than that the config posted looks good.

    cheers
    hannible
    Last edited by Hannible; 18-06-11 at 06:20 PM.

  • #10
    Premium Member
    Join Date
    Jan 2008
    Posts
    1,558
    Thanks
    65
    Thanked 84 Times in 64 Posts
    Rep Power
    270
    Reputation
    1032

    Default

    Quote Originally Posted by Hannible View Post
    Is it a working card, details have not died?

    Are all your config data in usr/local/etc chmod 644? (you should have 6 files there)

    emmcashe i would set as 1,1,2.

    other than that the config posted looks good.

    cheers
    hannible
    Thanks -
    Card is good as I am using a serial port with no probs in the meantime.
    Config data in that file path is also correct. I will double check the 6 files chmod etc anyway.

    On another point I may grab a DM800 and see if I can get the Smargo working off that.
    At least that way if I have success on that I may be able to isolate this problem to a Ubuntu item rather than something with Oscam

  • #11
    Premium Member
    Join Date
    Jan 2008
    Posts
    1,558
    Thanks
    65
    Thanked 84 Times in 64 Posts
    Rep Power
    270
    Reputation
    1032

    Default

    I have not been able to get this smargo working....

    Also tried on a DM800 and I have since built 2 Linux sevrers (1 x laptop and 1 x P4)

    Is there another piece of software I can use to check that the smargo is good (I thought it was working on windows - greywolf / test read) ... what about NewCS ?

    Failing this I will send the smargo to somebody with a working setup and swap the smargo ... this should definitely prove at least that is good.

    After trying on 3 machines as well as a DM800 I am a bit pissed at the moment... time to walk away

    Typical log is as per below
    ---------
    2011/06/25 2256 B78458D0 s waiting for local card init
    2011/06/25 2256 B7855280 h HTTP Server listening on port 8080
    2011/06/25 2256 B7811B70 r reader thread started (thread=B7811B70, label=card1, device=001:008, detect=cd, mhz=600, cardmhz=600)
    2011/06/25 2256 B7811B70 r Using 0x82 as endpoint for smartreader hardware detection
    2011/06/25 2256 B7811B70 r Found smartreader device 001:008
    2011/06/25 2257 B7811B70 r card1 card detected
    2011/06/25 2202 B7811B70 r Error activating card.
    2011/06/25 2209 B7811B70 r Error activating card.
    2011/06/25 2215 B7811B70 r Error activating card.
    --------

    If someone has any suggestions it will be much appreciated

  • #12
    Senior Member cro69's Avatar
    Join Date
    Feb 2010
    Location
    melb(vic)
    Posts
    903
    Thanks
    135
    Thanked 105 Times in 79 Posts
    Rep Power
    217
    Reputation
    650

    Default

    your smargo's faulty that's exactly what was happening to me!! i changed my smargo and all is good now!!!
    Self declared soccer nut

    http://img1.jurko.net/avatar_2045.jpg

  • #13
    Premium Member
    Join Date
    Jan 2008
    Posts
    1,558
    Thanks
    65
    Thanked 84 Times in 64 Posts
    Rep Power
    270
    Reputation
    1032

    Default

    Quote Originally Posted by cro69 View Post
    your smargo's faulty that's exactly what was happening to me!! i changed my smargo and all is good now!!!
    Thanks - I think you may be right.

    Also with Newcs... I can get newcs to see that there is a card present but it will not read details from the card... this also points to the smartreader as a problem

  • #14
    Premium Member
    Join Date
    Jan 2008
    Posts
    1,558
    Thanks
    65
    Thanked 84 Times in 64 Posts
    Rep Power
    270
    Reputation
    1032

    Default

    All sorted now.

    Upgraded the smargo to version 1.4 and it is working fine now.

    Thanks to all those here that posted as well as those that pmed me with that more detailed help.

  • #15
    Junior Member
    Join Date
    Oct 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default

    what is the best server version oscam unbutu 10.04.1 lts
    pentium3 1000 mhz

  • 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
    •