help needed here to get oscam to read the card

There are 10 replies in this Thread which was already clicked 7,087 times. The last Post () by efourc.

  • 2011/05/03 20:31:40 B74EBB70 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2011/05/03 20:31:40 B74EBB70 r recompile with SmartReader support.
    2011/05/03 20:31:40 B74EBB70 r Cannot open device: 002:004
    2011/05/03 20:31:55 B74BEB70 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2011/05/03 20:31:55 B74BEB70 r recompile with SmartReader support.
    2011/05/03 20:31:55 B74BEB70 r Cannot open device: 004:002 ------ you will have to change this.goto part 11.
    2011/05/03 20:32:18 0 exit with signal 15
    2011/05/03 20:32:18 B74EBB70 r exit with signal 15
    2011/05/03 20:32:18 B74EBB70 r thread B74EBB70 ended!
    2011/05/03 20:32:18 B74EBB70 r ERROR ICC_Async_Close: unknow reader type 7


    Here is my oscam.server log
    [reader]
    label = ***uk
    protocol = smartreader
    detect = cd
    device = 002:004
    emmcache = 1,3,2
    caid = 0963
    boxid = xx xx xx xx
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    mhz = 600
    cardmhz = 600
    ident = 0963:000000
    group = 1


    I have a smartreader usb card reader and its coming in on the 002:004 ...
    Am new at this and it cracking me up..
    Have it running on a Ubuntu server
    Any help would be brill

  • hi
    DId as you said and many thanks
    Restarted the oscam and here is some of the errors i am getting...
    I am using Ubuntu 10.4
    Some learning curve this.. Thanks a million for the previous bit of help



    2011/05/03 22:22:31 B75E56C0 s newcamd: Bind request failed, waiting another 9 seconds
    2011/05/03 22:22:32 B75E56C0 s newcamd: Bind request failed, waiting another 8 seconds
    2011/05/03 22:22:33 B75E56C0 s newcamd: Bind request failed, waiting another 7 seconds
    2011/05/03 22:22:34 B75E56C0 s newcamd: Bind request failed, waiting another 6 seconds
    2011/05/03 22:22:35 B75E56C0 s newcamd: Bind request failed, waiting another 5 seconds
    2011/05/03 22:22:36 B75E56C0 s newcamd: Bind request failed, waiting another 4 seconds
    2011/05/03 22:22:37 B75E56C0 s newcamd: Bind request failed, waiting another 3 seconds
    2011/05/03 22:22:38 B73EEB70 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2011/05/03 22:22:38 B73EEB70 r recompile with SmartReader support.
    2011/05/03 22:22:38 B73EEB70 r Cannot open device: 002:005
    2011/05/03 22:22:38 B75E56C0 s newcamd: Bind request failed, waiting another 2 seconds
    2011/05/03 22:22:39 B75E56C0 s newcamd: Bind request failed, waiting another 1 seconds
    2011/05/03 22:22:40 B75E56C0 s newcamd: Bind request failed, giving up
    2011/05/03 22:22:40 B75E56C0 s radegast: disabled
    2011/05/03 22:22:40 B75E56C0 s http thread started
    2011/05/03 22:22:40 B75E56C0 s creating thread for device 002:005
    2011/05/03 22:22:40 B75E4280 h HTTP Server couldn't bind on port 8888 (errno=98 Address already in use). Not starting HTTP!
    2011/05/03 22:22:40 B75E56C0 s loadbalancer: can't read from file /tmp/.oscam/stat
    2011/05/03 22:22:40 B75E56C0 s waiting for local card init
    2011/05/03 22:22:40 B75C9B70 r reader thread started (thread=B75C9B70, label=***uk, device=002:005, detect=cd, mhz=600, cardmhz=600)
    2011/05/03 22:22:40 B75C9B70 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2011/05/03 22:22:40 B75C9B70 r recompile with SmartReader support.
    2011/05/03 22:22:40 B75C9B70 r Cannot open device: 002:005
    2011/05/03 22:23:38 B73EEB70 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2011/05/03 22:23:38 B73EEB70 r recompile with SmartReader support.
    2011/05/03 22:23:38 B73EEB70 r Cannot open device: 002:005
    2011/05/03 22:23:40 B75C9B70 r ERROR, you have specified 'protocol = smartreader' in oscam.server,

  • You won't be able to use protocol smartreader unless you install smartreader support and then recompile oscam. As ten said, use protocol = mouse. Also there shouldn't be any spaces when entering the box id. And change device from 001:004 to dev/ttyUSB0

  • if its still not running check 100% that smart reader is on ttyusb0 by issuing command as root > dmesg . That will list usb devices with associated ports


    regards


    new2

    Dont forget to hit the thanks button!!!!!!!!!!!!!



    :41_002:



    Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, your use of the content, downloads and files, or any part thereof, is made solely at your own risk and responsibility. Viewing Pay TV without a valid subscription is illegal. !! Linuxsat-Support.com cannot be held responsible for the content of any information stored or posted on this forum.

  • i have done all that now ... Checked it all out and restarted the oscam... No errors thank god...Checked the log.. More reading to be done... Thanks a million. Great help

  • glad you got it sorted


    regards


    new2

    Dont forget to hit the thanks button!!!!!!!!!!!!!



    :41_002:



    Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, your use of the content, downloads and files, or any part thereof, is made solely at your own risk and responsibility. Viewing Pay TV without a valid subscription is illegal. !! Linuxsat-Support.com cannot be held responsible for the content of any information stored or posted on this forum.

  • do you know much about the cccam.cfg setup.. I put in the N line for it to connect into the oscam.server file with the port 15000 open in each...
    I then put in the F line for me to connect my dreambox 500 and changed the file C line to see the F line on the server....
    Do i need to fill in anymore stuff... Just picked this cccam.cfg file off the web as an example...


    I know this is a example for a dreambox and if you could point me in the right direction it would be brill


    SERVER LISTEN PORT : 12000
    WEBINFO USERNAME : root
    WEBINFO PASSWORD : dreambox
    TELNETINFO USERNAME : root
    TELNETINFO PASSWORD : dreambox
    TELNETINFO LISTEN PORT : 16000
    WEBINFO LISTEN PORT : 16001
    ZAP OSD TIME : 3
    OSD USERNAME : root
    OSD PASSWORD : dreambox
    OSD PORT : 80
    SHOW TIMING : yes
    MINI OSD : yes
    DEBUG : yes
    NEWCAMD CONF : yes
    #DISABLE EMM : yes
    #EXTRA EMM LEVEL : yes
    #SOFTKEY FILE : /var/keys/SoftCam.Key
    #AUTOROLL FILE : /var/keys/AutoRoll.Key
    #STATIC CW FILE : /var/keys/constant.cw
    #CAID PRIO FILE : /var/etc/CCcam.prio
    PROVIDERINFO FILE : /var/etc/CCcam.providers
    CHANNELINFO FILE : /var/etc/CCcam.channelinfo
    MINIMUM CLIENT VERSION : 1.7.0
    MINIMUM DOWNHOPS: 1


    Is this correct as i am just a beginner


    root@ubuntu:~# tail -f /var/log/oscam.log
    2011/05/04 14:57:27 B73FF6C0 s newcamd: initialized (fd=8, port=150000, crypted)
    2011/05/04 14:57:27 B73FF6C0 s CAID: 096C
    2011/05/04 14:57:27 B73FF6C0 s provid #0: 000000
    2011/05/04 14:57:27 B73FF6C0 s radegast: disabled
    2011/05/04 14:57:27 B73FF6C0 s http thread started
    2011/05/04 14:57:27 B73FF6C0 s creating thread for device /dev/ttyUSB0
    2011/05/04 14:57:27 B73FE280 h HTTP Server listening on port 8888
    2011/05/04 14:57:27 B73FF6C0 s loadbalancer: can't read from file /tmp/.oscam/stat
    2011/05/04 14:57:27 B73FF6C0 s waiting for local card init
    2011/05/04 14:57:27 B73E3B70 r reader thread started (thread=B73E3B70, label=slyuk, device=/dev/ttyUSB0, detect=cd, mhz=600, cardmhz=600)
    2011/05/04 14:57:31 B73FF6C0 s init for all local cards done
    2011/05/04 14:57:31 B73FF6C0 s anti cascading disabled


    Thanks


  • in red what you should change and the serve should be a CCcam config F line the other box is C line

    voyger.: A Person with no imagination his a person with no wing."

    voyger.:"never make a arguement with an idiot. It will drags you to its own level,and then he will strikes you with His experience."

  • hi again
    This is driving me mental


    here is my oscam file
    2011/05/04 19:51:33 B75256C0 s newcamd: Bind request failed, waiting another 3 seconds
    2011/05/04 19:51:34 B75256C0 s newcamd: Bind request failed, waiting another 2 seconds
    2011/05/04 19:51:35 B6CFC280 c client connected to 10000 port
    2011/05/04 19:51:35 B75256C0 s newcamd: Bind request failed, waiting another 1 seconds
    2011/05/04 19:51:35 B6CFC280 c user test1 is trying to connect but doesnt exist ! (CCcam)
    2011/05/04 19:51:35 B6CFC280 c plain newcamd-client 127.0.0.1 rejected (no such user)
    2011/05/04 19:51:35 B6CFC280 c thread B6CFC280 ended!
    2011/05/04 19:51:36 B75256C0 s newcamd: Bind request failed, giving up
    2011/05/04 19:51:36 B75256C0 s radegast: disabled
    2011/05/04 19:51:36 B75256C0 s http thread started
    2011/05/04 19:51:36 B75256C0 s creating thread for device /dev/ttyUSB0
    2011/05/04 19:51:36 B7524280 h HTTP Server couldn't bind on port 8888 (errno=98 Address already in use). Not starting HTTP!
    2011/05/04 19:51:36 B75256C0 s loadbalancer: can't read from file /tmp/.oscam/stat
    2011/05/04 19:51:36 B75256C0 s waiting for local card init
    2011/05/04 19:51:36 B73FFB70 r reader thread started (thread=B73FFB70, label=***uk, device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
    2011/05/04 19:51:38 B6CFC280 c client connected to 10000 port
    2011/05/04 19:51:39 B75256C0 s init for all local cards done
    2011/05/04 19:51:39 B75256C0 s anti cascading disabled
    2011/05/04 19:51:43 B6CFC280 c Connection closed to client
    2011/05/04 19:51:43 B6CFC280 c thread B6CFC280 ended!
    2011/05/04 19:51:45 B6CFC280 c client connected to 10000 port
    2011/05/04 19:51:45 B6CFC280 c user test1 is trying to connect but doesnt exist ! (CCcam)
    2011/05/04 19:51:45 B6CFC280 c plain newcamd-client 127.0.0.1 rejected (no such user)
    2011/05/04 19:51:45 B6CFC280 c thread B6CFC280 ended!
    2011/05/04 19:51:53 B6CFC280 c client connected to 10000 port
    2011/05/04 19:51:56 B7511280 c client connected to 10000 port
    2011/05/04 19:51:56 B7511280 c user test1 is trying to connect but doesnt exist ! (CCcam)
    2011/05/04 19:51:56 B7511280 c plain newcamd-client 127.0.0.1 rejected (no such user)
    2011/05/04 19:51:56 B7511280 c thread B7511280 ended!
    2011/05/04 19:51:58 B6CFC280 c Connection closed to client
    2011/05/04 19:51:58 B6CFC280 c thread B6CFC280 ended!
    2011/05/04 19:52:06 B6CFC280 c client connected to 10000 port
    2011/05/04 19:52:06 B6CFC280 c user test1 is trying to connect but doesnt exist ! (CCcam)
    2011/05/04 19:52:06 B6CFC280 c plain newcamd-client 127.0.0.1 rejected (no such user)
    2011/05/04 19:52:06 B6CFC280 c thread B6CFC280 ended!


    What am i doing wrong... I think all the ports are set right


    Here is my CCcam.cfg file


    N: 127.0.0.1 10000 test1 test2 01 02 03 04 05 06 07 08 09 10 11 12 13 14


    f: password password



    SERIAL READER : /dev/ttyUSB0 smartreader+
    BOXKEY: /dev/ttyUSB0 xxxxxxxx
    SMARTCARD CLOCK FREQUENCY: /dev/ttyUSB0 6000000


    SERVER LISTEN PORT : 10000


    Here is my oscam.conf


    [global]


    nice = -1


    WaitForCards = 1


    pidfile = /var/run/oscam.pid


    logfile = /var/log/oscam.log


    usrfile = /var/log/oscamuser.log


    cwlogdir = /var/log/cw


    maxlogsize = 10000




    [newcamd]


    port = 10000@096C:000000


    key = 0102030405060708091011121314



    [webif]


    httpport = 8888


    httpuser = user


    httppwd = pass


    httprefresh = 0


    httpallowed = 127.0.0.1,192.168.1.1-192.168.1.254


    httphideidleclients = 0


    httpreadonly = 0



    Here is my oscam.server file


    [reader]
    label = ***uk
    protocol = mouse
    detect = cd
    device = /dev/ttyUSB0
    emmcache = 1,3,2
    caid = 0963
    boxid = xxxxxxxx all have been kept together
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    mhz = 357
    cardmhz = 357
    ident = 0963:000000
    group = 1


    And finally my oscam.user file


    user = test1
    pwd = test2
    monlevel = 0
    uniq = 0
    group = 1,2
    au = s*yuk
    caid = 0963


    user = password
    pwd = password
    monlevel = 0
    uniq = 0
    group = 1,2
    au = s*yuk
    caid - 0963


    On my dreambox inside at home i have put


    C: my ip 10000 password password


    Everything i try is taking me under...


    I am using a Ubuntu Server and never touched Linux in my life up until a week ago... Massive setup.. But this is really cracking me up
    Any help would be really helpfull

CCcam Support Forum

Configs, discussion, downloads and guides for CCcam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!