Re: [PATCH] support Cinergy HT USB XE (0ccd:0058)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hans, with this configuration it does not work. As I commented it seems that it does not work if GPIO6 is set to 1. If I change to 0 it works fine. Just one comment, GPIO0 for sure is the LED output of my card. :P

Albert

2008/2/17, Hans-Frieder Vogt <hfvogt@xxxxxxx>:
Albert,

I am happy to hear that your TV-card finally works.
However, I am still a bit unsure about these GPIO settings. Initially, I just copied the GPIO-settings from another entry and
then left it because it seemed to work. Now, I have digged a little bit into this issue and found, that under Windows my
STK7700PH-based stick gets the GPIO set in a different way.
Could you please try the following modified stk7700ph_frontend_attach routine (in dib0700_devices.c) and tell me
whether this works for your card as well?


static int stk7700ph_frontend_attach(struct dvb_usb_adapter *adap)

{

        dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1);

        msleep(20);

        dib0700_set_gpio(adap->dev, GPIO9, GPIO_OUT, 1);

        dib0700_set_gpio(adap->dev, GPIO4, GPIO_OUT, 1);
        dib0700_set_gpio(adap->dev, GPIO7, GPIO_OUT, 1);

        dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 0);
        msleep(10);

        dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 1);

        msleep(20);

        dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1);

        msleep(10);


        dib7000p_i2c_enumeration(&adap->dev->i2c_adap, 1, 18, &stk7700ph_dib7700_xc3028_config);

        adap->fe = dvb_attach(dib7000p_attach, &adap->dev->i2c_adap, 0x80,
                                &stk7700ph_dib7700_xc3028_config);

        return adap->fe == NULL ? -ENODEV : 0;
}


By the way, I also experience the same problem with the missing SNR info, on two different dib0700-based USB cards.

Regards,
Hans-Frieder

Am Sonntag, 17. Februar 2008 schrieb Albert Comerma:

> I got it!!!! I remembered that on PCTV DVB-T 72e they had a similar problem,
> which was solved leaving GPIO6 to 0. Doing this the tuning seems to work
> fine. SNR is always reported as 0% but I think this is not a problem, now I
> can scan and tune dvb-t channels. Firmware is 1.10 and xc3028-v27 with that
> modification. Thanks a lot for your help. Next step would be analog.
>
> Albert
>




--

--
Hans-Frieder Vogt                 e-mail:  hfvogt <at> gmx .dot. net

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

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux