Oscam under windows server 2012

There are 4 replies in this Thread which was already clicked 1,882 times. The last Post () by shag91.

  • Hi,


    I have for a few years been running oscam on a dm500s successfully with a pc using newcamd querying the card and decodind fine.


    Now i wish to compact it down a bit and have purchased a tbs3102 card reader.
    I have installed oscam 1.2 #9061 on my pc and it is running.


    Now when i migrate the script over from the dreambox i change to protocol from internal to mouse and change the device from scsi to ttyS2 (as the card reader is on com3)


    The tbs3102 is setup for 3.3v, smartmouse and 3.579mhz and Oscam registers the card reader but i get error messages from when i insert the card:-


    2014/12/08 17:55:02 800D57C0 r ***UK [mouse] creating thread for device /dev/ttyS2
    2014/12/08 17:55:03 800D2270 r ***UK [mouse] Reader initialized (device=/dev/ttyS2, detect=cd, mhz=500, cardmhz=357)
    2014/12/08 17:55:03 800D2270 r ***UK [mouse] card detected
    2014/12/08 17:55:04 800D2270 r ***UK [mouse] ATR: 3F FD 13 25 02 50 00 0F 33 B0 0F 69 FF 4A 50 D0 00 00 53 59 02
    2014/12/08 17:55:04 800D2270 r ***UK [mouse] Init card protocol T0, FI=1, F=372, D=4, N=2
    2014/12/08 17:55:04 800D2270 r ***UK [mouse] Setting baudrate to 38400 bps
    2014/12/08 17:55:04 800D2270 r ***UK [mouse] Calculated work ETU is 18.60 us reader mhz = 500
    2014/12/08 17:55:04 800D2270 r ***UK [mouse] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 5.00 MHz (specified in reader->mhz)
    2014/12/08 17:55:05 800D2270 r ***UK [mouse] card system not supported
    2014/12/08 17:55:05 800D2270 r ***UK [mouse] Normal mode failed, reverting to Deprecated Mode
    2014/12/08 17:55:07 800D2270 r ***UK [mouse] ATR: 3F FD 13 25 02 50 00 0F 33 B0 0F 69 FF 4A 50 D0 00 00 53 59 02
    2014/12/08 17:55:07 800D2270 r ***UK [mouse] Init card protocol T0, FI=1, F=372, D=4, N=2
    2014/12/08 17:55:07 800D2270 r ***UK [mouse] Calculated work ETU is 74.40 us reader mhz = 500
    2014/12/08 17:55:07 800D2270 r ***UK [mouse] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 5.00 MHz (specified in reader->mhz)
    2014/12/08 17:55:10 800D2270 r ***UK [mouse] card system not supported
    2014/12/08 17:55:10 800D2270 r ***UK [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
    2014/12/08 17:55:10 800D2270 r ***UK [mouse] card initializing error


    The .server script is:


    [reader]
    label = ***UK
    protocol = mouse
    device = /dev/ttyS2
    ##boxid = not needed
    mhz = 358
    cardmhz = 500
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    blockemm-unknown = 1
    blockemm-g = 1
    caid = 0963


    #ecmwhitelist = 0963:B3,B4,B7,3B,3E,42,44,45,47,4B,4E,4F,50,53,54,56,5F,6A,6C,61,62,64,65,66,67,68,69,6A,6B,6C,6D,6E,6F,70,71,72,73,74,76,77,78,79,7A,7C,7D,7E,80,82,85,8B,89,9A


    I set up the cardmhz as 500 as when the card is fitted in the dm500 i get:


    2014/12/08 17:55:49 101409D0 r ***UK [internal] card detected
    2014/12/08 17:55:49 101409D0 r ***UK [internal] Card is present in readerslot!
    2014/12/08 17:55:49 101409D0 r ***UK [internal] Set reader parameters!
    2014/12/08 17:55:49 101409D0 r ***UK [internal] Sent reader setting at cardinit T=0 fs=3 ETU=372 WWT=0 CWT=0 BWT=0 EGT=0 clock=0 check=0 P=0 I=0 U=0
    2014/12/08 17:55:50 101409D0 r ***UK [internal] Reset internal cardreader!
    2014/12/08 17:55:50 101409D0 r ***UK [internal] ATR: 3F FD 13 25 02 50 00 0F 33 B0 0F 69 FF 4A 50 D0 00 00 53 59 02
    2014/12/08 17:55:50 101409D0 r ***UK [internal] Init card protocol T0, FI=1, F=372, D=4, N=2
    2014/12/08 17:55:50 101409D0 r ***UK [internal] Calculated work ETU is 18.60 us reader mhz = 500
    2014/12/08 17:55:50 101409D0 r ***UK [internal] Sent reader settings T=0 fs=5 ETU=93 WWT=57600 CWT=0 BWT=0 EGT=2 clock=0 check=0 P=5 I=50 U=0
    2014/12/08 17:55:51 101409D0 r ***UK [internal] ATR Fsmax is 5 MHz, clocking card to 5.00 (specified in reader->mhz)
    2014/12/08 17:55:52 101409D0 r ***UK [internal] Card type: SYAV
    2014/12/08 17:55:52 101409D0 r ***UK [internal] Rom version: 40LF
    2014/12/08 17:55:52 101409D0 r ***UK [internal] Credit available on card: ######
    2014/12/08 17:55:52 101409D0 r ***UK [internal] FuseByte: 25
    2014/12/08 17:55:52 101409D0 r ***UK [internal] Region Code: ####
    2014/12/08 17:55:52 101409D0 r ***UK [internal] Country Code: GBR
    2014/12/08 17:55:52 101409D0 r ***UK [internal] classD1 ins742A: failed
    2014/12/08 17:55:52 101409D0 r ***UK [internal] Pincode read: ####
    2014/12/08 17:55:52 101409D0 r ***UK [internal] PCB settings: FF FF FF 0
    2014/12/08 17:55:52 101409D0 r ***UK [internal] type: ********** B***B (0963), caid: 0963
    2014/12/08 17:55:52 101409D0 r ***UK [internal] serial: ########, BoxID: ########, baseyear: 1997
    2014/12/08 17:55:52 101409D0 r ***UK [internal] ready for requests
    2014/12/08 17:55:52 101409D0 r ***UK [internal] found card system ***********


    On the dm500s there is no cardmhz setting and i have tried that on the windows version but still get the error messages.


    Once earlier today the windows version did read the card but on the next oscam restart it went back to no access.


    Anyone out there want to bang their heads with this one as i have been tryingto resolve with limited success.


    Regards


    Shaggy

  • Okay i took the mhz settings out and tried different usb settings then set it back to S2 with the mhz removed and put the card back in - still the same result:


    2014/12/08 20:04:54 800C4048 h Reader ***UK restarted by WebIF from 127.0.0.1
    2014/12/08 20:05:42 800CAA68 r ***UK [mouse] ERROR: Opening device /dev/ttyUSB1 (errno=30 Read-only file system)
    2014/12/08 20:05:42 800CAA68 r ***UK [mouse] Cannot open device: /dev/ttyUSB1
    2014/12/08 20:06:01 800C4048 h Reader ***UK restarted by WebIF from 127.0.0.1
    2014/12/08 20:06:42 800CAA68 r ***UK [mouse] ERROR: Opening device /dev/ttyUSB2 (errno=30 Read-only file system)
    2014/12/08 20:06:42 800CAA68 r ***UK [mouse] Cannot open device: /dev/ttyUSB2
    2014/12/08 20:07:00 800C4048 h Reader ***UK restarted by WebIF from 127.0.0.1
    2014/12/08 20:07:42 800CAA68 r ***UK [mouse] ERROR: Opening device /dev/ttyUSB3 (errno=30 Read-only file system)
    2014/12/08 20:07:42 800CAA68 r ***UK [mouse] Cannot open device: /dev/ttyUSB3
    2014/12/08 20:07:58 800C4048 h Reader ***UK restarted by WebIF from 127.0.0.1
    2014/12/08 20:08:42 800CAA68 r ***UK [mouse] ERROR: Opening device /dev/ttyUSB4 (errno=30 Read-only file system)
    2014/12/08 20:08:42 800CAA68 r ***UK [mouse] Cannot open device: /dev/ttyUSB4
    2014/12/08 20:09:01 800C4048 h Reader ***UK restarted by WebIF from 127.0.0.1
    2014/12/08 20:09:42 800CAA68 r ***UK [mouse] ERROR: Opening device /dev/ttyUSB5 (errno=30 Read-only file system)
    2014/12/08 20:09:42 800CAA68 r ***UK [mouse] Cannot open device: /dev/ttyUSB5
    2014/12/08 20:10:02 800C4048 h Reader ***UK restarted by WebIF from 127.0.0.1
    2014/12/08 20:10:42 800CAA68 r ***UK [mouse] ERROR: Opening device /dev/ttyUSB6 (errno=30 Read-only file system)
    2014/12/08 20:10:42 800CAA68 r ***UK [mouse] Cannot open device: /dev/ttyUSB6
    2014/12/08 20:11:06 800C4048 h Reader ***UK restarted by WebIF from 127.0.0.1
    2014/12/08 20:11:42 800CAA68 r ***UK [mouse] ERROR: Opening device /dev/ttyUSB7 (errno=30 Read-only file system)
    2014/12/08 20:11:42 800CAA68 r ***UK [mouse] Cannot open device: /dev/ttyUSB7
    2014/12/08 20:12:01 800C4048 h Reader ***UK restarted by WebIF from 127.0.0.1
    2014/12/08 20:12:42 800CAA68 r ***UK [mouse] Reader initialized (device=/dev/ttyS2, detect=cd, mhz=357, cardmhz=357)
    2014/12/08 20:13:09 800CAA68 r ***UK [mouse] card detected
    2014/12/08 20:13:10 800CAA68 r ***UK [mouse] ATR: 3F FD 13 25 02 50 00 0F 33 B0 0F 69 FF 4A 50 D0 00 00 53 59 02
    2014/12/08 20:13:10 800CAA68 r ***UK [mouse] Init card protocol T0, FI=1, F=372, D=4, N=2
    2014/12/08 20:13:10 800CAA68 r ***UK [mouse] Setting baudrate to 38400 bps
    2014/12/08 20:13:10 800CAA68 r ***UK [mouse] Calculated work ETU is 26.05 us reader mhz = 357
    2014/12/08 20:13:10 800CAA68 r ***UK [mouse] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 3.57 MHz (specified in reader->mhz)
    2014/12/08 20:13:11 800CAA68 r ***UK [mouse] ERROR: IO_Serial_Write: Written=0 of 5 (errno=13 Permission denied)
    2014/12/08 20:13:11 0 --- Skipped 1 duplicated log lines ---
    2014/12/08 20:13:11 800CAA68 r ***UK [mouse] card system not supported
    2014/12/08 20:13:11 800CAA68 r ***UK [mouse] Normal mode failed, reverting to Deprecated Mode
    2014/12/08 20:13:13 800CAA68 r ***UK [mouse] ATR: 3F FD 13 25 02 50 00 0F 33 B0 0F 69 FF 4A 50 D0 00 00 53 59 02
    2014/12/08 20:13:13 800CAA68 r ***UK [mouse] Init card protocol T0, FI=1, F=372, D=4, N=2
    2014/12/08 20:13:13 800CAA68 r ***UK [mouse] Calculated work ETU is 104.20 us reader mhz = 357
    2014/12/08 20:13:13 800CAA68 r ***UK [mouse] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 3.57 MHz (specified in reader->mhz)
    2014/12/08 20:13:17 800CAA68 r ***UK [mouse] card system not supported
    2014/12/08 20:13:17 800CAA68 r ***UK [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
    2014/12/08 20:13:17 800CAA68 r ***UK [mouse] card initializing error


    I started at usb0 and stopped at usb 7. The card reader when it installs loads a USB Serial Converter driver and USB serial port (COM3)


    Cheers


    BTW why i have ended up with smilies in the post i dont know - i have just copied and pasted from the web log output


    - - - Updated - - -


    When i delete the mhz settings and save it automatically puts in 357 in both cardmhz and mhz....

  • My apoligies i had the switch already on pheonix. I have tried it both ways with smartmouse and pheonix with limited success - I cannot try it properly atm as the computer has started recording tv hitting the dm500s for the card info. I'll try again after it has finished recording.

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

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