public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Oliver Schinagl <oliver+list@schinagl.nl>
To: Antti Palosaari <crope@iki.fi>
Cc: Bogdan Oprea <bogdaninedit@yahoo.com>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: drivers:media:tuners:fc2580c fix for Asus U3100Mini Plus error while loading driver (-19)
Date: Tue, 02 Jul 2013 22:20:13 +0200	[thread overview]
Message-ID: <51D335FD.7020707@schinagl.nl> (raw)
In-Reply-To: <51D3301D.5070007@iki.fi>

On 07/02/13 21:55, Antti Palosaari wrote:
> On 07/02/2013 10:04 AM, Oliver Schinagl wrote:
>> On 02-07-13 00:37, Antti Palosaari wrote:
>>> On 07/02/2013 12:03 AM, Oliver Schinagl wrote:
>>>> On 07/01/13 22:51, Antti Palosaari wrote:
>>>>> On 07/01/2013 11:39 PM, Oliver Schinagl wrote:
>>>>>> On 07/01/13 15:26, Oliver Schinagl wrote:
>>>>>>> On 01-07-13 15:23, Antti Palosaari wrote:
>>>>>>>> On 07/01/2013 10:52 AM, Oliver Schinagl wrote:
>>>>>>>>> On 01-07-13 08:53, Bogdan Oprea wrote:
>>>>>>>>>> this is a fix for this type of error
>>>>>>>>>>
>>>>>>>>>> [18384.579235] usb 6-5: dvb_usb_v2: 'Asus U3100Mini Plus' error
>>>>>>>>>> while
>>>>>>>>>> loading driver (-19)
>>>>>>>>>> [18384.580621] usb 6-5: dvb_usb_v2: 'Asus U3100Mini Plus'
>>>>>>>>>> successfully
>>>>>>>>>> deinitialized and disconnected
>>>>>>>>>>
>>>>>>>>> This isn't really a fix, I think i mentioned this on the ML ages
>>>>>>>>> ago,
>>>>>>>>
>>>>>>>> Argh, I just replied that same. Oliver, do you has that same
>>>>>>>> device? Is
>>>>>>>> it working? Could you tweak to see if I2C readings are working at
>>>>>>>> all?
>>>>>>> I have the same device, but mine works normally (though I haven't
>>>>>>> checked for ages), I will try it tonight when I'm at home and don't
>>>>>>> forget what happens with my current kernel.
>>>>>>
>>>>>> Hard to test when it 'just works (tm)' :)
>>>>>
>>>>>> The bad firmware wories me, no clue where that error is from, using:
>>>>>> 862604ab3fec0c94f4bf22b4cffd0d89  /lib/firmware/dvb-usb-af9035-02.fw
>>>>>
>>>>> It means firmware is too short or long what is calculated. I added that
>>>>> printing to notify users firmware is broken and could cause problems.
>>>> Ah, good call, it did get me to re-download it. no clue why it was
>>>> broken all of a sudden.
>>>>>
>>>>>
>>>>> I suspect it is same issue what is with MxL5007t tuners too.
>>>>> Maybe that kind of fix is needed:
>>>>> https://patchwork.kernel.org/patch/2418471/
>>>>>
>>>>> Someone should really find out whether or not these are coming with
>>>>> register read operation with REPEATED START of STOP condition. Attach
>>>>> hardware sniffer to device tuner I2C bus and look what kind of messages
>>>>> there is actually.
>>>> Well mine works fine, so hard to say. IF you have a buspirate you should
>>>> be able to intercept the i2c bus ON the device though :) Good luck
>>>> Bogdan, I wish I could help here, but lack the broken hardware.
>>>
>>> I have one AF9035 + FC0012 device having similar problems. Unfortunately
>>> I wasn't able to detect I2C bus to take capture using Bus Pirate.
>> Actually, I have the af9035b (see the picture i uploaded to the wiki)
>>>
>>> There seems to be two revisions of AF9035 chips, AF9035A and AF9035B. I
>>> suspect it is newer B version which has these problems. I also visually
>>> compared to A and B versions and I suspect pinout is different.
>>>
>>> Could you take USB sniffs from that device? Just install sniffer (like
>>> SniffUSB), tune to channel and stop immediately when there is picture.
>>> FC2580 driver does some register reads, so it should be possible to see
>>> what is correct I2C access format by looking sniffs.
>
>> Of my working version? I can try, i'll see if I have time to work with
>> sniffusb, but if I load the driver from linux, won't we already know
>> whats on the USB bus? If you speak of windows, I don't have that.
>
> I wonder if Bogdan could took the sniffs as his device has the problems.
>
> My FC0012 sniffs are useless as FC0012 windows does not any register reads.
>
> Your sniffs could be also handy, better than nothing, even likely
> produce just same logs as Bogdan (I suspect it is issue AF9035A vs AF9035B).
>
>>> Here is few good pictures from my problematic AF9035B + FC0012 device.
>>> If someone could say which are FC0012 I2C pins, I could use Pirate to
>>> check (as that device has same problem).
I don't know what the FC0012 I2C pins are, but don't we know where they 
are on the AF9035B?

I know on the FCI 2580 pin 18 is SCLK, Pin 19 is SDATA and pin 20 is VDD.

My bad camera skills made the image blurry and I don't have a microscope 
(scanner would have been cool though I suppose) but the I2C lines appear 
to enter the af9035b on the 'left' side, if you look at the numbers on 
the far left, '131' and head towards the chip, you see two via's comming 
up and going slightly diagonally up towards the chip. That's the I2C bus 
if i'm not mistaken. SCLK is the top one of the two, SDATA the lower 
one. I know it's hard to see in the image, but still quite possible :)

http://www.linuxtv.org/wiki/images/1/1b/Asus_U3100_Mini_plus_DVB-T_03.JPG

>>> http://blog.palosaari.fi/2013/05/naked-hardware-8-cabletech-urz0185.html
>>>
>>> regards
>>> Antti
>>>
>>
>
> Antti
>


  reply	other threads:[~2013-07-02 20:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1372660460.41879.YahooMailNeo@web162304.mail.bf1.yahoo.com>
2013-07-01  6:53 ` drivers:media:tuners:fc2580c fix for Asus U3100Mini Plus error while loading driver (-19) Bogdan Oprea
2013-07-01  7:52   ` Oliver Schinagl
2013-07-01 13:23     ` Antti Palosaari
2013-07-01 13:26       ` Oliver Schinagl
2013-07-01 13:36         ` Antti Palosaari
2013-07-01 13:55           ` Michael Krufky
2013-07-01 20:39         ` Oliver Schinagl
2013-07-01 20:51           ` Antti Palosaari
2013-07-01 21:03             ` Oliver Schinagl
2013-07-01 22:37               ` Antti Palosaari
2013-07-02  7:04                 ` Oliver Schinagl
2013-07-02 19:55                   ` Antti Palosaari
2013-07-02 20:20                     ` Oliver Schinagl [this message]
2013-07-03 17:05                     ` Bogdan Oprea
2013-07-01 13:21   ` Antti Palosaari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51D335FD.7020707@schinagl.nl \
    --to=oliver+list@schinagl.nl \
    --cc=bogdaninedit@yahoo.com \
    --cc=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox