Ga naar inhoud


Aanbevolen berichten

Geplaatst:

niemand een idee waar dit aan ligt ???????????????????


Geplaatst:

het werkt nu op een de fout zat in de smartreader deze moet op DreamBox staan

de 2.6.9 heeft wat problemen met de usb2serial laag in de kernel waardoor de ftdi driver zich soms wat "vreemd" gedraagt (komt van het maxXXXXXX forum )

 

hier zijn mijn instellingen en configs die bij mij werken

 

<newCSconfig>

 

<readers name="Card Readers">

<device>

<name>phoenix</name>

<type>Phoenix</type>

<node>/dev/ttyUSB0</node>

<mhz>358</mhz> <!-- or 357 -->

<parity>none</parity>

<reset>normaal</reset>

<export>yes</export>

<enabled>yes</enabled>

<blocksa>No</blocksa>

<blockua>No</blockua>

<blockga>No</blockga>

<boxkey>0000000000</boxkey>

<PTShandshake>no</PTShandshake>

<crypto-special>no</crypto-special>

<carddetect>no</carddetect>

<newcamd_port>10110</newcamd_port>

<autosid>Yes</autosid>

<priority>round</priority> <!-- hard is default -->

<sid>

<allow>

<!-- valid value for id are:

4 numbers, if the service id is 3 numbers, add a 0 infront of

 

it. -->

<id></id>

</allow>

<deny>

<!-- valid value for id are:

4 numbers, if the service id is 3 numbers, add a 0

 

infront of it. -->

<id></id>

</deny>

</sid>

</device>

 

 

</readers>

 

<radegastserver>

<!-- valid value for enable are:

0,1 - Enable or Disable radegast server. -->

<enabled>no</enabled>

 

<!-- valid value for port are:

0,65535 - Which port to listen for incomming connections. -->

<port>10001</port>

 

<!-- valid value for allow are:

ALL - Not active yet. -->

<allow>

<hostname>127.0.0.1</hostname>

</allow>

</radegastserver>

<cache>

<emm>20</emm>

<ecm>-1</ecm>

</cache>

<debug>

<password>xxxxxx</password>

<level>normal</level>

<type>init</type>

<output>all</output>

<logfile></logfile>

<console_options></console_options>

<file_options></file_options>

<udp_host>192.168.x.x</udp_host>

<udp_port>1000</udp_port>

<udp_options></udp_options>

<tcp_port>3001</tcp_port>

<tcp_options></tcp_options>

</debug>

<newcamdserver>

<enabled>yes</enabled>

<name>csserver</name>

<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>

<userfile></userfile>

<user>

<name>card02</name>

<password>card02</password>

<au>on</au>

</user>

<user>

<name>xxxxxx</name>

<password>xxxxxxx</password>

<spider>off</spider>

<sidoverride>on</sidoverride>

<au>on</au>

</user>

 

en de instellingen van de smartreader

 

Mode = Autoswitch

Kernel = DreamBox

T-mode = T = 0

EGT = 0

 

 

level: normal

type: init

output: all

logger config: level 1 type 3 output 255

Console log options: level 1 type 3

log file:

logger: cant open file , file log disabled

udp log: host 192.168.x.x port 1000

UDP log options: level 1 type 3

tcp port: 3001

TCP log options: level 1 type 3

[ 19:34:18 ] [ Box detect ] Box type 1

[ 19:34:18 ] [ Config ] Option <Seca-PPV> for device 0 (phoenix) not present, defaulting to NO

[ 19:34:18 ] [ Config ] Value in <boxkey> for device 0 (phoenix) is INVALID, skipping...

[ 19:34:18 ] [ Config ] /dev/ttyUSB0 ECM priority: round

[ 19:34:18 ] [ Config ] Option <spider> not present for User: xxxx, defaulting to NO

[ 19:34:18 ] [ EMM Cache ] Initialising Cache with 20 entries

[ 19:34:18 ] [ ECM Cache ] Initialising dynamic Cache

[ NewCS ] Process ID is: 4081

[ 19:34:18 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0

[ 19:34:18 ] [ Phoenix ] Opening device /dev/ttyUSB0

[ 19:34:18 ] [ Phoenix ] Setting Parity to: NONE

[ 19:34:18 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0

[ 19:34:18 ] [ Phoenix ] Setting Baud to standard 9600

[ 19:34:18 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0

[ 19:34:20 ] [ ATR ] T=0 1etu=104.17us Guardtime:13etu WWT:xxxxxetu

[ 19:34:20 ] [ ATR ] Historical bytes: p p 7 [0E] l [b6] [D6]

[ 19:34:20 ] [ Loader ] Init Seca card

[ 19:34:20 ] [ Phoenix ] Setting Parity to: EVEN

[ 19:34:20 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0

[ 19:34:20 ] [ Phoenix ] Setting Baud to standard 9600

[ 19:34:20 ] [ Keyman ] Adding key xxxxx type 0 on Provider 000000 for caid 0100 ID=0

[ 19:34:20 ] [ Keyman ] Adding key 0 type 1 on Provider 000000 for caid 0100 ID=0

[ 19:34:20 ] [ Keyman ] Adding key xxxxx type 1 on Provider 00006A for caid 0100 ID=1

[ 19:34:20 ] [ Keyman ] Adding key 0 type 1 on Provider 00006B for caid 0100 ID=2

[ 19:34:20 ] [ Keyman ] Adding key 0 type 1 on Provider 00006C for caid 0100 ID=3

[ 19:34:20 ] [ Keyman ] Adding key 0 type 1 on Provider 00006D for caid 0100 ID=4

[ 19:34:20 ] [ Loader ] Card 0100 on port /dev/ttyUSB0 ready

[ 19:34:20 ] [ Loader ] Starting Newcamd Server on port 10110

[ 19:34:20 ] [ NewCS ] Ready to GO! \:\)

 

 

 

 

usb 1-1: new full speed USB device using address 2

drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic

usbcore: registered new driver usbserial_generic

usbcore: registered new driver usbserial

drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0

drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI SIO

drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI 8U232AM Compatible

drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI FT232BM Compatible

drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI FT2232C Compatible

drivers/usb/serial/usb-serial.c: USB Serial support registered for USB-UIRT Infrared Tranceiver

drivers/usb/serial/usb-serial.c: USB Serial support registered for Home-Electronics TIRA-1 IR

 

Transceiver

ftdi_sio 1-1:1.0: FTDI FT232BM Compatible converter detected

usb 1-1: FTDI FT232BM Compatible converter now attached to ttyUSB0

usbcore: registered new driver ftdi_sio

 

[root@csserver csserver]# uname -r

2.6.9-67.0.1.EL

[root@csserver csserver]# lsusb

Bus 001 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232R USB-Serial (UART)

 

IC

Bus 001 Device 001: ID 0000:0000

[root@csserver csserver]# dmesg

Linux version 2.6.9-67.0.1.EL (mockbuild@builder6.centos.org) (gcc version 3.4.6 20060404 (Red Hat

 

3.4.6-9))

#1 Wed Dec 19 15:50:25 EST 2007

 

drivers/usb/serial/ftdi_sio.c: v1.4.1:USB FTDI Serial Converters Driver

  • 2 weken later...
Geplaatst:

hier een programma om de smartreader te testen onder windows als je rare tekens in het scherm ziet dan werkt de smartreader

Maak een account aan of log in om te reageren

Je moet een lid zijn om een reactie te kunnen achterlaten

Account aanmaken

Registreer voor een nieuwe account in onze community. Het is erg gemakkelijk!

Registreer een nieuwe account

Inloggen

Heb je reeds een account? Log hier in.

Nu inloggen
  • Wie is er online   0 leden

    • Er zijn geen geregistreerde gebruikers deze pagina aan het bekijken
×
×
  • Nieuwe aanmaken...