USB Cardreader for IPBOX 9000

SalvaMan

Registered
Messages
21
good friends
someone can tell me what the programmer (cardreader) I can use in ipbox9000 hd. i use image E2 9000_PKT_4.1 in ipbox. to i put to read the card from usb cardreader? I have 1 usb hub
tanks for the help
 

k2k2000

Registered
Messages
727
you need
-phoenix programmer ,example :"VIOLET PHOENIX"
-RS232 to USB converter with prolific pl2303 or FTDI chipset.
 

tetra

Registered
Messages
52
I've got an infinity usb phoenix with pl2303 running just fine on cuberevo 9000hd. I'd need two, but can get only one running. First one goes in /dev/ttyUSB0 but there is no device for second pl2303 adapter. Even mknod /dev/ttyUSB1 c 188 1 doesn't work.
 

k2k2000

Registered
Messages
727
tetra
your are using sbox or enigma2?

try this , and post your output,
external powered usb hub is required..
Code:
mknod /dev/ttyUSB0 c 188 0
chmod 666 /dev/ttyUSB0
mknod /dev/ttyUSB1 c 188 1
chmod 666 /dev/ttyUSB1
insmod /lib/modules/usbserial.ko
insmod /lib/modules/pl2303.ko
ls /dev/ | grep ttyUSB*
dmesg
 

SalvaMan

Registered
Messages
21
good friends
is so. I got 1 usb serial cable
Lorenz's bell but I do not know what chip is. I tried booting the newcs with the cable and 1 normal phoenix.
the news runs,but not league the phoenix
how to know which chip is the cable?
I have the manufacturer's page and see nothing
 

tetra

Registered
Messages
52
Hi k2k2000. Yes, i'm using e2. I have powered usb-hub and 2 phoenixes. Problem is even if I get the /dev/ttyUSB1 created, nothing gets read from the device by newcs. Both readers work as /dev/ttyUSB0 if I use them one at the time, but what's the point in that when I have 2 cards to use.

Also, you wrote wrong. /dev/ttyUSB1 is created with
Code:
mknod /dev/ttyUSB1 c 188 1
, /dev/ttyUSB2 would be
Code:
mknod /dev/ttyUSB2 c 188 2
, right?


tetra
your are using sbox or enigma2?

try this , and post your output,
external powered usb hub is required..
Code:
mknod /dev/ttyUSB0 c 188 0
chmod 666 /dev/ttyUSB0
mknod /dev/ttyUSB1 c 188 0
chmod 666 /dev/ttyUSB1
insmod /lib/modules/usbserial.ko
insmod /lib/modules/pl2303.ko
ls /dev/ | grep ttyUSB*
dmesg
 
Last edited:

arken

Registered
Messages
293
@SalvaMan Just insert both modules, only the right one will be used.
Code:
insmod /lib/modules/usbserial.ko
insmod /lib/modules/pl2303.ko
insmod /lib/modules/ftdi_sio.ko
mknod /dev/ttyUSB0 c 188 0
chmod 666 /dev/ttyUSB0

@tetra Could you please post your newcs.xml file?
 

k2k2000

Registered
Messages
727
tetra
yes correct .
Code:
major number 188 , device type [B]c[/B]haracter
        0 = /dev/ttyUSB0 First USB serial converter
        1 = /dev/ttyUSB1 Second USB serial converter
should be
Code:
mknod /dev/ttyUSB0 c 188 0
mknod /dev/ttyUSB1 c 188 1
 

tetra

Registered
Messages
52
@arken

Code:
...
              <device>
                      <name>Phoenix1</name>
                      <type>Phoenix</type>
                      <node>/dev/ttyUSB0</node>
                      <mhz>357</mhz>
                      <export>yes</export>
                      <enabled>yes</enabled>
                      <blocksa>No</blocksa>
                      <blockua>No</blockua>
                      <blockga>No</blockga>
                      <PTShandshake>no</PTShandshake>
                      <crypto-special>no</crypto-special>
                      <carddetect>yes</carddetect>
                      <newcamd_port>10010</newcamd_port>
                      <Seca-PPV>no</Seca-PPV>
                      <autosid>yes</autosid>
                      <priority>round</priority>
                      <sid>
                      <allow>
                      <id></id>
                      </allow>
                      <deny>
                      <id></id>
                      </deny>
                      </sid>
              </device>
              <device>
                      <name>Phoenix2</name>
                      <type>Phoenix</type>
                      <node>/dev/ttyUSB1</node>
                      <mhz>357</mhz>
                      <export>yes</export>
                      <enabled>yes</enabled>
                      <blocksa>No</blocksa>
                      <blockua>No</blockua>
                      <blockga>No</blockga>
                      <PTShandshake>no</PTShandshake>
                      <crypto-special>no</crypto-special>
                      <carddetect>yes</carddetect>
                      <newcamd_port>10010</newcamd_port>
                      <Seca-PPV>no</Seca-PPV>
                      <autosid>yes</autosid>
                      <priority>round</priority>
                      <sid>
                      <allow>
                      <id></id>
                      </allow>
                      <deny>
                      <id></id>
                      </deny>
                      </sid>
              </device>
