On Sun, 2010-02-07 at 17:40 -0600, Eric Wescott wrote:
>/ >
/>/ > So i2c_new_probed_device() is being called with a bad address list.
/>/ >
/>/ > This can happen when probing for the tuner I2C devices and the .i2c
/>/ > member of the card defintion is not set.  This is exactly the problem
/>/ > with Hans' patch here:
/>/ >
/>/ > http://linuxtv.org/hg/~hverkuil/v4l-dvb-ivtv/rev/a0b04dbb0c0c 
<http://linuxtv.org/hg/%7Ehverkuil/v4l-dvb-ivtv/rev/a0b04dbb0c0c> 
<http://linuxtv.org/hg/%7Ehverkuil/v4l-dvb-ivtv/rev/a0b04dbb0c0c>
/>/ >
/>/ > Using Hans' v4l-dvb-ivtv repository, add a line like:
/>/ >
/>/ >     .i2c = &ivtv_i2c_std,
/>/ >
/>/ > to the card defintion for the Sony Kikyo and please try building and
/>/ > installing that v4l-dvb-ivtv module set again.
/>/ > />/ />/ Okay, I managed to get everything working now and here is how I did it. />/ />/ .video_inputs = {
/>/ { IVTV_CARD_INPUT_VID_TUNER,    2, 1 },
/>/ { ITVT_CARD_INPUT_COMPOSITE1, 3, 1},
/>/ { IVTV_CAD_INPUT_SVIDEO1, 3, 7},
/>/ }
/
Eric,

As I was cleaning this up to be merged into the v4l-dvb tree, I found
these values of "3" are problematic.  That  parameter is an index into
the .audio_input[] portion of the card entry.  But only entries for
indices 0, 1, and 2 are defined.

When tuned to each one of these inputs and sound is working OK, could
you run
$ v4l2-ctl -d /dev/videoN --log-status

and provide the output, so I can see the state of the GPIOs and other
chip settings.


  ivtv0: =================  START STATUS CARD #0  =================
  ivtv0: Version: 1.4.1 Card: Sony Gigapocket (Kikyo)
  ivtv0: GPIO status: DIR=0xc381 OUT=0x0300 IN=0xff00
  saa7115 1-0021: Audio frequency: 48000 Hz
  saa7115 1-0021: Input:           Composite 1
  saa7115 1-0021: Video signal:    bad
  saa7115 1-0021: Frequency:       60 Hz
  saa7115 1-0021: Detected format: NTSC
  saa7115 1-0021: Width, Height:   720, 480
  tuner 1-0060: Tuner mode:      analog TV
  tuner 1-0060: Frequency:       67.25 MHz
  tuner 1-0060: Standard:        0x00001000
  ivtv0: Video Input:  Composite 1
  ivtv0: Audio Input:
  ivtv0: Tuner:  TV
  ivtv0: Stream: MPEG-2 Program Stream
  ivtv0: VBI Format: No VBI
  ivtv0: Video:  720x480, 30 fps
  ivtv0: Video:  MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
  ivtv0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
ivtv0: Audio: 48 kHz, MPEG-1/2 Layer II, 224 kbps, Stereo, No Emphasis, No CRC ivtv0: Spatial Filter: Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
  ivtv0: Temporal Filter: Manual, 8
  ivtv0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
  ivtv0: Status flags:    0x00200000
ivtv0: Stream encoder MPG: status 0x0000, 0% of 4096 KiB (128 buffers) in use ivtv0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (64 buffers) in use ivtv0: Stream encoder VBI: status 0x0000, 0% of 1040 KiB (61 buffers) in use ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 KiB (72 buffers) in use
  ivtv0: Read MPG/VBI: 28217344/0 bytes
  ivtv0: ==================  END STATUS CARD #0  ==================

Thanks again!
Eric

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to