Author Topic: Tutorial for Smargo Smartreader  (Read 4139 times)

0 Members and 1 Guest are viewing this topic.

Offline Tirkic

  • Administrator
  • Hero Member
  • *****
  • Posts: 16512
Tutorial for Smargo Smartreader
« on: January 13, 2010, 08:01:30 PM »
 1: Linux PC setup.
Make sure that your installed linux distro wich has kernel 2.6.12 or newer version!

2: Update your smartreader+ if it has v1.2 or older firmware with v1.3

3: Before update make sure your reader is 100% reconized by linux!
You will find inside that "smartreader_v103.zip" very precise how to update that device. Now disconnect smartreader+ disable from CCcam smartreader+ config lines and make restart to linux PC. If linux is UP plug smartreader to USB and wait little so 20 second. Log to server and tipe command: dmesg
you should have like this:
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Seri al Device
ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected FT232BM
usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
So your smartreader+ is ready to update the firmware.

4: Uptate beginning.
Copy to your PC linux server FTP 2 files:
srp_tools_x86
srp_update_x86
Set on console to both file chmod 755 !

Chek if your smartreader+ needs to update.
Run command: ./srp_update_x86
and you see like so:
smartreader+ version v1.0, v1.1 or v1.2 then you have time to update.

5: Upadte. I DO NOT RESPONSIBLE IF SOMHTING GOES WRONG WITH FLASH!
Run command: ./srp_update_x86 -b
smartreader+ version v1.1
bootloader mode activated
Remove and reinsert SmartReader+ then restart application

Then new command: ./srp_update_x86 -f
start flashing
################################################## ######## done
Please remove and reinsert SmartReader+

remove the reader and reinsert now we start the config tool
Run command: ./srp_tools_x86
smartreader+ version v1.3
MODE autoswitch
FREQ 3.69 Mhz
KERNEL normal
T_MODE t = 0
EGT 0

successfully flashed the reader with new firmware.

Now we need add to CCcam.cfg new line:
SERIAL READER : /dev/ttyUSB0 smartreader+
SERIAL READER : /dev/ttyUSB1 smartreader+
SERIAL READER : /dev/ttyUSB2 smartreader+
or whatever USB port your smartreader is entered.
Save CCcam.cfg and run ./CCcam.x86 -d you should see new card is added and running.
In CCcam.cfg is card overklocking and there you just edit like so:
SMARTCARD CLOCK FREQUENCY: /dev/ttyUSB0 4800000 and card works with 4.80mhz set by smartreader+.
Available 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 MHz

The user can selected any freqency. The Smartreader+ will selected the nearest available.
Default sartreader+ speed is with new v1.3 firmware 3.69MHZ and most cards works with that speed.

tnx to @cardsharing

Offline Tirkic

  • Administrator
  • Hero Member
  • *****
  • Posts: 16512
Re: Tutorial for Smargo Smartreader
« Reply #1 on: January 13, 2010, 08:02:36 PM »
Smargo smartreader+ ( Dreambox/linux setup/howto)
Becouse the default manual is a bit crappy, herewith a manual to setup the smargo
smartreader+
first copy "srp_tools_x86" to a dir, i use /smargo
now go to that dir with telnet/ssh
#cd /smargo (enter)
Set the correct rights
#chmod 755 srp_tools_x86 (enter)
Check the options by issuing the help command
# ./srp_tools_x86 -h
Smartreader+ configtool v1.3
usage:
options:
-d (default comport = "/dev/ttyUSB0")
-p <0 = pc / 1 = dreambox>
-m <0 = autoswitch / 1 = fixed Mhz> mode
in fixed mode you can also apply:
-x
-t t = val
-e egt = val
Ok now some examples:
Set the reader to 8 Mhz fixed
# ./srp_tools_x86 -m 1 -x 6
smartreader+ version v1.3
MODE fixed
FREQ 8.00 Mhz
KERNEL normal
T_MODE t = 0
EGT 0
Set the reader to 5.33 Mhz fixed# ./srp_tools_x86 -m 1 -x 9
smartreader+ version v1.3
MODE fixed
FREQ 5.33 Mhz
KERNEL normal
T_MODE t = 0
EGT 0
Set the reader back to autoswitch mode
# ./srp_tools_x86 -m 0
smartreader+ version v1.3
MODE autoswitch
FREQ 5.33 Mhz
KERNEL normal
T_MODE t = 0
EGT 0
Ok set to autoswitch, even the frequency is still set to 5,33 Mhz the autoswitch will
override this settings and
choose from either 3,57 Mhz or 6 Mhz (t=0 or t=1 card)
READER VALUES - MHZ
3 - 16MHZ
4 - 12MHZ
5 - 9.61MHZ
6 - 8MHZ
7 - 6.86MHZ
8 - 6MHZ
9 - 5.34MHZ
10 - 4.80MHZ
11 - 4.36MHZ
12 - 4MHZ
13 - 3.69MHZ
14 - 3.43MHZ
15 - 3.20MHZ
On this way you can set the correct values for each reader.
When u use multiple readers don't forget the -d option to set the correct reader!