public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michael Schöller" <michael.schoeller@schoeller-soft.net>
To: anton repko <trcheton@gmail.com>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] Firmware extraction script for Pinnacle PCTV Sat Pro USB
Date: Thu, 19 Jun 2008 22:09:39 +0200	[thread overview]
Message-ID: <485ABD03.7070602@schoeller-soft.net> (raw)
In-Reply-To: <f3acf9620806181146q7a61b792hbcc10c4513845173@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 3101 bytes --]

Well I relay brought up my problem with my 452e...
I just want to ask since 400e and 450e needs firmware...maybe 452e needs 
firmware too (for whatever reason maybe only on ppc architecture) and 
thats my problem? Could that be possible? If yes how to I get firmware 
for 452e and look if that solves my problem?
Well if I look at dmesg after plug in my 452e the last line was:

usbcore: registered new interface driver dvb-usb-tt-connect-s2-3600-01.fw

looks like some firmware is loading maybe thats a wrong one, since I buyed my 452e last month there could be an little change to the hardware so that dvb-usb-tt-connect-s2-3600-01.fw is not workin anymore.
However I have no clue how to extract the firmware the right way so if that could do someone for me I would be very thankful

Michael


anton repko schrieb:
> Hi,
> 2008/6/13 Dominik Kuhlen <dkuhlen@gmx.net <mailto:dkuhlen@gmx.net>>:
>
>     Are you sure that the 450e does need a firmware?
>     I know that the 452e does not.
>
> Yes, the 450e uses firmware of the 400e (the hardware seems to be 
> identical).
>
> As the 400e firmware is rather hard to find, I send complete 
> extraction script for driver found on the Pinnacle site (new version; 
> firmware is the same):
>
> #!/bin/bash
> wget 
> "http://cdn.pinnaclesys.com/SupportFiles/PCTV%20Drivers/PCTV%20400e,%20450e,%20452e/XP32.ZIP"
> cat >XP32.md5 <<!hash!
> ba0bc4d0f84bb9f419e9fbf90ef1ed9f  XP32.ZIP
> !hash!
> md5sum -c XP32.md5
> if [ $? -ne 0 ]; then exit 1; fi
> unzip -j XP32.ZIP XP/pctv4XXe.sys
> # dd if=pctv4XXe.sys of=dvb-ttusb2-a.raw bs=8 skip=22703 count=1392
> # dd if=pctv4XXe.sys of=dvb-ttusb2-b.raw bs=8 skip=24098 count=1408
> dd if=pctv4XXe.sys of=dvb-usb-pctv-400e-01.raw bs=8 skip=25509 count=1315
> # dd if=pctv4XXe.sys of=dvb-ttusb2-c.raw bs=8 skip=26827 count=1232
> # dd if=pctv4XXe.sys of=dvb-ttusb2-d.raw bs=8 skip=28062 count=1326
> # dd if=pctv4XXe.sys of=dvb-ttusb2-e.raw bs=8 skip=29391 count=1378
> dd if=pctv4XXe.sys of=dvb-usb-pctv-450e-01.raw bs=8 skip=30772 count=1323
> # dd if=pctv4XXe.sys of=dvb-usb-pctv-452e-01.raw bs=8 skip=32098 
> count=1375
> cat >convert.c <<!conv!
> #include <stdio.h>
> int main (int argc, char *argv[])
> {
>     FILE *raw, *fw;
>     unsigned char buf[22];
>     int n;
>     raw = fopen (argv[1], "r");
>     fw = fopen (argv[2], "w");
>     while (fread (buf, 1, 22, raw) == 22) {
>         fwrite (buf, 1, 1, fw);
>         n = buf[0];
>         buf[n+5] = 0xff;
>         fwrite (&buf[2], 1, n+4, fw);
>     }
>     fclose (raw);
>     fclose (fw);
>     return 0;
> }
> !conv!
> gcc convert.c -o convert
> for i in *.raw; do
>     j=$(echo $i | sed s/raw/fw/)
>     ./convert $i $j
>     rm $i
> done
> cp dvb-usb-pctv-400e-01.fw /lib/firmware/
> #   uncomment next line to use the 450e firmware
> # cp dvb-usb-pctv-450e-01.fw /lib/firmware/dvb-usb-pctv-400e-01.fw
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[-- Attachment #1.2: Type: text/html, Size: 4439 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

      reply	other threads:[~2008-06-19 20:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-13 12:31 [linux-dvb] Firmware extraction script for Pinnacle PCTV Sat Pro USB anton repko
2008-06-13 14:54 ` Dominik Kuhlen
2008-06-18 18:46   ` anton repko
2008-06-19 20:09     ` Michael Schöller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=485ABD03.7070602@schoeller-soft.net \
    --to=michael.schoeller@schoeller-soft.net \
    --cc=linux-dvb@linuxtv.org \
    --cc=trcheton@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox