Re: Afatech AF9013

2011-08-30 Thread Malcolm Priestley
On Mon, 2011-08-29 at 20:40 +0200, Josu Lazkano wrote: > 2011/8/23 Jason Hecker : > > Damn, this patch didn't help so maybe forget this patch. Tuner A is > > still messed up. > > > > Hello, thanks all to reply this post. I have no idea how to apply the > patch on my Debian Squeeze. Can you help t

Re: Afatech AF9013

2011-08-29 Thread Josu Lazkano
2011/8/23 Jason Hecker : > Damn, this patch didn't help so maybe forget this patch.  Tuner A is > still messed up. > Hello, thanks all to reply this post. I have no idea how to apply the patch on my Debian Squeeze. Can you help to apply the patch? Thanks your all your help. Best regards. -- Jo

Re: [PATCH] Re: Afatech AF9013 [TEST ONLY] AF9015 stream buffer size aligned with max packet size.

2011-08-23 Thread Jason Hecker
> I think what might happening is that TS packets are getting chopped, as > device seems to want > to align to max packet size. Oh, I also noticed that the Linux driver uses a smaller USB packet count than Windows. Is there any discernible reason for this? Lag on DVB isn't an issue for me and p

[PATCH] Re: Afatech AF9013 [TEST ONLY] AF9015 stream buffer size aligned with max packet size.

2011-08-23 Thread Malcolm Priestley
On Tue, 2011-08-23 at 11:47 +1000, Jason Hecker wrote: > Damn, this patch didn't help so maybe forget this patch. Tuner A is > still messed up. Try this patch, applied to the latest media_build. it aligns buffer size to the max packet size instead of TS packet size. I think what might happening

Re: Afatech AF9013

2011-08-22 Thread Jason Hecker
Damn, this patch didn't help so maybe forget this patch. Tuner A is still messed up. -- 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: Afatech AF9013

2011-08-22 Thread Jason Hecker
I might have found one bug so far with the Afa9013 driver. As part of refactoring the code in http://git.linuxtv.org/linux-2.6.git/commitdiff/edb709b61abd3ba475e59d1ad81aab21ad025db6 I think one of the u32->u8 calculations is wrong. The think the second last u32 in the tables has to be changed. H

Re: Afatech AF9013

2011-08-22 Thread Josu Lazkano
2011/8/22 Jason Hecker : > I just tried LiveCDs of Mythbuntu 10.04 and 10.10 but had limited luck > with the former and some joy with the latter.  Unfortunately the > default framebuffer slowed things down.  Anyway in LiveCD 10.10 I used > mplayer to set up and view Tuner A and Tuner B and Tuner A

Re: Afatech AF9013

2011-08-21 Thread Jason Hecker
I just tried LiveCDs of Mythbuntu 10.04 and 10.10 but had limited luck with the former and some joy with the latter. Unfortunately the default framebuffer slowed things down. Anyway in LiveCD 10.10 I used mplayer to set up and view Tuner A and Tuner B and Tuner A only showed some slight errors wh

Re: Afatech AF9013

2011-08-21 Thread Malcolm Priestley
On Sun, 2011-08-21 at 11:51 +1000, Jason Hecker wrote: > I have tried everything imaginable to nail down the problem but can't > seem to fix it. Even "options dvb-usb force_pid_filter_usage=1" seems > to improve the problem somewhat but the errors are still there. I > have tried every firmware f

Re: Afatech AF9013

2011-08-21 Thread Josu Lazkano
Hello again, thanks Jason for your reply. It is interesting to ear that is not just my problem. I add the dual device on a laptop with same kernel 2.6.32. It works well, both tuners working great with no pixeled images. Two weeks ago, I must change my HTPC power supply, a 300W PFC. I had some pr

Re: Afatech AF9013

2011-08-20 Thread Jason Hecker
I have a problem that may be related to the issues on this thread and it's driving me nuts. I have two dual tuner Afatech based cards, they are both Leadtek 2000DS cards, one made by Leadtek and the other branded as KWorld but they are otherwise identical in spite of different VID:PID. On each ca

Re: Afatech AF9013

2011-08-19 Thread Josu Lazkano
2011/8/17 Antti Palosaari : > On 08/17/2011 10:36 AM, Josu Lazkano wrote: >> I don't know how wide is the stream, but it could be a USB wide >> limitation. My board is a little ION based and I have some USB >> devices: >> $ lsusb >> Bus 001 Device 002: ID 1b80:e399 Afatech >> Bus 001 Device 001: ID

Re: Afatech AF9013

2011-08-17 Thread Malcolm Priestley
On Wed, 2011-08-17 at 19:27 +0200, Josu Lazkano wrote: > 2011/8/17 Malcolm Priestley : > > On Wed, 2011-08-17 at 01:23 +0200, Jose Alberto Reguero wrote: > >> On Martes, 16 de Agosto de 2011 22:57:24 Antti Palosaari escribió: > >> > On 08/16/2011 11:27 PM, Jose Alberto Reguero wrote: > >> > >> opti

Re: Afatech AF9013

2011-08-17 Thread Antti Palosaari
On 08/17/2011 10:36 AM, Josu Lazkano wrote: > I don't know how wide is the stream, but it could be a USB wide > limitation. My board is a little ION based and I have some USB > devices: > $ lsusb > Bus 001 Device 002: ID 1b80:e399 Afatech > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root

Re: Afatech AF9013

2011-08-17 Thread Josu Lazkano
2011/8/17 Malcolm Priestley : > On Wed, 2011-08-17 at 01:23 +0200, Jose Alberto Reguero wrote: >> On Martes, 16 de Agosto de 2011 22:57:24 Antti Palosaari escribió: >> > On 08/16/2011 11:27 PM, Jose Alberto Reguero wrote: >> > >> options dvb-usb force_pid_filter_usage=1 >> > >> >> > >> I change the

Re: Afatech AF9013

2011-08-17 Thread Malcolm Priestley
On Wed, 2011-08-17 at 01:23 +0200, Jose Alberto Reguero wrote: > On Martes, 16 de Agosto de 2011 22:57:24 Antti Palosaari escribió: > > On 08/16/2011 11:27 PM, Jose Alberto Reguero wrote: > > >> options dvb-usb force_pid_filter_usage=1 > > >> > > >> I change the signal timeout and tuning timeout a

Re: Afatech AF9013

2011-08-17 Thread Josu Lazkano
2011/8/17 Jose Alberto Reguero : > On Martes, 16 de Agosto de 2011 22:57:24 Antti Palosaari escribió: >> On 08/16/2011 11:27 PM, Jose Alberto Reguero wrote: >> >> options dvb-usb force_pid_filter_usage=1 >> >> >> >> I change the signal timeout and tuning timeout and now it works perfect! >> >> >> >

Re: Afatech AF9013

2011-08-16 Thread Jose Alberto Reguero
On Martes, 16 de Agosto de 2011 22:57:24 Antti Palosaari escribió: > On 08/16/2011 11:27 PM, Jose Alberto Reguero wrote: > >> options dvb-usb force_pid_filter_usage=1 > >> > >> I change the signal timeout and tuning timeout and now it works perfect! > >> > >> I can watch two HD channels, thanks f

Re: Afatech AF9013

2011-08-16 Thread Antti Palosaari
On 08/16/2011 11:27 PM, Jose Alberto Reguero wrote: >> options dvb-usb force_pid_filter_usage=1 >> >> I change the signal timeout and tuning timeout and now it works perfect! >> >> I can watch two HD channels, thanks for your help. >> >> I really don't understand what force_pid_filter_usage do on t

Re: Afatech AF9013

2011-08-16 Thread Jose Alberto Reguero
On Martes, 16 de Agosto de 2011 18:37:49 Josu Lazkano escribió: > Thanks again, I edit /etc/modprobe.d/options.conf > > options dvb_usb_af9015 adapter_nr=4,5 > options dvb-usb disable_rc_polling=1 > options dvb-usb force_pid_filter_usage=1 > > I change the signal timeout and tuning timeout and no

Re: Afatech AF9013

2011-08-16 Thread Josu Lazkano
Thanks again, I edit /etc/modprobe.d/options.conf options dvb_usb_af9015 adapter_nr=4,5 options dvb-usb disable_rc_polling=1 options dvb-usb force_pid_filter_usage=1 I change the signal timeout and tuning timeout and now it works perfect! I can watch two HD channels, thanks for your help. I rea

Re: Afatech AF9013

2011-08-15 Thread Jose Alberto Reguero
On Martes, 16 de Agosto de 2011 00:22:05 Josu Lazkano escribió: > 2011/8/16 Jose Alberto Reguero : > > I have problems with a dual usb tuner. I limit the bandwith using pid > > filters and the problem was gone. > > > > Jose alberto > > > > On Lunes, 15 de Agosto de 2011 15:34:20 Josu Lazkano escr

Re: Afatech AF9013

2011-08-15 Thread Josu Lazkano
2011/8/16 Jose Alberto Reguero : > I have problems with a dual usb tuner. I limit the bandwith using pid filters > and the problem was gone. > > Jose alberto > > On Lunes, 15 de Agosto de 2011 15:34:20 Josu Lazkano escribió: >> Hello, I have a problem with the KWorld USB Dual DVB-T TV Stick (DVB-T

Re: Afatech AF9013

2011-08-15 Thread Jose Alberto Reguero
I have problems with a dual usb tuner. I limit the bandwith using pid filters and the problem was gone. Jose alberto On Lunes, 15 de Agosto de 2011 15:34:20 Josu Lazkano escribió: > Hello, I have a problem with the KWorld USB Dual DVB-T TV Stick (DVB-T > 399U): > http://www.linuxtv.org/wiki/inde

Afatech AF9013

2011-08-15 Thread Josu Lazkano
Hello, I have a problem with the KWorld USB Dual DVB-T TV Stick (DVB-T 399U): http://www.linuxtv.org/wiki/index.php/KWorld_USB_Dual_DVB-T_TV_Stick_(DVB-T_399U) I am using it on MythTV with Debian Squeeze (2.6.32). It is a dual device, sometimes the second adapter works great, but sometimes has a

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-11 Thread Jelle de Jong
Jelle de Jong wrote: > Antti Palosaari wrote: >> Hei Devin and Jelle, >> >> On 07/11/2009 12:12 AM, Antti Palosaari wrote: I'm not the maintainer for this demod, so I'm not the best person to make such a fix. I spent four hours and debugged the issue as a favor to Jelle de Jong since

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-11 Thread Jelle de Jong
Antti Palosaari wrote: > Hei Devin and Jelle, > > On 07/11/2009 12:12 AM, Antti Palosaari wrote: >>> I'm not the maintainer for this demod, so I'm not the best person to >>> make such a fix. I spent four hours and debugged the issue as a favor >>> to Jelle de Jong since he loaned me some hardware

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-10 Thread Antti Palosaari
Hei Devin and Jelle, On 07/11/2009 12:12 AM, Antti Palosaari wrote: I'm not the maintainer for this demod, so I'm not the best person to make such a fix. I spent four hours and debugged the issue as a favor to Jelle de Jong since he loaned me some hardware a couple of months ago. I guess I can m

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-10 Thread Antti Palosaari
On 07/10/2009 06:16 PM, Devin Heitmueller wrote: On Fri, Jul 10, 2009 at 8:09 AM, Antti Palosaari wrote: af9013 is correct in my mind. af9013 will return -EINVAL (error invalid value) in case of first garbage value met (maybe better to switch auto mode when garbage value meet and print debug lo

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-10 Thread Devin Heitmueller
On Fri, Jul 10, 2009 at 11:40 AM, Jelle de Jong wrote: > Antti if you can fix this issue and help in the future to make some > signal strength API for application, like w_scan, you can keep the > Realtek based dvb-t device I sent to you as a gift, some credits for me > in patches would also be nice

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-10 Thread Devin Heitmueller
On Fri, Jul 10, 2009 at 11:40 AM, Jelle de Jong wrote: > Antti if you can fix this issue and help in the future to make some > signal strength API for application, like w_scan, you can keep the > Realtek based dvb-t device I sent to you as a gift, some credits for me > in patches would also be nice

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-10 Thread Jelle de Jong
Devin Heitmueller wrote: > On Fri, Jul 10, 2009 at 8:09 AM, Antti Palosaari wrote: >> af9013 is correct in my mind. af9013 will return -EINVAL (error invalid >> value) in case of first garbage value met (maybe better to switch auto mode >> when garbage value meet and print debug log?). >> >> Of cou

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-10 Thread Devin Heitmueller
On Fri, Jul 10, 2009 at 8:09 AM, Antti Palosaari wrote: > af9013 is correct in my mind. af9013 will return -EINVAL (error invalid > value) in case of first garbage value met (maybe better to switch auto mode > when garbage value meet and print debug log?). > > Of course there should be at least deb

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-10 Thread Antti Palosaari
hei Devin, Thank you for debugging this issue. Devin Heitmueller wrote: Thanks to Jelle providing an environment to debug the issue in, I isolated the problem. This is actually a combination of bugs in mplayer and the af9013 driver not handling the condition as gracefully as some other demods.

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-10 Thread Jelle de Jong
auto mode and disregards > whatever is in the other fields. However, the af9013 looks at each > field, and if any of them are an unrecognized value, the code bails > out in af9013_set_ofdm_params(). As a result, the tuning never > actually happens. > > The behavior should be re

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-09 Thread Devin Heitmueller
On Fri, Jul 3, 2009 at 12:01 PM, Jelle de Jong wrote: > Antti Palosaari wrote: >> On 06/26/2009 11:07 AM, Jelle de Jong wrote: >>> Hi all, >>> >>> Because i now use a new kernel and new mplayer versions I did some >>> testing again on one of my long standing issues. >>> >>> My Afatech AF9015 DVB-T

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-03 Thread Jelle de Jong
Antti Palosaari wrote: > On 06/26/2009 11:07 AM, Jelle de Jong wrote: >> Hi all, >> >> Because i now use a new kernel and new mplayer versions I did some >> testing again on one of my long standing issues. >> >> My Afatech AF9015 DVB-T USB2.0 stick does not work with mplayer, other >> em28xx device

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-02 Thread Antti Palosaari
On 07/02/2009 11:43 AM, Jelle de Jong wrote: Some extra information about the lockups of my AF9015, this is a serious blocker issue for me. It happens when I watch a channel with totem-xine and switch to an other channel, the device is then unable to lock to the new channel, and totem-xine hangs.

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-02 Thread Antti Palosaari
On 06/26/2009 11:07 AM, Jelle de Jong wrote: Hi all, Because i now use a new kernel and new mplayer versions I did some testing again on one of my long standing issues. My Afatech AF9015 DVB-T USB2.0 stick does not work with mplayer, other em28xx devices do work with mplayer. Would somebody be

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-02 Thread Devin Heitmueller
On Thu, Jul 2, 2009 at 4:51 PM, Jelle de Jong wrote: > Devin Heitmueller wrote: >> On Thu, Jul 2, 2009 at 4:43 AM, Jelle de Jong >> wrote: >>> Is there an other USB DVB-T device that works out of the box with the >>> 2.9.30 kernel? Could somebody show me a link or name of this device so I >>> can

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-02 Thread Jelle de Jong
Devin Heitmueller wrote: > On Thu, Jul 2, 2009 at 4:43 AM, Jelle de Jong > wrote: >> Is there an other USB DVB-T device that works out of the box with the >> 2.9.30 kernel? Could somebody show me a link or name of this device so I >> can buy and test it? > > You might want to check out the WinTV-

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-02 Thread Devin Heitmueller
On Thu, Jul 2, 2009 at 4:43 AM, Jelle de Jong wrote: > Is there an other USB DVB-T device that works out of the box with the > 2.9.30 kernel? Could somebody show me a link or name of this device so I > can buy and test it? You might want to check out the WinTV-Ministick, which is both currently av

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-07-02 Thread Jelle de Jong
Jelle de Jong wrote: > Jelle de Jong wrote: >> Hi all, >> >> Because i now use a new kernel and new mplayer versions I did some >> testing again on one of my long standing issues. >> >> My Afatech AF9015 DVB-T USB2.0 stick does not work with mplayer, other >> em28xx devices do work with mplayer. >>

Re: Afatech AF9013 DVB-T not working with mplayer radio streams

2009-06-30 Thread Jelle de Jong
Jelle de Jong wrote: > Hi all, > > Because i now use a new kernel and new mplayer versions I did some > testing again on one of my long standing issues. > > My Afatech AF9015 DVB-T USB2.0 stick does not work with mplayer, other > em28xx devices do work with mplayer. > > Would somebody be willing

Afatech AF9013 DVB-T not working with mplayer radio streams

2009-06-26 Thread Jelle de Jong
AF9015 DVB-T USB2.0 stick' in warm state. [ 1180.029843] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 1180.030323] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick) [ 1180.445189] af9013: firmware version:4.95.0 [ 1180.450068] DVB: registering ad