public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Toth <stoth@linuxtv.org>
To: Amitay Isaacs <amitay@gmail.com>
Cc: Trevor Boon <trevor_boon@yahoo.com>, linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] HVR1200 / HVR1700 / TDA10048 support
Date: Mon, 21 Apr 2008 23:19:52 -0400	[thread overview]
Message-ID: <480D5958.1090504@linuxtv.org> (raw)
In-Reply-To: <75a6c8000804212007m785f6aa0i2804c56a4796feb0@mail.gmail.com>

Amitay Isaacs wrote:
> Hello everyone,
> 
> On Tue, Apr 22, 2008 at 12:12 PM, Steven Toth <stoth@linuxtv.org 
> <mailto:stoth@linuxtv.org>> wrote:
> 
>     hermann pitton wrote:
>      > Hi, Trevor and Amitay,
>      >
>      > Am Dienstag, den 22.04.2008, 07:38 +1000 schrieb Trevor Boon:
>      >> Hi Amitay,
>      >>
>      >> I specified the i2c_scan=1 option in my
>      >> /etc/modprobe.d/saa7134 file and the following
>      >> addresses were returned..
>      >>
>      >> saa7130[0]: i2c scan: found device @ 0xa0  [eeprom]
>      >> saa7130[0]: i2c scan: found device @ 0xc0  [tuner
>      >> (analog)]
>      >>
>      >> Regards,
>      >> Trevor.
>      >>
>      >
>      > the 0x10 >> 1 for the digital demod is in the eeprom, if it follows
>      > usual rules, at least the tuner is correct there.
>      >
>      > Likely there are more possibilities, why the tda10048 does not
>     appear,
>      > powered off for example to safe energy, but since you also had a
>     crash
>      > previously, try a cold boot at first, means wait some time
>     without any
>      > power connected, depending on capacitors of the mobo, but 30 seconds
>      > without any power should be always safe, and then just let it auto
>      > detect card=0 without a tuner again and let i2c_scan=1 enabled
>     one more
>      > time.
>      >
>      > If still the same, you are likely above that basic testing step
>     and can
>      > scratch heads on what doing next.
> 
>     If this doesn't work then you may need to drive a GPIO to being the part
>     out of reset.
> 
>     - Steve
> 
> 
>  
> Here is an update on the tests suggested on the list.
> 
> After a cold restart and with i2c_scan=1 options to saa7134 the output 
> is as follows.
> 
> 
> [ 1638.631715] Linux video capture interface: v2.00
> [ 1638.648219] saa7130/34: v4l2 driver version 0.2.14 loaded
> [ 1638.649371] saa7130[0]: found at 0000:02:09.0, rev: 1, irq: 21, 
> latency: 66, mmio: 0xf9e00000
> [ 1638.649386] saa7130[0]: subsystem: 107d:6655, board: Leadtek Winfast 
> DTV-1000S [card=142,autodetected]
> [ 1638.649406] saa7130[0]: board init: gpio is 222000
> [ 1638.649409] saa7130[0]/core: hwinit1
> [ 1638.798382] saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43 43 
> a9 1c 55 d2 b2 92
> [ 1638.798405] saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798422] saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08 ff 
> 00 8a ff ff ff ff
> [ 1638.798440] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798457] saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff 04 
> ff ff ff ff ff ff
> [ 1638.798474] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798491] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798508] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798524] saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798541] saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798558] saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798575] saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798592] saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798609] saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798626] saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.798643] saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff 
> ff ff ff ff ff ff
> [ 1638.838381] saa7130[0]: i2c scan: found device @ 0xa0  [eeprom]
> [ 1638.846378] saa7130[0]: i2c scan: found device @ 0xc0  [tuner (analog)]
> [ 1638.852943] saa7130[0]/core: hwinit2
> [ 1638.877459] saa7130[0]: registered device video0 [v4l2]
> [ 1638.878602] saa7130[0]: registered device vbi0
> [ 1638.879508] saa7130[0]: registered device radio0
> [ 1638.999695] tda10048: tda10048_attach()
> [ 1638.999705] tda10048: tda10048_readreg(reg = 0x00)
> [ 1638.999883] tda10048_readreg: readreg error (ret == -5)
> [ 1638.999955] saa7130[0]/dvb: frontend initialization failed
> 
> I2C scan reveals only tuner at 0xc0 and no tda10048.
> 
> I guess the next step is to try to drive a GPIO to bring the demod out 
> of reset as suggested by Steve.
> Any suggestions on how to get GPIO addresses?

saa7134-cards.c func saa7134_xc2028_callback(), this is example code 
that toggles the gpio specific for a 2028 tuner on another card, the 
mechanism and registers will be similar to this.

- Steve

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-04-22  3:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.73.1208797403.823.linux-dvb@linuxtv.org>
2008-04-21 21:38 ` [linux-dvb] HVR1200 / HVR1700 / TDA10048 support Trevor Boon
2008-04-21 22:42   ` hermann pitton
2008-04-22  2:12     ` Steven Toth
2008-04-22  3:07       ` Amitay Isaacs
2008-04-22  3:19         ` Steven Toth [this message]
2008-04-21  5:54 Trevor Boon
2008-04-21  8:42 ` Amitay Isaacs
2008-04-21 13:19   ` hermann pitton
  -- strict thread matches above, loose matches on Subject: below --
2008-04-21  3:02 Trevor Boon
2008-04-21  5:10 ` Amitay Isaacs
2008-04-20 21:33 Steven Ellis

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=480D5958.1090504@linuxtv.org \
    --to=stoth@linuxtv.org \
    --cc=amitay@gmail.com \
    --cc=linux-dvb@linuxtv.org \
    --cc=trevor_boon@yahoo.com \
    /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