Re: Stuck Digittrade DVB-T stick (dvb_usb_af9015)

2010-05-17 Thread marc balta
hi,

After the past days there has been no device crash anymore but another problem:

it seems after some time running the device (some hours) tuning takes longer 
and longer until it isnt  possible at all anymore to tune to some channels, 
although signal strength is sufficient: rmmoding and modprobing the driver 
(dvb_usb_af9015) solves the problem and tuning is fast on the same channel 
again.



Greetings,
Marc

--- Antti Palosaari cr...@iki.fi schrieb am Fr, 14.5.2010:

 Von: Antti Palosaari cr...@iki.fi
 Betreff: Re: Stuck Digittrade DVB-T stick (dvb_usb_af9015)
 An: marc balta marc_ba...@yahoo.de
 CC: linux-media@vger.kernel.org
 Datum: Freitag, 14. Mai, 2010 19:16 Uhr
 Terve
 
 On 05/14/2010 02:17 PM, marc balta wrote:
  would be nice because it is happening rather often :
 Every second or third day. Is there a way to reinit the
 device with a script wihtout restarting my server and
 without influencing other usb devices. If yes I could reinit
 the device say two minutes before every recording starts
 using a hook. This would solve my problems.
 
 I just added support for new firmware 5.1.0.0. Please test
 if it helps.
 http://linuxtv.org/hg/~anttip/af9015/
 http://palosaari.fi/linux/v4l-dvb/firmware/af9015/5.1.0.0/
 
 regards
 Antti
 -- http://palosaari.fi/
 


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Stuck Digittrade DVB-T stick (dvb_usb_af9015)

2010-05-14 Thread Antti Palosaari

Terve

On 05/14/2010 02:17 PM, marc balta wrote:

would be nice because it is happening rather often : Every second or third day. 
Is there a way to reinit the device with a script wihtout restarting my server 
and without influencing other usb devices. If yes I could reinit the device say 
two minutes before every recording starts using a hook. This would solve my 
problems.


I just added support for new firmware 5.1.0.0. Please test if it helps.
http://linuxtv.org/hg/~anttip/af9015/
http://palosaari.fi/linux/v4l-dvb/firmware/af9015/5.1.0.0/

regards
Antti
--
http://palosaari.fi/
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Stuck Digittrade DVB-T stick (dvb_usb_af9015)

2010-05-14 Thread marc balta
Thx for responding so fast. Ok I have updated:

May 14 20:11:57 debian kernel: af9013: firmware version:5.1.0
May 14 20:11:57 debian kernel: DVB: registering adapter 0 frontend 0 (Afatech 
AF9013 DVB-T)...
May 14 20:11:57 debian kernel: MT2060: successfully identified (IF1 = 1220)

Now lets wait 3 days ...

Greetings,
Marc


--- Antti Palosaari cr...@iki.fi schrieb am Fr, 14.5.2010:

 Von: Antti Palosaari cr...@iki.fi
 Betreff: Re: Stuck Digittrade DVB-T stick (dvb_usb_af9015)
 An: marc balta marc_ba...@yahoo.de
 CC: linux-media@vger.kernel.org
 Datum: Freitag, 14. Mai, 2010 19:16 Uhr
 Terve
 
 On 05/14/2010 02:17 PM, marc balta wrote:
  would be nice because it is happening rather often :
 Every second or third day. Is there a way to reinit the
 device with a script wihtout restarting my server and
 without influencing other usb devices. If yes I could reinit
 the device say two minutes before every recording starts
 using a hook. This would solve my problems.
 
 I just added support for new firmware 5.1.0.0. Please test
 if it helps.
 http://linuxtv.org/hg/~anttip/af9015/
 http://palosaari.fi/linux/v4l-dvb/firmware/af9015/5.1.0.0/
 
 regards
 Antti
 -- http://palosaari.fi/
 


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Stuck Digittrade DVB-T stick (dvb_usb_af9015)

2010-05-13 Thread Antti Palosaari

Terve Marc,

On 05/13/2010 12:14 AM, marc balta wrote:

* when this happens (stuck device) only a reboot or unplugging the stick
helps. Reloading all dvb modules helps nothing. So the problem might be
the firmware?


Problem : device hangs sometimes. It is known problem and hard to fix 
because it takes so long to reproduce. I have few ideas to test but 
unfortunately I have been too busy... Lets if I can find some time.


regards
Antti
--
http://palosaari.fi/
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Stuck Digittrade DVB-T stick (dvb_usb_af9015)

2010-05-12 Thread marc balta
Hi,

i have problems with my Digittrade (www.digittrade.de) dvb-t stick. I'm 
trying at first to sum up my researches and observings (since im 
researching now two weeks for this problem) and will then enumerate my 
system parameter. This problem is very annoying so I hope you can help 
me. Perhaps there is workaround for instance reseting the stick  somehow 
(see *Observings and Researches).*


*Observings and Researches:*

* im using a mythtv box that runs 24 hours a day. The box uses EItScan 
to retrieve the EPG data.
* every now and then there is a file recorded that is empty. It seems 
that dvb-t stick doesnt tune correctly. There
is however no error reported by mythtv. I have then found on some forums 
that the problem might be triggered by  channels that cannot be received 
very well being scanned by the mythtv EITScanner. It is assumed that the 
driver or firmware stucks then somehow.
* when this happens (stuck device) only a reboot or unplugging the stick 
helps. Reloading all dvb modules helps nothing. So the problem might be 
the firmware?
* sometimes the device gets itself out of this state
* some days ago this happened again. The usb stick came in this state. 
No Live Tv was possible and no recordings could be made. I decided to 
wait and see what happens. Two days later the device was still stuck in 
this state and I observed that this had an impact on the entire system: 
The responsivness was very bad. I pressed a button on the USB keyboard 
and the reaction appeard one or two  seconds later on the screen. I 
tried this also via a ssh connection. It was the same. Then I examined 
the logs. I think that the first show that couldnt be recorded was on 
11th May. Thats the day the I2C read failed reg log messages started.

## /var/log/kern.log: 

May  9 15:38:36 debian kernel: usb 8-2: new high speed USB device using 
ehci_hcd and address 9
May  9 15:38:36 debian kernel: af9015_usb_probe: interface:0
May  9 15:38:36 debian kernel: af9015_read_config: IR mode:1
May  9 15:38:36 debian kernel: af9015_read_config: TS mode:0
May  9 15:38:36 debian kernel: af9015_read_config: [0] xtal:2 set 
adc_clock:28000
May  9 15:38:36 debian kernel: af9015_read_config: [0] IF1:36125
May  9 15:38:36 debian kernel: af9015_read_config: [0] MT2060 IF1:1220
May  9 15:38:36 debian kernel: af9015_read_config: [0] tuner id:130
May  9 15:38:36 debian kernel: af9015_identify_state: reply:01
May  9 15:38:36 debian kernel: dvb-usb: found a 'Afatech AF9015 DVB-T 
USB2.0 stick' in cold state, will try to
load a firmware
May  9 15:38:36 debian kernel: usb 8-2: firmware: requesting 
dvb-usb-af9015.fw
May  9 15:38:36 debian kernel: dvb-usb: downloading firmware from file 
'dvb-usb-af9015.fw'
May  9 15:38:36 debian kernel: af9015_download_firmware:
May  9 15:38:36 debian kernel: dvb-usb: found a 'Afatech AF9015 DVB-T 
USB2.0 stick' in warm state.
May  9 15:38:36 debian kernel: dvb-usb: will pass the complete MPEG2 
transport stream to the software demuxer.
May  9 15:38:36 debian kernel: DVB: registering new adapter (Afatech 
AF9015 DVB-T USB2.0 stick)
May  9 15:38:36 debian kernel: af9015_af9013_frontend_attach: init I2C
May  9 15:38:36 debian kernel: af9015_i2c_init:
May  9 15:38:36 debian kernel: 00: 2c 21 97 0b 00 00 00 00 a4 15 16 90 
00 02 01 02
May  9 15:38:36 debian kernel: 10: 00 80 00 fa fa 10 40 ef 01 30 31 30 
31 30 35 30
May  9 15:38:36 debian kernel: 20: 36 30 39 30 30 30 30 31 ff ff ff ff 
ff ff ff ff
May  9 15:38:36 debian kernel: 30: 00 00 3a 01 00 08 02 00 1d 8d c4 04 
82 ff ff ff
May  9 15:38:36 debian kernel: 40: ff ff ff ff ff 08 02 00 1d 8d c4 04 
82 ff ff ff
May  9 15:38:36 debian kernel: 50: ff ff ff ff ff 24 00 00 04 03 09 04 
10 03 41 00
May  9 15:38:37 debian kernel: 60: 66 00 61 00 74 00 65 00 63 00 68 00 
0c 03 44 00
May  9 15:38:37 debian kernel: 70: 56 00 42 00 2d 00 54 00 20 03 30 00 
31 00 30 00
May  9 15:38:37 debian kernel: 80: 31 00 30 00 31 00 30 00 31 00 30 00 
36 00 30 00
May  9 15:38:37 debian kernel: 90: 30 00 30 00 30 00 31 00 00 ff ff ff 
ff ff ff ff
May  9 15:38:37 debian kernel: a0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
May  9 15:38:37 debian kernel: b0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
May  9 15:38:37 debian kernel: c0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
May  9 15:38:37 debian kernel: d0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
May  9 15:38:37 debian kernel: e0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
May  9 15:38:37 debian kernel: f0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
May  9 15:38:37 debian kernel: af9013: firmware version:4.95.0
May  9 15:38:37 debian kernel: DVB: registering adapter 0 frontend 0 
(Afatech AF9013 DVB-T)...
May  9 15:38:37 debian kernel: af9015_tuner_attach:
May  9 15:38:37 debian kernel: MT2060: successfully identified (IF1 = 1220)
May  9 15:38:37 debian kernel: input: IR-receiver inside an USB DVB 
receiver as /class/input/input62
May  9 15:38:37