Author Topic: Smargo Smartreader+ tutorial  (Read 1342 times)

0 Members and 1 Guest are viewing this topic.

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Smargo Smartreader+ tutorial
« on: December 18, 2009, 12:22:08 PM »
This tutorial assumes the user has a DM7020 or a DM800. The tutorial can be used as is, or adapted easily for a standard Linux setup.


How to set smartreader operating mode using Windows

1: Install the windows drivers
2: Open smartreader.exe
3: Plug the smartreader into a usb port
4: Select Autoswitch or fixed mode
5: Select Normal or Dreambox kernel
6: Make sure it returns with "writing settings successful"
7: Done

DM7020 dreambox installation with PLI Iolite/Jade

1: Telnet to your dreambox run "ipkg update"
2: Run "ipkg install kernel-module-ftdi-sio"
3: Exit
4: Rename your original bootup file in /etc/init.d/ incase you have a problem*
5: Replace the bootup file in /etc/init.d/ with this one the bootup file is in the zipfile.
6: Reboot
7: Plug in the smartreader
8: Insert your card. Make sure the chip on the card faces the same direction as the lights on the reader.
9: Done

* The latest PLi Jade Final image appears to already have the usbtoserial configured in the bootup file. So no need to replace the bootup file.


DM800 dreambox installation with PLI Iolite/Jade
1: Enter the download menu
2: Search for USBtoSerial drivers
3: Download
4: Reboot
5: Plug in the smartreader
6: Insert your card. Make sure the chip on the card faces the same direction as the lights on the reader.
7: Done

DM7020/cccam.cfg
CCcam configuration sample:

SERIAL READER : /dev/usb/tts/0 smartreader+
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/0 6860002
SERVER LISTEN PORT : 20000
WEBINFO LISTEN PORT : 21000
WEBINFO USERNAME : username
WEBINFO PASSWORD : password
SHOW TIMING : yes

It is possible to add a usb hub to the DM7020. To incorporate a 4 port hub into the config insert the following:

SERIAL READER : /dev/usb/tts/0 smartreader+
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/0 6860002
SERIAL READER : /dev/usb/tts/1 smartreader+
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/1 6860002
SERIAL READER : /dev/usb/tts/2 smartreader+
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/2 6860002
SERIAL READER : /dev/usb/tts/3 smartreader+
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/3 6860002

DM800/cccam.cfg
CCcam configuration sample:

SERIAL READER : /dev/ttyUSB0 smartreader+
SMARTCARD CLOCK FREQUENCY: /dev/ttyUSB0 6860002
SERVER LISTEN PORT : 20000
WEBINFO LISTEN PORT : 21000
WEBINFO USERNAME : username
WEBINFO PASSWORD : password
SHOW TIMING : yes

The DM800 comes with 2 USB ports already. However if you wish to add a usb hub you can.

The above cfg's assume that the reader is set to autoswitch mode and dreambox kernel.

You can choose any of the following frequencies: 3.20, 3.43, 3.69, 4.00, 4.36, 4.80, 5.34, 6.00, 6.86, 8.00, 9.61, 12.0 and 16.0

Examples:
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/0 6000002 runs the card at 6mhz.
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/0 6860002 runs the card at 6.86mhz.
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/0 8000002 runs the card at 8mhz.
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/0 9610002 runs the card at 9.61mhz.

Most cards run at 6000002 or 6860002.