oscam problem reading cnx

kallquk

Registered
Messages
43
Hello


I have some days trying to make working an oscam as creader for a conax dga card in a argolis triple reader without success

The system is a debian 6 x86

I do not know the firm of reader, because it came some days ago without any cd

I changed some settinngs in server and conf files without success.

logs are:
2012/09/16 19:01:32 B5C43B70 c init for reader dga not finished -> reject client

2012/09/16 19:01:18 B7452B70 r card system not supported
2012/09/16 19:01:18 B7452B70 r Normal mode failed, reverting to Deprecated Mode

the reader is:

[reader]
label = dga
protocol = mouse
device = /dev/ttyUSB0
smargopatch = 1
CAID = 0B00
detect = cd
mhz = 357
cardmhz = 357
ident = 0B00:000000
group = 1
emmcache = 1,1,2
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
audisabled = 1
lb_weight = 100



and conf is:

global]
logfile = stdout
nice = -1
maxlogsize = 1000
waitforcards = 0
usrfile = /var/log/oscamuser.log
cwlogdir = /var/log/cw.log



I want to pass the oscam reader to my cccam, but if I bypass oscam(close it) and try to read direclty from cccam adding in cfg:

SERIAL READER : /dev/ttyUSB0 smartreader+

it works perfectly, stable and normal ecm time!!

I need to make working the oscam please anyone help me

thanks in advance

regards
 

MrCoolSpan

Registered
Messages
30
This is my setup and it works:thum:

[reader]
label = nodric
enable = 1
protocol = smartreader
device = 001:007 # use usb scan to find you card reader
caid = 0B00
detect = cd
mhz = 480
cardmhz = 358
ident = 0B00:000000
group = 3
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-g = 1
disablecrccws = 1
ccchop = 5
 
Last edited:

kallquk

Registered
Messages
43
This is my setup and it works:thum:

[reader]
label = nodric
enable = 1
protocol = smartreader
device = 001:007 # use usb scan to find you card reader
caid = 0B00
detect = cd
mhz = 480
cardmhz = 358
ident = 0B00:000000
group = 3
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-g = 1
disablecrccws = 1
ccchop = 5

I tried with your settings, adain no success


scan usb gives:

Bus 001 Device 003: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
iProduct 2 Triple Reader+
iSerial 3 00000809

lsusb -v gives(section of smartreader only):

Bus 001 Device 003: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0x6011 FT4232H Quad HS USB-UART/FIFO IC
bcdDevice 5.00
iManufacturer 1 Argolis
iProduct 2 Triple Reader+
iSerial 3 00000809
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 78
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 150mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 Triple Reader+
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 Triple Reader+
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 Triple Reader+
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0xc4a8
(Bus Powered)

and using your config oscam exsits because 001:003 is not known as reader:
2012/09/17 13:15:27 B743B8D0 s CAID: 0B00
2012/09/17 13:15:27 B743B8D0 s provid #0: 000000
2012/09/17 13:15:27 B743B8D0 s radegast: disabled
2012/09/17 13:15:27 B743B8D0 s http thread started
2012/09/17 13:15:27 B743B8D0 s creating thread for device 001:003
2012/09/17 13:15:27 B743B8D0 s creating thread for device /dev/ttyUSB1
2012/09/17 13:15:27 B743B8D0 s creating thread for device /dev/ttyUSB2
2012/09/17 13:15:27 B743B8D0 s loadbalancer: can't read from file /tmp/.oscam/stat
2012/09/17 13:15:27 B743B8D0 s anti cascading disabled
2012/09/17 13:15:27 B6BECB70 r reader thread started (thread=B6BECB70, label=tvsa, device=/dev/ttyUSB1, detect=cd, mhz=357, cardmhz=357)
2012/09/17 13:15:27 B73EDB70 r reader thread started (thread=B73EDB70, label=dga, device=001:003, detect=cd, mhz=480, cardmhz=358)
2012/09/17 13:15:27 B73EDB70 r Using 0x 2 as endpoint for smartreader hardware detection
2012/09/17 13:15:27 B73EDB70 r Smartreader device 001:003 not found
2012/09/17 13:15:27 B63EBB70 r reader thread started (thread=B63EBB70, label=rs, device=/dev/ttyUSB2, detect=cd, mhz=357, cardmhz=357)
2012/09/17 13:15:27 B73F9B70 h HTTP Server listening on port 28888
2012/09/17 13:15:27 B73EDB70 r dga card detected



I agree that the reader is strange, is a argolis triple rerader, bought recently, but cccam uses it perfectly with the syntax shown in the first post
 

MrCoolSpan

Registered
Messages
30
got this from another forum

Because many people ask for the settingstool, we will provide one. It has not been finished yet. You can not use the settings tool for the single smartreader.

Please make sure that you use the latest 3rd party software. Most software supports the triple reader automatically.

