DM800 & Smargo SmartReader

  • Hi guys, I have a smargo smart reader that I'm trying to setup with my DM800 to read an NDS card in CCcam. Firstly, this is possible but I have a few issues. I've read a very good tutorial here on the forums , however that is in German. My German is , well almost none !


    I'm using the GP2 image and don't really want to change. My problem arises when trying to add the 3 IPKG packages.


    Install all 3 attached packages:


    telnet [ip-dreambox]


    ipkg install kernel-module-ftdi-sio_2.6.12.6-r7_dm7025.ipk
    ipkg install kernel-module-usbcore_2.6.12.6-r7_dm7025.ipk
    ipkg install kernel-module-usbserial_2.6.12.6-r7_dm7025.ipk


    OK, so I ftp the 3 files to /tmp then telnet in to install them.
    First one installs ok.
    Second fails with the follow message.


    root@dm800:/tmp> ipkg install kernel-module-usbcore_2.6.12.6-r7_dm7025.ipk
    Clearing state_want and state_flag for pkg=kernel-module-usbcore (arch_priority=0 flag=16 want=2)
    Nothing to be done
    An error ocurred, return value: 4.
    Collected errors:
    Cannot find package kernel-module-usbcore.
    Check the spelling or perhaps run 'ipkg update'


    Third one installs ok.


    Does anyone know what the problem might be please. If anyone can help me overcome this issue, I'll write up an english tutorial when I'm done.
    Regards
    MCC

  • you probably try to install an *powerpc*.ipk on a mipsel dreambox - which cann't work


    don't ask me why somebody renamed it the wrong way :frowning_face:

    Einmal editiert, zuletzt von gutemine ()

  • Hi thanks for the reply, the 3 ipkg's are clearly marked for the DM7025 and I'm installing on a DM800. That should work ok, right ?


    Thanks
    MCC

  • Yes and no, but the arch_priority=0 flag=16 want=2 says that the ipks are for another CPU/Box type.


    Simply extract the control file and have a look:


    copy the ipk to /tmp and do:


    cd /tmp
    ar -xvf *.iok
    gunzip control.tar.gz
    tar -cvf control.tar
    cat control


    if this then shows a line with Architecture powerpc, or 7025 (or simply not mipsel or 800), then I'm right. Then you would need to edit the control file and re-pack the modules - not a difficult task, but not easy either if you don't know ho to do it (well it would be simply a reversal of the above commands)


    You can sepcifiy a boxtype as architecture to prevent installing drivers on boxes where they don't work (like an LCD driver on a box without an LCD like the 600, or an CI Driver on a box without a CI,...). In your case this should not be a problem, but the person who packed the files didn't have an 800 so he didn't care.


    Ciao
    gutemine

    2 Mal editiert, zuletzt von gutemine ()

  • i dont think you need this pkg any way , as the DM 800 kernel comes with ftdi and all the new kernel.


    i got my smargo running fine with the debian box, but i have also a problem with the DM800 as he disconnects the USB each 1 minute, he dont keep it connected.


    please help

  • Firstly, nofeat-tn, thanks for the input , I'll bare that in mind.


    Gutemine, here's the info from the file in question. What exactly am I looking for here ?


    root@dm800:/tmp> cat control.tar
    ./0000755000000000000000000000000010643000441007701 5ustar rootroot./control0000644000000000000000000000255210643000441011310 0ustar rootrootPackage: kernel-module-usbcore
    Version: 2.6.12.6-r7
    Description: usbcore kernel module
    Section: base
    Priority: optional
    Maintainer: OpenEmbedded Team <openembedded-devel@lists.openembedded.org>
    Architecture: dm7025
    OE: linux-dm7025-2.6.12.6
    Homepage: unknown
    Depends: update-modules, kernel-image-2.6.12.6
    Source: file:///h/ronald/tuxbox/dm7025/openembedded/packages/linux/linux-dm7025.bb ftp://ftp.kernel.org/pub/linux….6/linux-2.6.12.6.tar.bz2 http://sources.dreamboxupdate.….patch.bz2;patch=1;pnum=1 http://sources.dreamboxupdate.….patch.bz2;patch=1;pnum=1 http://sources.dreamboxupdate.…ips-2.6.12-dm7025-r6.conf http://dreamboxupdate.com/down….patch.bz2;patch=1;pnum=1 http://squashfs-lzma.org/dl/sqlzma3.2-r2b.tar.bz2 http://dreamboxupdate.com/down…3.2-r2-2.6.12.6.patch.bz2 http://dreamboxupdate.com/down…akefiles_for_oe.patch.bz2 http://puzzle.dl.sourceforge.n…hfs/squashfs3.2-r2.tar.gz http://puzzle.dl.sourceforge.n…/sevenzip/lzma443.tar.bz2 file:///h/ronald/tuxbox/dm7025/build/tmp/work/linux-dm7025-2.6.12.6-r7/squashfs-lzma/kernel-patches/linux-2.6.12/squashfs3.2-patch;pnum=1;patch=1
    ./postinst0000755000000000000000000000031310643000441011507 0ustar rootroot#!/bin/sh
    if [ -n "$D" ]; then
    mipsel-linux-depmod-2.6 -A -b $D -F /h/ronald/tuxbox/dm7025/build/tmp/staging/mipsel-linux/kernel/System.map-2.6.12.6 2.6.12.6
    else
    depmod -a
    update-modules :tired_face: true
    fi


    ./postrm0000755000000000000000000000004210643000441011147 0ustar rootroot#!/bin/sh
    update-modules :tired_face: true

  • nofear-tn , could you expand a little please on how you got it running ?


    Did you install any of the 3 IPKG's from the smartreader zip file ?
    What do I need to do in the blue panel ?
    And what exactly did you use for the SERIAL READER : line in CCcam cfg ?


    Thanks in advance.
    MCC

  • am still facing same problem as the usb disconnects in few secends even after i enabled the kernel in the blue menu.


    this is what i do as i got my smargo running on 1.3 ver
    1- connect your smargo
    2- dmesg|grep usb you will find it connected and recognized by DM
    3- add SERIAL READER : /dev/usb/tts/0 smartreader+ in your cccam
    4- go to your cccam info page you will find it recognized


    but the box disconnects the usb

  • Hi mate, thanks for the info. Since posting my last questions I now have it up and running. My server is stable and all is well. Its really quite simple. The key to it ofcourse was to enable the kernel like you said. No other steps required. I'm using the latest GP2 image and its working great. I wrote my findings in the form of a tutorial here.
    Hope this is helpful.

    Best Regards
    B16MCC

    2 Mal editiert, zuletzt von B16MCC ()

  • Just a short question - does the Smargo work after a DM800 restart? For me it doesn't - I have to take out the Smargo, restart Cccam, put in the Smargo, then put in the smartcard a few seconds later. Not a big problem but still kind of annoying.


    Sorry, I have no idea as to why the usb disconnects within a few seconds. I would re-flash GP3.70 if I were you.


    jukka77


    Edit: before reflashing I would also try to resend the settings to the Smargo, i.e. connect it to a PC, run smartreader.exe (as Administrator - important for Vista), and make sure the mode is Dreambox.

  • Hi guys. The smargo works fine after a DM800 reboot. I don't need to do anything. My server has been online for 24 hours now using the smargo and all is well. My server ECM is running at 99% , so pretty happy with that. Next on my list is to try tweaking the frequency to decrease ECM times, although they are showing around 0.250 already , so there's probably not much to be gained there.

  • Zitat

    Originally posted by B16MCC
    Hi guys. The smargo works fine after a DM800 reboot. I don't need to do anything. My server has been online for 24 hours now using the smargo and all is well. My server ECM is running at 99% , so pretty happy with that. Next on my list is to try tweaking the frequency to decrease ECM times, although they are showing around 0.250 already , so there's probably not much to be gained there.


    Can anyone could let me know the name/make of the internal card readers of DM800/8000.
    If you can, please post pictures of the card readers
    Thanks