* af9015/tda18218: Multiples (separates) usb devices errors/conflicts
[not found] <S1752295Ab1IWUja/20110923203930Z+74@vger.kernel.org>
@ 2011-09-23 21:06 ` Jin Kazama
2011-09-23 22:06 ` Antti Palosaari
0 siblings, 1 reply; 4+ messages in thread
From: Jin Kazama @ 2011-09-23 21:06 UTC (permalink / raw)
To: linux-media
Hello,
I've been testing af9015/tda18218 based usb DVB-T tuners on a 2.6.39.4
kernel with the latest v4l drivers avaiable (from git).
When I'm using a single USB module, (listed as /dev/dvb/adapter0),
everything works fine.
When I'm plugging another module, at first it looks like everything's
ok (/dev/dvb/adapter1) and if I try to use this module while the
adapter0 is not been used, it works - but if try to use both modules at
the same time, I get garbage output on both cards (error: warning:
discontinuity for PID... with dvblast on both cards.
Does anyone have any idea on how to fix this problem?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: af9015/tda18218: Multiples (separates) usb devices errors/conflicts
2011-09-23 21:06 ` af9015/tda18218: Multiples (separates) usb devices errors/conflicts Jin Kazama
@ 2011-09-23 22:06 ` Antti Palosaari
2011-09-24 18:47 ` Jin Kazama
0 siblings, 1 reply; 4+ messages in thread
From: Antti Palosaari @ 2011-09-23 22:06 UTC (permalink / raw)
To: Jin Kazama; +Cc: linux-media
On 09/24/2011 12:06 AM, Jin Kazama wrote:
> Hello,
> I've been testing af9015/tda18218 based usb DVB-T tuners on a 2.6.39.4
> kernel with the latest v4l drivers avaiable (from git).
> When I'm using a single USB module, (listed as /dev/dvb/adapter0),
> everything works fine.
> When I'm plugging another module, at first it looks like everything's ok
> (/dev/dvb/adapter1) and if I try to use this module while the adapter0
> is not been used, it works - but if try to use both modules at the same
> time, I get garbage output on both cards (error: warning: discontinuity
> for PID... with dvblast on both cards.
> Does anyone have any idea on how to fix this problem?
Feel free to fix it. I am too busy currently.
Antti
--
http://palosaari.fi/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: af9015/tda18218: Multiples (separates) usb devices errors/conflicts
2011-09-23 22:06 ` Antti Palosaari
@ 2011-09-24 18:47 ` Jin Kazama
2011-09-25 17:30 ` Josu Lazkano
0 siblings, 1 reply; 4+ messages in thread
From: Jin Kazama @ 2011-09-24 18:47 UTC (permalink / raw)
To: linux-media
On 9/24/11 12:06 AM, Antti Palosaari wrote:
> On 09/24/2011 12:06 AM, Jin Kazama wrote:
>> Hello,
>> I've been testing af9015/tda18218 based usb DVB-T tuners on a 2.6.39.4
>> kernel with the latest v4l drivers avaiable (from git).
>> When I'm using a single USB module, (listed as /dev/dvb/adapter0),
>> everything works fine.
>> When I'm plugging another module, at first it looks like everything's ok
>> (/dev/dvb/adapter1) and if I try to use this module while the adapter0
>> is not been used, it works - but if try to use both modules at the same
>> time, I get garbage output on both cards (error: warning: discontinuity
>> for PID... with dvblast on both cards.
>> Does anyone have any idea on how to fix this problem?
>
> Feel free to fix it. I am too busy currently.
>
Well, it looks like if I put 2 devices on different USB buses (on the
same machine), they work fine, but if they're on the same USB bus, I get
the problem...
I think the driver may get raw data from the USB bus - and the way it
identifies the device is not the proper way (I have 2 exactly identical
devices) => when both devices send data, the driver catches all the data
from the bus, which is a corrupt mix of both streams...)
Unfortunately, I don't think that I'm capable of fixing the problem by
myself, I don't even know which part of the driver to look for... if
someone can give me a hint, I might *try* to *attempt* to fix it :)...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: af9015/tda18218: Multiples (separates) usb devices errors/conflicts
2011-09-24 18:47 ` Jin Kazama
@ 2011-09-25 17:30 ` Josu Lazkano
0 siblings, 0 replies; 4+ messages in thread
From: Josu Lazkano @ 2011-09-25 17:30 UTC (permalink / raw)
To: Jin Kazama; +Cc: linux-media
2011/9/24 Jin Kazama <jin.ml@skynet.fr>:
> On 9/24/11 12:06 AM, Antti Palosaari wrote:
>>
>> On 09/24/2011 12:06 AM, Jin Kazama wrote:
>>>
>>> Hello,
>>> I've been testing af9015/tda18218 based usb DVB-T tuners on a 2.6.39.4
>>> kernel with the latest v4l drivers avaiable (from git).
>>> When I'm using a single USB module, (listed as /dev/dvb/adapter0),
>>> everything works fine.
>>> When I'm plugging another module, at first it looks like everything's ok
>>> (/dev/dvb/adapter1) and if I try to use this module while the adapter0
>>> is not been used, it works - but if try to use both modules at the same
>>> time, I get garbage output on both cards (error: warning: discontinuity
>>> for PID... with dvblast on both cards.
>>> Does anyone have any idea on how to fix this problem?
>>
>> Feel free to fix it. I am too busy currently.
>>
> Well, it looks like if I put 2 devices on different USB buses (on the same
> machine), they work fine, but if they're on the same USB bus, I get the
> problem...
> I think the driver may get raw data from the USB bus - and the way it
> identifies the device is not the proper way (I have 2 exactly identical
> devices) => when both devices send data, the driver catches all the data
> from the bus, which is a corrupt mix of both streams...)
> Unfortunately, I don't think that I'm capable of fixing the problem by
> myself, I don't even know which part of the driver to look for... if someone
> can give me a hint, I might *try* to *attempt* to fix it :)...
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Hello, I have similar problem, I have a dual tuner and they don't work together:
# i2cdetect -l
i2c-0 smbus SMBus nForce2 adapter at 4d00 SMBus adapter
i2c-1 i2c cx23885[0] I2C adapter
i2c-2 i2c cx23885[0] I2C adapter
i2c-3 i2c cx23885[0] I2C adapter
i2c-4 i2c NVIDIA i2c adapter 0 at 3:00.0 I2C adapter
i2c-5 i2c NVIDIA i2c adapter 2 at 3:00.0 I2C adapter
i2c-6 i2c NVIDIA i2c adapter 3 at 3:00.0 I2C adapter
i2c-7 i2c KWorld PlusTV Dual DVB-T Stick (DVB-T 399U) I2C adapter
i2c-8 i2c KWorld PlusTV Dual DVB-T Stick (DVB-T 399U) I2C adapter
I can not change the USB bus, because they are on the same physical
device.I have no idea how to fix it but I am ready to test all fixes.
I read some Antti posts on how to is designed the af9015 dual demod:
http://www.mail-archive.com/linux-media@vger.kernel.org/msg36821.html
http://palosaari.fi/linux/v4l-dvb/controlling_tuner_af9015_dual_demod.txt
Is there any tool to check the i2c errors?
Thanks for all your work and best regards.
--
Josu Lazkano
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-25 17:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <S1752295Ab1IWUja/20110923203930Z+74@vger.kernel.org>
2011-09-23 21:06 ` af9015/tda18218: Multiples (separates) usb devices errors/conflicts Jin Kazama
2011-09-23 22:06 ` Antti Palosaari
2011-09-24 18:47 ` Jin Kazama
2011-09-25 17:30 ` Josu Lazkano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox