Author Topic: Tutorial for Smargo Smartreader on linux pc  (Read 2080 times)

0 Members and 1 Guest are viewing this topic.

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Tutorial for Smargo Smartreader on linux pc
« on: January 16, 2010, 08:47:32 PM »
 Tutorial for Smargo Smartreader on linux pc
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.