The old dm drivers don't recognise the vid and the pid of the device. So you can modprobe it manually and the kernel will recognise the 3 devices.



An example:



at first, check what devices you have :

cat /proc/bus/usb/devices | grep 'T:\|S:'

sample output:

Source code

1

2

3

4

5

6

7

8

9

10

11

12

13
[root@a ~]# cat /proc/bus/usb/devices | grep 'T:\|S:'

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2

S: Manufacturer=Linux 2.6.32.26-175.timb1.i686 uhci_hcd

S: Product=UHCI Host Controller

S: SerialNumber=0000:00:1f.4

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2

S: Manufacturer=Linux 2.6.32.26-175.timb1.i686 uhci_hcd

S: Product=UHCI Host Controller

S: SerialNumber=0000:00:1f.2

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0

S: Manufacturer=Argolis BV

S: Product=Smartreader plus

S: SerialNumber=BLAAH001




Now you see that you have one Smargo with SerialNumber "BLAAH001", just put "device = Serial:BLAAH001" in oscam.server and configure other needed parameters for this. Do the same for other Smargo slots (each of them should have own specific SerialNumber) and u'r done.
If you cant use smartreader protocol, then you need use /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2 etc. accordingly or bind these Smargo devices with the specific names using udev rules, so you have no mess with device order.

Thanks Multi-Quote This Message

#14
romman
romman is offline
Banned

Join Date
Apr 2011
Receiver
vu duo
Posts
153

04-16-2012, 08:06 PM Report Post

Quote Originally Posted by silverfox0786 View Post
considering how rubbish smargo is on ecm times that price would get me 6 omnikeys and they are so much better on ecm times

personally i would leave it
Yep they are better because they overclock ya card!!! Not good for *** cards in my opinion

Thanks Multi-Quote This Message

#15
dm800pvr
dm800pvr is offline
Forum Supporter

Join Date
Jun 2012
Posts
70

07-11-2012, 07:23 PM Add to this user's reputation Report Post

same problem here dude!
not recognized triple reader and with simple usb smargo reader returns 'ERROR: Could not read reader->convention'
any idea? did u solve it ?

Thanks Multi-Quote This Message

#16
dm800pvr
dm800pvr is offline
Forum Supporter

Join Date
Jun 2012
Posts
70

07-11-2012, 07:39 PM Add to this user's reputation Report Post

I solved it!!!!!!!!!

set mhz = 500 in reader cluster,

with version 1.3 smart setting argolis software and NOT 1.7 set:

cardmhz = 368
MODE autoswitch
FREQ 3.69 Mhz
KERNEL normal
T_MODE t = 0
EGT 0

attach reader and restart works fine now!

CARDOK message in webinfo hahaaa

musogeek likes this.
Thanks Multi-Quote This Message
The Following 3 Users Say Thank You to dm800pvr For This Useful Post:

cazuela (07-11-2012),musogeek (07-11-2012)


#17
musogeek
musogeek is online now
Super Moderator musogeek's Avatar

Join Date
Jul 2011
Receiver
Vu+Duo/GigaBlue solo
Image
ViX OE3.0/whatever!
Location
A Potato on a Couch!
Posts
1,134

Send a message via MSN to musogeek
07-29-2012, 05:49 PM Add to this user's reputation Report Post

The previous post doesn't work for the triple card reader. There is no software utility that can update this or change any settings, which is why I would probably recommend getting 3 omnikey readers for half the price instead. However if you are stuck with one of these as I am, I found a possible fix on the argolis website so you can get this to work with Oscam. I am having some success at the moment with this but I think I might be missing something because I am still having some issues.

Assigning the Argolis Triple Reader to new device names.


Place this file iin /etc/udev/rules.d/
By reconnecting the triple reader it will be assigned to the new device names.

Read the serial number of the triplereader: lsusb -d 403:6011 -v | grep iSerial
Serial number: 00000001
Readername: triplereader_TEST
The new names for the triplereader with serial number 00000001 will be:
P1 = /dev/triplereader_TEST00
P2 = /dev/triplereader_TEST01
P3 = /dev/triplereader_TEST02
Serial number: 0000ABCD
Readername: my_READER

The new names for the triplereader with serial number 0000ABCD will be:
P1 = /dev/my_READER00
P2 = /dev/my_READER01
P3 = /dev/my_READER02

Use the search tool before asking questions - It might save everyone a lot of time.
If you find this forum useful, join in by sharing your own knowledge or become a VIP member.
Many things discussed are hypothetical and the use of the 1st person is for ease of explaination only.
This site is for sharing information and is for educational purposes only. The topics discussed are already in the public domain.
Thanks Multi-Quote This Message

#18
dm8000pvr
Guest
07-30-2012, 09:20 AM Report Post

the file http://www.argolis.nl/files/31-triplereader.rules is invalid in their site!
I changed SUBSYSTEMS=="usb" ENV to SUBSYSTEMS=="usb" , ENV and it works!
 
Top