From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.kapsi.fi ([217.30.184.167]:55784 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910AbaBZPeu (ORCPT ); Wed, 26 Feb 2014 10:34:50 -0500 Message-ID: <530E0997.30404@iki.fi> Date: Wed, 26 Feb 2014 17:34:47 +0200 From: Antti Palosaari MIME-Version: 1.0 To: kapetr@mizera.cz, linux-media@vger.kernel.org Subject: Re: video from USB DVB-T get damaged after some time (it9135) References: <52F50E0B.1060507@mizera.cz> <52F56971.8060104@iki.fi> <52F6429E.6070704@mizera.cz> <1391872102.3386.10.camel@canaries32-MCP7A> <52F678DC.2040307@mizera.cz> <1391891765.2408.13.camel@canaries32-MCP7A> <52F6CEFC.3020307@iki.fi> <52F70A9F.50200@iki.fi> <52F88BED.8010003@mizera.cz> <52F88F25.5000906@iki.fi> <53074F5F.9030704@mizera.cz> <530DED3D.7000706@iki.fi> <530E03CD.9040107@mizera.cz> In-Reply-To: <530E03CD.9040107@mizera.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On 26.02.2014 17:10, kapetr@mizera.cz wrote: > > > Dne 26.2.2014 14:33, Antti Palosaari napsal(a): >> Moikka! >> >> On 21.02.2014 15:06, kapetr@mizera.cz wrote: >>> Hello, >>> >>> == Antti: >>> >>> May I ask, if you have the same one stick? >>> Does it work without problems ? >> >> I don't have just similar stick, but I tested 1-2 sticks having that >> same chipset. No problems at all. >> >>> >>> == everybody: >>> >>> I have final tested it under W-XP SP2 with orig drivers and SW. >>> It goes into problems after some time too, BUT there is a difference: It >>> is able to "recover" from it itself and it plays again (for some time). >>> >>> As I wrote - it happens quicker and more frequently on TV channels with >>> lower/worse signal. That is why I thing that tuner will lose "tuned" >>> status to exact freq. >>> Would be not possible to solve this (to re-tune) in driver ? It seems, >>> that in W-XP is something like that in drivers. >> >> >> I am pretty sure problem is RF-tuner. It warms and goes off from >> frequency a little, which causes signal level drop. As signal goes >> weaken, from a point of demodulator, it starts getting decoding errors. >> >> Retune fixes things for a while as tuner is calibrated each time when >> tuning is done. If you wait a little longer, demod will lose signal LOCK >> and retune is issued - as what happens on windows driver too. >> >> It is possible to add some early re-tune logic to demod driver, but it >> does not sound very wise for single problematic device. Also better >> approach could be to issue tuner calibration on 5 minute intervals or >> so. I am not sure if calibrating tuner is possible at runtime, but it >> should be easy to test. > > Thats the Problem - I do not know, how to do it without breaking > recording. Can You give me a Tip ? > Which command to "recalibrate" ? Tzap breaks it. Check the function: it9137_set_params and it913x_init. You have to do a little bit testing here. Like set a timer which calls those routines once in 5 min or so. regards Antti > >> >> Anyhow, I am not going to waste any time for workaround this strange >> issue. You are simply only one having it :) Just get new similar stick >> and hope it works better. > > Of course, I understand. Thanks anyway. > >> >> >> regards >> Antti >> >> > > --kapetr > >> >>> >>> >>> Regards >>> >>> --kapetr >>> >>> >>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >>> >>> Hello, >>> >>> it is this one: >>> http://www.buyincoins.com/item/30948.html >>> >>> I shop there often - lowest prices of all China e-shops I have found. >>> BTW: if you want try the shop - by registry/first buy give my nick >>> "jipan0" as referrer. You will get 5% off :-) >>> >>> --kapetr >>> >>> >>> Dne 10.2.2014 09:34, Antti Palosaari napsal(a): >>>> Moi! >>>> >>>> On 10.02.2014 10:21, kapetr@mizera.cz wrote: >>>>> Hello, >>>>> >>>>> I have test FW version 12.10.04.1 >>>>> (FYI dmesg changes follows) >>>>> >>>>> The problem without change. >>>>> >>>>> I did want to test the DVB-T stick under Windows XP, but in VirtualBox >>>>> works the tuner not at all - I get just jerky sound, no video. >>>>> But there is older driver (12.7.6.11) - but don't thing the problem is >>>>> there - rather in VBOX. >>>>> And no free partition to test. >>>> >>>> >>>> OK, thank for the testing anyway. >>>> I have few different it9135 devices. Could you find some picture of >>>> yours, I would like to test myself if I had same device. >>>> >>>> regards >>>> Antti >>>> >>>> >>>> >>>> >>>>> >>>>> Regards. >>>>> >>>>> kapetr >>>>> >>>>> >>>>> ----------- old from >>>>> https://raw.github.com/torvalds/linux/master/Documentation/dvb/get_dvb_firmware >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> [ 21.546241] usb 1-1.3: dvb_usb_af9035: prechip_version=83 >>>>> chip_version=02 chip_type=9135 >>>>> [ 21.546613] usb 1-1.3: dvb_usb_v2: found a 'ITE 9135 Generic' in >>>>> cold >>>>> state >>>>> [ 21.563582] usb 1-1.3: dvb_usb_v2: downloading firmware from file >>>>> 'dvb-usb-it9135-02.fw' >>>>> [ 21.594974] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro >>>>> [ 21.659449] usb 1-1.3: dvb_usb_af9035: firmware version=3.39.1.0 >>>>> [ 21.659456] usb 1-1.3: dvb_usb_v2: found a 'ITE 9135 Generic' in >>>>> warm >>>>> state >>>>> [ 21.660358] usb 1-1.3: dvb_usb_v2: will pass the complete MPEG2 >>>>> transport stream to the software demuxer >>>>> [ 21.660375] DVB: registering new adapter (ITE 9135 Generic) >>>>> [ 21.750565] i2c i2c-16: af9033: firmware version: LINK=0.0.0.0 >>>>> OFDM=3.9.1.0 >>>>> [ 21.750570] usb 1-1.3: DVB: registering adapter 0 frontend 0 >>>>> (Afatech >>>>> AF9033 (DVB-T))... >>>>> [ 22.064646] i2c i2c-16: tuner_it913x: ITE Tech IT913X successfully >>>>> attached >>>>> [ 22.099994] Registered IR keymap rc-it913x-v1 >>>>> [ 22.100068] input: ITE 9135 Generic as >>>>> /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/rc/rc0/input14 >>>>> [ 22.100103] rc0: ITE 9135 Generic as >>>>> /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/rc/rc0 >>>>> [ 22.100106] usb 1-1.3: dvb_usb_v2: schedule remote query >>>>> interval to >>>>> 500 msecs >>>>> [ 22.100109] usb 1-1.3: dvb_usb_v2: 'ITE 9135 Generic' successfully >>>>> initialized and connected >>>>> [ 22.100123] usbcore: registered new interface driver dvb_usb_af9035 >>>>> >>>>> ---------------new from >>>>> http://palosaari.fi/linux/v4l-dvb/firmware/IT9135/12.10.04.1/IT9135v2_3.42.3.3_3.29.3.3/ >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Feb 9 15:00:54 zly-hugo kernel: [12732.520617] usb 1-1.3: >>>>> dvb_usb_af9035: prechip_version=83 chip_version=02 chip_type=9135 >>>>> Feb 9 15:00:54 zly-hugo kernel: [12732.520988] usb 1-1.3: dvb_usb_v2: >>>>> found a 'ITE 9135 Generic' in cold state >>>>> Feb 9 15:00:54 zly-hugo kernel: [12732.522267] usb 1-1.3: dvb_usb_v2: >>>>> downloading firmware from file 'dvb-usb-it9135-02.fw' >>>>> Feb 9 15:00:54 zly-hugo kernel: [12732.626497] usb 1-1.3: >>>>> dvb_usb_af9035: firmware version=3.42.3.3 >>>>> Feb 9 15:00:54 zly-hugo kernel: [12732.626509] usb 1-1.3: dvb_usb_v2: >>>>> found a 'ITE 9135 Generic' in warm state >>>>> Feb 9 15:00:54 zly-hugo kernel: [12732.627381] usb 1-1.3: dvb_usb_v2: >>>>> will pass the complete MPEG2 transport stream to the software demuxer >>>>> Feb 9 15:00:54 zly-hugo kernel: [12732.627405] DVB: registering new >>>>> adapter (ITE 9135 Generic) >>>>> Feb 9 15:00:54 zly-hugo kernel: [12732.631208] i2c i2c-16: af9033: >>>>> firmware version: LINK=0.0.0.0 OFDM=3.29.3.3 >>>>> Feb 9 15:00:54 zly-hugo kernel: [12732.631215] usb 1-1.3: DVB: >>>>> registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))... >>>>> Feb 9 15:00:54 zly-hugo kernel: [12732.631328] i2c i2c-16: >>>>> tuner_it913x: ITE Tech IT913X successfully attached >>>>> -------------- >>>>> >>>>> >>>>> >>>>> >>>>> Dne 9.2.2014 05:57, Antti Palosaari napsal(a): >>>>>> On 09.02.2014 02:42, Antti Palosaari wrote: >>>>>>> Moikka! >>>>>>> I am going to extract new firmware. I dumped init tables out from >>>>>>> Windows driver version 12.07.06.1. Is there any newer? >>>>>>> >>>>>>> regards >>>>>>> Antti >>>>>>> >>>>>> >>>>>> I extracted firmwares from Windows driver 12.10.04.1. Didn't find >>>>>> newer >>>>>> driver... >>>>>> >>>>>> http://blog.palosaari.fi/2014/02/linux-it9135-driver-firmwares.html >>>>>> >>>>>> regards >>>>>> Antti >>>>>> >>>> >>>> >> >> -- http://palosaari.fi/