PDA

View Full Version : External reader (ftdi) reading card problem.



ircihumax
26-11-2010, 01:25 PM
I have an external reader (FTDI) and try to run the card, but don't work.
Since the beginning:

1. Copies files usbserial.ko and ftdi_sio.ko to /tmp folder.
2. introduce in the terminal:


insmod /tmp/usbserial.ko

and


insmod /tmp/ftdi_sio.ko

3. In the terminal, check:


dmesg

And I see:


usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
DVB: StcComp: current dist_to_ref = 4 ms (371)
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected FT232RL
usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: registered new interface driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver

4. check in the terminal:


cat /proc/tty/drivers

And I see:


...
usbserial /dev/ttyUSB 188 0-254 serial
serial /dev/ttyS 4 64-65 serial
...

Then


cat /proc/tty/driver/usbserial

I see:


usbserinfo: 1.0 Driver: 2.0
0: Module: ftdi_sio name: "FTDI USB Serial Device" vendor: 0403 product: 6001 num_ports: 1 port: 1 path: usb-0000-2: 00:02.0


Everything seems to be okay.

Then I type in CCcam.cfg lines:


SERIAL READER : /dev/ttyUSB0

And nothing. Cccam shows:


card reader /dev/ttyUSB0
no or unknown card inserted

Only on the external reader flashing green (RX / TX) LED.

Any ideas how to read card in cccam 2.2.1?

My hardware:
Box: Elite
Mainboard: DRACO_M/B REV3.00
External reader: ARTYSAT FTDI (http://artysat.pl/images/obrazki/PhoenixUSB3.JPG)
Card: TNK (conax) and CYFRA+ (Mediaguard tuneled to nagravision - DNASP400 RevI45).

Ircihumax

valerica
26-11-2010, 02:24 PM
If card not paired to the receiver , add these lines to .cfg for tnk :


SMARTCARD CLOCK FREQUENCY : /dev/ttyUSB0 3570000
TRY ALL CHIDS : /dev/ttyUSB0
DISABLE EMM : no
EXTRA EMM LEVEL : yes


Cheers ,
Val .

ircihumax
26-11-2010, 03:12 PM
Val,

both cards are not paired.
I have changed .cfg as you wrote, but did not bring change.

Still on the reader flashes green LED only 1 time per second.
Of course, the clock on the reader is set to 3.57MHz.

Regards,
Ircihumax

ircihumax
26-11-2010, 05:55 PM
I run Newcs 1.67 and reader works fine.


[ 20:01:02 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0
[ 20:01:02 ] [ ******* ] Reseting reader parameters
[ 20:01:02 ] [ Phoenix ] Opening device /dev/ttyUSB0
[ 20:01:02 ] [ Phoenix ] Setting Parity to: ODD
[ 20:01:02 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 20:01:02 ] [ Phoenix ] Setting Baud to standard 9600
[ 20:01:03 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0
[ 20:01:05 ] [ Serial ] Read on fd 4 (len=16 timeout=5300ms)
[ 20:01:05 ] Phoenix_read:



[ 20:01:05 ] [ 0100 ] Init took: 0.348146
[ 20:01:05 ] [ Loader ] Card 0100 on port /dev/ttyUSB0 ready
[ 20:01:05 ] [ Card queue /dev/ttyUSB0 ] Starting...


Seems to be that my problems are related directly Cccam.

Is there a person whose work external reader FTDI on E2 Azbox and Cccam 2.2.1?

Ircihumax