PDA

View Full Version : Smargo USB Reader Tools v1.04



Jaxo
29-06-2010, 11:51
Largest improvement:

The smartreader works even faster with most cards.
Many extra smartcards support.
Enigma support must improved.
New setting: Smartcardreader+ ID through udev.
- smartreader allways start up on right DEV/ port.
- Combine smartcard with smartreader!!


------------------------
Linux tool:

Options:
./srp_tool -h (help info)
./srp_tool -n <#> (give a ID to smartreader ("0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¦")
./srp_tool -d <comport or id> (gives smartreader information)
./srp_tool -p (0 = pc mode / 1 = enigma mode)
./srp_tool -m (0 = autoswitch / 1 = fixed Mhz mode)

By fixed mode
./srp_tool -x <frequency> (Fixed mode set frequency )
./srp_tool -t <val> t = val (Fixed mode set T-val mode)
./srp_tool -e <val> egt = val (Fixed mode set egt-val mode)

Freq VALUES MHZ
3 16
4 12
5 9.61
6 8
7 6.86
8 6
9 5.34
10 4.80
11 4.36
12 4
13 3.69
14 3.43
15 3.20

------------------------

Example ID smartcardreader+ with smartcard

We have two smartcards and two smartreader+.
card1 = First Full card
card2 = Second Full card
card3 = Starter card

We will give the two smartreaders+ an ID
smartreader+ one we will ID as "READER F"
smartreader+ two we will ID as "READER S"

We program the ID into the smartreader+
./srp_tool -n F (Reader F)
./srp_tool -n G (Reader G)
./srp_tool -n S (Reader S)

we place the cards into the smartreader+
card1 first full card into Reader F
card2 second full card into Reader G
card3 starter card into Reader S


Now we will set a name in linux OS for the smartreader+
Modify or add new file in /etc/udev/ (depand on linux OS)

card1 is set on Reader F and is first Full card. We will call it "sr+_firstfull"
add line:
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="Reader F", SYMLINK+="Sr+_firstfull"

card2 is set on Reader G and is second Full card. We will call it "sr+_secondfull"
add line:
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="Reader G", SYMLINK+="Sr+_secondfull"


card3 is set on Reader S and is starter card. We will call it "Sr+_starter"
add line:
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="Reader S", SYMLINK+="Sr+_starter"


The USB ports will be after add it:

/dev/smartreader+_firstfull
/dev/smartreader+_secondfull
/dev/smartreader+_starter


------------------------

Example cccam
Normally the smartreader+ will be set like this:
/dev/ttyUSB0 smartreader+
/dev/ttyUSB1 smartreader+
/dev/ttyUSB2 smartreader+
(which one is a full and which one is starter card?? You allways need to control it and adjust settings or change cards)

We given the smartreader+ a name so when use loadbalance or different frequency we always know we set the right smartreader.
Even after reboot, replace smartreader+ or other interuption you allways know that smartcardreader+ with card is set in right mode.

This is what you place now in cccam:
/dev/Sr+_firstfull smartreader+
/dev/Sr+_secondfull smartreader+
/dev/Sr+_starter smartreader+

Example: Set frequence, loadbalance
SMARTCARD CLOCK FREQUENCY: /dev/Sr+_firstfull 80000000
SMARTCARD CLOCK FREQUENCY: /dev/Sr+_secondfull 80000000
SMARTCARD CLOCK FREQUENCY: /dev/Sr+_starter 60000000
LOADBALANCE : /dev/Sr+_firstfull /dev/Sr+_secondfull

[attachment=0:14gnb46m]linux_tool_for_Smargo.rar[/attachment:14gnb46m]

roland.peterson
03-05-2011, 03:12
Thanks!

Just got my smargo reader, so I'll be trying it tonight. :-)