...
 

k2k2000

Registered
Messages
727
assign another port number ,for second phoenix.

<newcamd_port>10010</newcamd_port>

<newcamd_port>10011</newcamd_port>
 

tetra

Registered
Messages
52
@k2k2000

Thanks, good point. But it still doesn't work :(

newcs doesn't even try to read from /dev/ttyUSB1, as the led's don't blink on the phoenix.
 

tetra

Registered
Messages
52
HAHA! I tried with another usb-hub and now both phoenixes work ;)

I think the other hub's power source is perhaps too weak to drive 2 phoenixes and a usb-stick.

Happy happy joy joy!

[edit]
So, all in all, what went wrong in first place:
- duplicate port-number
- probably too weak usb-hub.

Fixing these 2 steps proves cuberevo 9000hd pvr can run 2 phoenix-readers with newcs 1.66 ;)
[/edit]
 
Last edited:

Montyboy

Registered
Messages
47
tetra
yes correct .
Code:
major number 188 , device type [B]c[/B]haracter
        0 = /dev/ttyUSB0 First USB serial converter
        1 = /dev/ttyUSB1 Second USB serial converter
should be
Code:
mknod /dev/ttyUSB0 c 188 0
mknod /dev/ttyUSB1 c 188 1

What does the above mean and where should I enter it?
I have the Violet card reader and D-Link DUB-H4 USB HUB, I have edited my newcs.xml file the same as tetra but does not work I can only assume it has something to do with these two lines:
mknod /dev/ttyUSB0 c 188 0
mknod /dev/ttyUSB1 c 188 1
but I dont know where to put them...Thanks Montyboy.
PS..I am new to editing can you help me in simple terms...Thanks
 

tetra

Registered
Messages
52
What does the above mean and where should I enter it?
I have the Violet card reader and D-Link DUB-H4 USB HUB, I have edited my newcs.xml file the same as tetra but does not work I can only assume it has something to do with these two lines:
mknod /dev/ttyUSB0 c 188 0
mknod /dev/ttyUSB1 c 188 1
but I dont know where to put them...Thanks Montyboy.
PS..I am new to editing can you help me in simple terms...Thanks
Hi

mknod lines go into /var/config/rc.modules

Line should be there already, just remove the # comment from the lines mknod and chmod.

Keep in mind, you also need the usb-to-serial adapter. It has usb-connector in one end and a rs232-connector at the other, like this one
View attachment 146938
 
Last edited by a moderator:

Montyboy

Registered
Messages
47
Hi

mknod lines go into /var/config/rc.modules

Line should be there already, just remove the # comment from the lines mknod and chmod.

Keep in mind, you also need the usb-to-serial adapter. It has usb-connector in one end and a rs232-connector at the other, like this one
View attachment 146938

Thank you tetra for your reply.
My rc.modules has now been edited to this:

#!/bin/sh

MODDIR=/lib/modules

echo "init phoenix"
mknod /dev/ttyUSB0 c 188 0
chmod 666 /dev/ttyUSB0
mknod /dev/ttyUSB1 c 188 1
chmod 666 /dev/ttyUSB1
insmod /lib/modules/usbserial.ko
insmod /lib/modules/pl2303.ko
ls /dev/ | grep ttyUSB*
dmesg

echo "init internal slot card"
/var/bin/sci-ng.sh restart

echo "init cifs"
insmod $MODDIR/cifs.ko

#echo "init ntfs"
# insmod $MODDIR/ntfs.ko

Is this correct?
This card reader always worked with NLB images so I know its not the card reader. Hope you can help me a bit more. Thanks Montyboy.
My newcs.xml looks like this:

<newCSconfig>
<readers name="Card Readers">
<device>
<name>Phoenix1</name>
<type>Phoenix</type>
<node>/dev/ttyUSB0</node>
<mhz>357</mhz>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<PTShandshake>No</PTShandshake>
<crypto-special<no>/crypto-special>
<carddetect>yes</carddetect>
<newcamd_port>10010</newcamd_port>
<autosid>Yes</autosid>
<Seca-PPV>no</Seca-PPV>
<priority>round</priority>
<sid>
<allow>
<id></id>
</allow>
<deny>
<id></id>
</deny>
</sid>
</device>

<device>
<name>Phoenix2</name>
<type>Phoenix</type>
<node>/dev/ttyUSB1</node>
<mhz>357</mhz>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<PTShandshake>No</PTShandshake>
<crypto-special<no>/crypto-special>
<carddetect>yes</carddetect>
<newcamd_port>10011</newcamd_port>
<Seca-PPV>no</Seca-PPV>
<autosid>Yes</autosid>
<priority>round</priority>
<sid>
<allow>
<id></id>
</allow>
<deny>
<id></id>
</deny>
</sid>
</device>
<device>
<name>Front</name>
<type>Phoenix</type>
<node>/dev/ttyUSB0</node>
<parity>even</parity>
<!-- reset normal dla phoenix, inverse dla season -->
<reset>normal</reset>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>no</blocksa>
<blockua>no</blockua>
<blockga>no</blockga>
<boxkey></boxkey>
<rsa></rsa>
<boxid></boxid>
<PTShandshake>no</PTShandshake>
<Seca-PPV>no</Seca-PPV>
<crypto-special>no</crypto-special>
<carddetect>yes</carddetect>
<newcamd_port>10002</newcamd_port>
<autosid>yes</autosid>
<!-- <priority>hard</priority> -->
<priority>round</priority>
</device>
</readers>

<cache>
<emm>10</emm>
<ecm>10</ecm>
</cache>
<httpd>
<server>
<port>8081</port>
<enabled>yes</enabled>
</server>
<user>
<name>root</name>
<password>pktteam</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
<newcamdserver>
<enabled>yes</enabled>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<name>newcs</name>
<userfile></userfile>
<!-- ipbox -->
<user>
<name>pkt</name>
<password>pkt</password>
<au>on</au>
<allow>Front</allow>
</user>
<!-- tu wpisujemy peerow ponizej przyklad <user> </user> -->
<user>
<name>peer</name>
<password>peer</password>
<au>on</au>
<allow>Front</allow>
</user>
</newcamdserver>
</newCSconfig>
 

k2k2000

Registered
Messages
727
Code:
mknod /dev/ttyUSB0 c 188 0
mknod /dev/ttyUSB1 c 188 1
-0: /dev/ttyUSB0 First USB serial converter
-1: /dev/ttyUSB1 Second USB serial converter
-188: is device number assigned on linux system for usb serial converters
-c: memory device type CHAR

@Montyboy
you don 't need ttyUSB1 ,if you have single phoenix.
i have this config on /var/config/rc.modules
Code:
#!/bin/sh

MODDIR=/lib/modules

echo "init phoenix"
mknod /dev/ttyUSB0 c 188 0
chmod 666 /dev/ttyUSB0
insmod $MODDIR/usbserial.ko
insmod $MODDIR/pl2303.ko

#echo "init internal slot card"
#/var/bin/sci-ng.sh restart

echo "init cifs" 
 insmod $MODDIR/cifs.ko

#echo "init ntfs"
# insmod $MODDIR/ntfs.ko
 

Montyboy

Registered
Messages
47
Code:
mknod /dev/ttyUSB0 c 188 0
mknod /dev/ttyUSB1 c 188 1
-0: /dev/ttyUSB0 First USB serial converter
-1: /dev/ttyUSB1 Second USB serial converter
-188: is device number assigned on linux system for usb serial converters
-c: memory device type CHAR

@Montyboy
you don 't need ttyUSB1 ,if you have single phoenix.
i have this config on /var/config/rc.modules
Code:
#!/bin/sh

MODDIR=/lib/modules

echo "init phoenix"
mknod /dev/ttyUSB0 c 188 0
chmod 666 /dev/ttyUSB0
insmod $MODDIR/usbserial.ko
insmod $MODDIR/pl2303.ko

#echo "init internal slot card"
#/var/bin/sci-ng.sh restart

echo "init cifs" 
 insmod $MODDIR/cifs.ko

#echo "init ntfs"
# insmod $MODDIR/ntfs.ko

Thank you very much for your reply.
I have now edited my rc.modules file as above but still no joy.
Does my newcs.xml look OK??
PS.. It is a sly uk I am trying to read......Thanks Montyboy
 

k2k2000

Registered
Messages
727
@Montyboy
you can use the same newcs.xml that worked for you on nlb.
+make sure you have newcs in /var/bin and not /var/cardserver
 

Montyboy

Registered
Messages
47
@Montyboy
you can use the same newcs.xml that worked for you on nlb.
+make sure you have newcs in /var/bin and not /var/cardserver

Thanks again for yor reply, I have removed newcs from /var/cardserver and replaced it in /var/bin I have now put my newcs.xml that worked in NLB image, but when I try to activate newcs in the menu it says: newcs is not installed.
Is there anything else I can try, or shall I just get the hammer:eek::eek: Montyboy
 

k2k2000

Registered
Messages
727
@Montyboy
think i found your problem ;try this
copy back newcs to /var/cardserver/
+delete script /var/bin/sci-ng.sh
to prevent plugin cardpanel to kill newcs .
 
Top